public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
@ 2010-08-17 23:31 zsojka at seznam dot cz
2010-08-17 23:32 ` [Bug c++/45315] " zsojka at seznam dot cz
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-08-17 23:31 UTC (permalink / raw)
To: gcc-bugs
Compiler output:
$ gcc testcase.C
testcase.C: In member function 'void B<<anonymous> >::foo()':
testcase.C:10:18: internal compiler error: tree check: expected aggr_init_expr,
have call_expr in build_value_init, at cp/init.c:317
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r163261 - crash
4.5 r160526 - crash
4.4 r160770 - crash
4.4 r149995 - crash
--
Summary: ICE: tree check: expected aggr_init_expr, have call_expr
in build_value_init, at cp/init.c:317
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
@ 2010-08-17 23:32 ` zsojka at seznam dot cz
2010-08-18 0:49 ` [Bug c++/45315] [4.4/4.5/4.6 Regression] " hjl dot tools at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-08-17 23:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-08-17 23:32 -------
Created an attachment (id=21509)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21509&action=view)
reduced testcase
I believe the code is valid
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
2010-08-17 23:32 ` [Bug c++/45315] " zsojka at seznam dot cz
@ 2010-08-18 0:49 ` hjl dot tools at gmail dot com
2010-08-18 3:31 ` hjl dot tools at gmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-18 0:49 UTC (permalink / raw)
To: gcc-bugs
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-08-18 00:49:20
date| |
Summary|ICE: tree check: expected |[4.4/4.5/4.6 Regression]
|aggr_init_expr, have |ICE: tree check: expected
|call_expr in |aggr_init_expr, have
|build_value_init, at |call_expr in
|cp/init.c:317 |build_value_init, at
| |cp/init.c:317
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
2010-08-17 23:32 ` [Bug c++/45315] " zsojka at seznam dot cz
2010-08-18 0:49 ` [Bug c++/45315] [4.4/4.5/4.6 Regression] " hjl dot tools at gmail dot com
@ 2010-08-18 3:31 ` hjl dot tools at gmail dot com
2010-08-18 9:13 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-18 3:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2010-08-18 03:31 -------
It is caused by revision 144044:
http://gcc.gnu.org/ml/gcc-cvs/2009-02/msg00210.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-08-18 3:31 ` hjl dot tools at gmail dot com
@ 2010-08-18 9:13 ` rguenth at gcc dot gnu dot org
2010-08-18 22:41 ` jason at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-18 9:13 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-08-18 9:13 ` rguenth at gcc dot gnu dot org
@ 2010-08-18 22:41 ` jason at gcc dot gnu dot org
2010-08-19 17:01 ` jason at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-08-18 22:41 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2010-08-18 00:49:20 |2010-08-18 22:41:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-08-18 22:41 ` jason at gcc dot gnu dot org
@ 2010-08-19 17:01 ` jason at gcc dot gnu dot org
2010-08-21 6:27 ` jason at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-08-19 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jason at gcc dot gnu dot org 2010-08-19 17:01 -------
Subject: Bug 45315
Author: jason
Date: Thu Aug 19 17:01:01 2010
New Revision: 163381
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163381
Log:
PR c++/45315
* init.c (build_new_1): Don't use build_value_init in a template.
(build_value_init): Make sure we don't.
Added:
trunk/gcc/testsuite/g++.dg/init/value8.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
` (5 preceding siblings ...)
2010-08-19 17:01 ` jason at gcc dot gnu dot org
@ 2010-08-21 6:27 ` jason at gcc dot gnu dot org
2010-08-21 14:22 ` hjl dot tools at gmail dot com
2010-08-23 6:40 ` jason at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-08-21 6:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jason at gcc dot gnu dot org 2010-08-21 06:27 -------
Fixed.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
` (6 preceding siblings ...)
2010-08-21 6:27 ` jason at gcc dot gnu dot org
@ 2010-08-21 14:22 ` hjl dot tools at gmail dot com
2010-08-23 6:40 ` jason at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-21 14:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl dot tools at gmail dot com 2010-08-21 14:22 -------
Is this safe to backport it to gcc 4.5/4.4?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
` (7 preceding siblings ...)
2010-08-21 14:22 ` hjl dot tools at gmail dot com
@ 2010-08-23 6:40 ` jason at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-08-23 6:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jason at gcc dot gnu dot org 2010-08-23 06:40 -------
Subject: Bug 45315
Author: jason
Date: Mon Aug 23 06:39:42 2010
New Revision: 163466
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163466
Log:
PR c++/45315
* init.c (build_new_1): Don't use build_value_init in a template.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/init/value8.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/init.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-08-23 6:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 23:31 [Bug c++/45315] New: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 zsojka at seznam dot cz
2010-08-17 23:32 ` [Bug c++/45315] " zsojka at seznam dot cz
2010-08-18 0:49 ` [Bug c++/45315] [4.4/4.5/4.6 Regression] " hjl dot tools at gmail dot com
2010-08-18 3:31 ` hjl dot tools at gmail dot com
2010-08-18 9:13 ` rguenth at gcc dot gnu dot org
2010-08-18 22:41 ` jason at gcc dot gnu dot org
2010-08-19 17:01 ` jason at gcc dot gnu dot org
2010-08-21 6:27 ` jason at gcc dot gnu dot org
2010-08-21 14:22 ` hjl dot tools at gmail dot com
2010-08-23 6:40 ` jason at gcc dot gnu dot 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).