[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code
--- Comment #5 from pcarlini at suse dot de 2007-12-01 13:54 --- Unassigning, likely other can fix it much easily than me -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|pcarlini at suse dot de |unassigned at gcc dot gnu ||dot org Status|ASSIGNED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31260
[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code
--- Comment #4 from pcarlini at suse dot de 2007-09-20 10:21 --- On it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31260
[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code
--- Comment #2 from reichelt at gcc dot gnu dot org 2007-04-08 23:15 --- Btw, the bug appeared in GCC 4.0.2. The code compiles with GCC 4.0.1 or earlier. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Keywords||monitored Known to fail||4.0.2 4.0.4 4.1.0 4.1.2 ||4.2.0 4.3.0 Known to work||3.3.6 3.4.0 3.4.6 4.0.0 ||4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31260
[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code
--- Comment #3 from reichelt at gcc dot gnu dot org 2007-04-09 00:38 --- Mark, this appeared with your patch for PR 23789: 2005-09-12 Mark Mitchell [EMAIL PROTECTED] PR c++/23789 * cvt.c (perform_qualification_conversions): Don't create unnecessary NOP_EXPRs. * pt.c (tsubst_template_arg): Use fold_non_dependent_expr. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||mark at codesourcery dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31260
[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31260
[Bug c++/31260] [4.1/4.2/4.3 Regression] ICE: segmentation fault with template code
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-19 09:26 --- It seems like this can be made into valid code and still ICE. The valid code is: templateclass T1 struct S1 { templatebool T2 struct S2; templatetemplatebool class T3 struct S3 { templatetypename T4=S3S2 struct S4 {}; struct S5 : S4 { }; }; }; - Note if I change how S5 is declared using a specific template argument instead of , the crash goes away in that the follow compiles just fine: templateclass T1 struct S1 { templatebool T2 struct S2; templatetemplatebool class T3 struct S3 { templatetypename T4=S3S2 struct S4 {}; struct S5 : S4S3S2{ }; }; }; -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||ice-on-invalid-code, ice-on- ||valid-code Last reconfirmed|-00-00 00:00:00 |2007-03-19 09:26:55 date|| Summary|ICE: segmentation fault on |[4.1/4.2/4.3 Regression] |invalid code|ICE: segmentation fault with ||template code Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31260