[Bug c++/28255] [4.1/4.2 regression] ICE with C99 compund literal (scalar), initializer and templates

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 22 20:26:00 GMT 2006



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-08-22 20:26 -------
(In reply to comment #4)
> It seems we've never really handled compound-literals properly within
> templates.  This doesn't seem like a regression.

Yes this is PR 28766.

The ICE part is a regression or at least that is what I remember being, in that
we should not change an rejects-valid into an ICE.


-- 


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



More information about the Gcc-bugs mailing list