public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr
@ 2010-12-12 12:27 rubidium at openttd dot org
2010-12-12 12:33 ` [Bug c++/46903] [4.6 Regression][C++0x] " paolo.carlini at oracle dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: rubidium at openttd dot org @ 2010-12-12 12:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
Summary: [C++0x] ICE unexpected expression of kind
template_id_expr
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rubidium@openttd.org
Created attachment 22723
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22723
Test case, compile with C++0x.
The attached test case fails with an ICE:
test.ii:6:18: internal compiler error: unexpected expression ‘CreateA<A>’ of
kind template_id_expr
Using: g++-trunk -std=gnu++0x test.ii
With g++-trunk (GCC) 4.6.0 20101211 (experimental) (revision 167723)
It compiles fine with gcc 4.5.1, 4.4.5 and 4.3.5.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46903] [4.6 Regression][C++0x] ICE unexpected expression of kind template_id_expr
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
@ 2010-12-12 12:33 ` paolo.carlini at oracle dot com
2011-01-03 20:56 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-12-12 12:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.12.12 12:33:44
CC| |jason at gcc dot gnu.org
Target Milestone|--- |4.6.0
Summary|[C++0x] ICE unexpected |[4.6 Regression][C++0x] ICE
|expression of kind |unexpected expression of
|template_id_expr |kind template_id_expr
Ever Confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-12-12 12:33:44 UTC ---
Looks like a regression.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46903] [4.6 Regression][C++0x] ICE unexpected expression of kind template_id_expr
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
2010-12-12 12:33 ` [Bug c++/46903] [4.6 Regression][C++0x] " paolo.carlini at oracle dot com
@ 2011-01-03 20:56 ` rguenth at gcc dot gnu.org
2011-01-13 5:23 ` jason at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-03 20:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46903] [4.6 Regression][C++0x] ICE unexpected expression of kind template_id_expr
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
2010-12-12 12:33 ` [Bug c++/46903] [4.6 Regression][C++0x] " paolo.carlini at oracle dot com
2011-01-03 20:56 ` rguenth at gcc dot gnu.org
@ 2011-01-13 5:23 ` jason at gcc dot gnu.org
2011-01-14 13:20 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-01-13 5:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-01-13 00:45:59 UTC ---
Mine.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46903] [4.6 Regression][C++0x] ICE unexpected expression of kind template_id_expr
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
` (2 preceding siblings ...)
2011-01-13 5:23 ` jason at gcc dot gnu.org
@ 2011-01-14 13:20 ` jason at gcc dot gnu.org
2011-01-14 13:42 ` paolo.carlini at oracle dot com
2011-01-15 0:12 ` jason at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-01-14 13:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-01-14 13:08:16 UTC ---
Author: jason
Date: Fri Jan 14 13:08:11 2011
New Revision: 168783
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168783
Log:
PR c++/46903
* typeck2.c (check_narrowing): Only check arithmetic types.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-regress1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46903] [4.6 Regression][C++0x] ICE unexpected expression of kind template_id_expr
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
` (3 preceding siblings ...)
2011-01-14 13:20 ` jason at gcc dot gnu.org
@ 2011-01-14 13:42 ` paolo.carlini at oracle dot com
2011-01-15 0:12 ` jason at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-01-14 13:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-14 13:33:54 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46903] [4.6 Regression][C++0x] ICE unexpected expression of kind template_id_expr
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
` (4 preceding siblings ...)
2011-01-14 13:42 ` paolo.carlini at oracle dot com
@ 2011-01-15 0:12 ` jason at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-01-15 0:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-01-14 23:55:12 UTC ---
*** Bug 47020 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-01-14 23:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
2010-12-12 12:33 ` [Bug c++/46903] [4.6 Regression][C++0x] " paolo.carlini at oracle dot com
2011-01-03 20:56 ` rguenth at gcc dot gnu.org
2011-01-13 5:23 ` jason at gcc dot gnu.org
2011-01-14 13:20 ` jason at gcc dot gnu.org
2011-01-14 13:42 ` paolo.carlini at oracle dot com
2011-01-15 0:12 ` jason at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).