------- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-20 15:20 ------- 4.1 ICEs after the same error 4.2 rejects the code with, 4.3 ICEs again after the error. 4.4 doesn't error but ICEs in build_base_path, at cp/class.c:272.
Waiting to have someone confirm the validity of the testcase. For now make it ICE-on-invalid (error-recovery only for < 4.4, for 4.4 eventually accepts-invalid) as we never accepted the code before. As usual splitting such bugs if we have different behavior/regressions on different GCC versions would make classification easier ... -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at redhat dot com Status|UNCONFIRMED |WAITING Keywords|ice-on-valid-code |error-recovery, ice-on- | |invalid-code Priority|P2 |P4 Summary|[4.2/4.3/4.4 regression] ICE|[4.2/4.3/4.4 Regression] ICE |with transparent union |with transparent union http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36410