This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31038] [4.1/4.2/4.3 regression] ICE with C99 style compound literal vs templates vs instiaiontion
- 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: 4 Mar 2007 22:14:28 -0000
- Subject: [Bug c++/31038] [4.1/4.2/4.3 regression] ICE with C99 style compound literal vs templates vs instiaiontion
- References: <bug-31038-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-04 22:14 -------
#8 0x0017dc54 in cp_parser_initializer_clause (parser=0x434e1dc0,
non_constant_p=0xbffff039 "") at ../../gcc/cp/parser.c:12954
12954 initializer = fold_non_dependent_expr (initializer);
And fold_non_dependent_expr sets processing_template_decl to false.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31038