This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name


------- Additional Comments From giovannibajo at libero dot it  2004-02-25 02:38 -------
Well, basically I can see an ICE on invalid with this:

-----------------------------
struct A {};

template <typename> struct C
{
    typedef A::template INVALID<void> X;
};
-----------------------------

The ice-on-valid would disappear if the underlying rejects-valid were fixed.

I keep forgetting that a TEMPLATE_ID_EXPR is just a syntactic tree. Caused by 
my patch, I'll fix this as soon as I am done with the 3.4 regressions.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |giovannibajo at libero dot
                   |dot org                     |it
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.5.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-25 02:38:09
               date|                            |
   Target Milestone|3.5.0                       |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14283


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]