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++/34573] [4.3 Regression] ICE with nested class in template



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-12-25 23:40 -------
Reduced testcase:
template < class Gtr_>
void compute_gr()
{
  typedef int Less_chain;
  struct utils {
    utils(const Less_chain& lc)  {};
  };
  utils U(1);
}
int main(void){
  compute_gr<int>();
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |blocker
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|i386-apple-darwin8.11.1     |
 GCC target triplet|                            |i386-apple-darwin8.11.1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-25 23:40:53
               date|                            |
            Summary|ICE with nested class       |[4.3 Regression] ICE with
                   |                            |nested class in template
   Target Milestone|---                         |4.3.0


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


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