This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28255] [4.1/4.2 regression] ICE with C99 compund literal (scalar), initializer and templates
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Aug 2006 20:26:24 -0000
- Subject: [Bug c++/28255] [4.1/4.2 regression] ICE with C99 compund literal (scalar), initializer and templates
- References: <bug-28255-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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