public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/51765] New: Testsuite ICEs with -flto
@ 2012-01-05 14:52 rguenth at gcc dot gnu.org
2012-01-05 15:16 ` [Bug lto/51765] " rguenth at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-05 14:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51765
Bug #: 51765
Summary: Testsuite ICEs with -flto
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rguenth@gcc.gnu.org
Created attachment 26251
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26251
full testsuite summary
Currently we ICE compiling the following tests on x86_64 when running the
testsuite with RUNTESTFLAGS="--target_board=unix/-flto"
FAIL: g++.dg/tm/pr45940-3.C -std=gnu++98 (internal compiler error)
FAIL: g++.dg/tm/pr45940-3.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/tm/pr45940-3.C -std=gnu++11 (internal compiler error)
FAIL: g++.dg/tm/pr45940-3.C -std=gnu++11 (test for excess errors)
FAIL: g++.dg/tm/pr45940-4.C -std=gnu++98 (internal compiler error)
FAIL: g++.dg/tm/pr45940-4.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/tm/pr45940-4.C -std=gnu++11 (internal compiler error)
FAIL: g++.dg/tm/pr45940-4.C -std=gnu++11 (test for excess errors)
FAIL: gcc.dg/O16384.c (internal compiler error)
FAIL: gcc.dg/O16384.c (test for excess errors)
FAIL: gcc.dg/pr37106-1.c (internal compiler error)
FAIL: gcc.dg/pr37106-1.c (test for excess errors)
FAIL: gcc.dg/pr43562.c (internal compiler error)
FAIL: gcc.dg/pr43562.c (test for excess errors)
FAIL: gcc.dg/pr43564.c (internal compiler error)
FAIL: gcc.dg/pr43564.c (test for excess errors)
FAIL: gcc.target/i386/funcspec-9.c (internal compiler error)
FAIL: gcc.target/i386/funcspec-9.c (test for excess errors)
FAIL: gcc.target/i386/opt-1.c (internal compiler error)
FAIL: gcc.target/i386/opt-1.c (test for excess errors)
FAIL: gcc.target/i386/opt-2.c (internal compiler error)
FAIL: gcc.target/i386/opt-2.c (test for excess errors)
FAIL: gfortran.dg/alloc_comp_assign_2.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_assign_2.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_assign_3.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_assign_3.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_assign_4.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_assign_4.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_auto_array_2.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_auto_array_2.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_bounds_1.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_bounds_1.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_constructor_1.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_constructor_1.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_constructor_2.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_constructor_2.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_constructor_3.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_constructor_3.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/alloc_comp_constructor_4.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/alloc_comp_constructor_4.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/class_array_7.f03 -O0 (internal compiler error)
FAIL: gfortran.dg/class_array_7.f03 -O0 (test for excess errors)
FAIL: gfortran.dg/class_array_7.f03 -O1 (internal compiler error)
FAIL: gfortran.dg/class_array_7.f03 -O1 (test for excess errors)
...
FAIL: gfortran.dg/class_to_type_1.f03 -O0 (internal compiler error)
FAIL: gfortran.dg/class_to_type_1.f03 -O0 (test for excess errors)
...
FAIL: gfortran.dg/extends_4.f03 -O0 (internal compiler error)
FAIL: gfortran.dg/extends_4.f03 -O0 (test for excess errors)
FAIL: gfortran.dg/pr43808.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/pr43808.f90 -O0 (test for excess errors)
...
FAIL: gfortran.dg/type_to_class_1.f03 -O0 (internal compiler error)
FAIL: gfortran.dg/type_to_class_1.f03 -O0 (test for excess errors)
...
FAIL: gnat.dg/aggr1.adb (internal compiler error)
FAIL: gnat.dg/aggr1.adb (test for excess errors)
I didn't check whether any of them are regressions. If so, please create
individual bugs for them.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/51765] Testsuite ICEs with -flto
2012-01-05 14:52 [Bug lto/51765] New: Testsuite ICEs with -flto rguenth at gcc dot gnu.org
@ 2012-01-05 15:16 ` rguenth at gcc dot gnu.org
2012-02-02 1:58 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-05 15:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51765
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-05
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-05 15:15:46 UTC ---
All C ICEs are due to us not supporting the 'optimization_node' trees
(PR50490).
The C++ ICEs are all TM and
/space/rguenther/src/svn/trunk/gcc/testsuite/g++.dg/tm/pr45940-3.C:69:1:
internal compiler error: in write_symbol, at lto-streamer-out.c:1333^M
The gfortran ICEs are all GIMPLE IL verification ICEs with regarding to
structure compatibility (thus, TYPE_CANONICAL mismatches). Two kinds
can be observed:
/space/rguenther/src/svn/trunk/gcc/testsuite/gfortran.dg/alloc_comp_assign_2.f90:7:0:
error: non-trivial conversion at assignment^M
struct array1_integer(kind=4)^M
struct array1_integer(kind=4)^M
a.68.i = parm.70;^M
and
/space/rguenther/src/svn/trunk/gcc/testsuite/gfortran.dg/class_array_7.f03: In
function 'main':^M
/space/rguenther/src/svn/trunk/gcc/testsuite/gfortran.dg/class_array_7.f03:49:0:
internal compiler error: in fold_convert_loc, at fold-const.c:2016^M
The single Ada ICE is
/space/rguenther/src/svn/trunk/gcc/testsuite/gnat.dg/aggr1.adb: In function
'aggr1':^M
/space/rguenther/src/svn/trunk/gcc/testsuite/gnat.dg/aggr1.adb:3:1: error: type
mismatch in array reference^M
struct aggr1__graph_table_t___PAD^M
^M
struct aggr1__graph_table_t___PAD^M
^M
VIEW_CONVERT_EXPR<struct aggr1__T30b>(graph_table[1]{lb: 1 sz: 59956}.F).active
= 0;^M
^M
and two more similar ones.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/51765] Testsuite ICEs with -flto
2012-01-05 14:52 [Bug lto/51765] New: Testsuite ICEs with -flto rguenth at gcc dot gnu.org
2012-01-05 15:16 ` [Bug lto/51765] " rguenth at gcc dot gnu.org
@ 2012-02-02 1:58 ` pinskia at gcc dot gnu.org
2012-02-02 11:46 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-02 1:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51765
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 01:57:18 UTC ---
What is the status of this bug now?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/51765] Testsuite ICEs with -flto
2012-01-05 14:52 [Bug lto/51765] New: Testsuite ICEs with -flto rguenth at gcc dot gnu.org
2012-01-05 15:16 ` [Bug lto/51765] " rguenth at gcc dot gnu.org
2012-02-02 1:58 ` pinskia at gcc dot gnu.org
@ 2012-02-02 11:46 ` rguenth at gcc dot gnu.org
2012-03-26 14:06 ` hubicka at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-02 11:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51765
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-02 11:46:10 UTC ---
+FAIL: g++.dg/cpp0x/variadic-init.C (internal compiler error)
-FAIL: g++.dg/tm/pr45940-3.C -std=gnu++98 (internal compiler error)
-FAIL: g++.dg/tm/pr45940-3.C -std=gnu++11 (internal compiler error)
-FAIL: g++.dg/tm/pr45940-4.C -std=gnu++98 (internal compiler error)
-FAIL: g++.dg/tm/pr45940-4.C -std=gnu++11 (internal compiler error)
-FAIL: gcc.dg/O16384.c (internal compiler error)
-FAIL: gcc.dg/pr37106-1.c (internal compiler error)
-FAIL: gcc.dg/pr43562.c (internal compiler error)
-FAIL: gcc.dg/pr43564.c (internal compiler error)
-FAIL: gcc.target/i386/funcspec-9.c (internal compiler error)
-FAIL: gcc.target/i386/opt-1.c (internal compiler error)
-FAIL: gcc.target/i386/opt-2.c (internal compiler error)
So, TM and C ICEs are gone, one new C++ ICE appears:
lto1: internal compiler error: in lto_output_varpool_node, at
lto-cgraph.c:595^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <http://gcc.gnu.org/bugs.html> for instructions.^M
The fortran ICEs prevail.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/51765] Testsuite ICEs with -flto
2012-01-05 14:52 [Bug lto/51765] New: Testsuite ICEs with -flto rguenth at gcc dot gnu.org
` (2 preceding siblings ...)
2012-02-02 11:46 ` rguenth at gcc dot gnu.org
@ 2012-03-26 14:06 ` hubicka at gcc dot gnu.org
2012-04-09 23:39 ` hubicka at gcc dot gnu.org
2021-08-26 0:47 ` [Bug lto/51765] [9/10 Regression] " pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-03-26 14:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51765
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |hubicka at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |hubicka at gcc dot gnu.org
|gnu.org |
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/51765] Testsuite ICEs with -flto
2012-01-05 14:52 [Bug lto/51765] New: Testsuite ICEs with -flto rguenth at gcc dot gnu.org
` (3 preceding siblings ...)
2012-03-26 14:06 ` hubicka at gcc dot gnu.org
@ 2012-04-09 23:39 ` hubicka at gcc dot gnu.org
2021-08-26 0:47 ` [Bug lto/51765] [9/10 Regression] " pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-04-09 23:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51765
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-04-09 23:39:16 UTC ---
Author: hubicka
Date: Mon Apr 9 23:39:11 2012
New Revision: 186252
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186252
Log:
PR lto/52722
PR lto/51765
PR lto/52634
* lto-cgraph.c (compute_ltrans_boundary): When alias is in the boundary,
add its target too.
* lto.c (add_references_to_partition): Add also aliased nodes.
(add_cgraph_node_to_partition,
add_varpool_node_to_partition): Work on nodes, not functions/variables;
when adding alias, add also the aliased object.
* gcc.dg/lto/pr52634_1.c: New testcase.
* gcc.dg/lto/pr52634_0.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/lto/pr52634_0.c
trunk/gcc/testsuite/gcc.dg/lto/pr52634_1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-cgraph.c
trunk/gcc/lto/lto.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/51765] [9/10 Regression] Testsuite ICEs with -flto
2012-01-05 14:52 [Bug lto/51765] New: Testsuite ICEs with -flto rguenth at gcc dot gnu.org
` (4 preceding siblings ...)
2012-04-09 23:39 ` hubicka at gcc dot gnu.org
@ 2021-08-26 0:47 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-26 0:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51765
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #8)
> ... which I forgot to attach :)
> FAIL: gcc.dg/nested-func-12.c (internal compiler error)
> FAIL: gcc.dg/nested-func-9.c (internal compiler error)
This is PR 87499.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-08-26 0:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-05 14:52 [Bug lto/51765] New: Testsuite ICEs with -flto rguenth at gcc dot gnu.org
2012-01-05 15:16 ` [Bug lto/51765] " rguenth at gcc dot gnu.org
2012-02-02 1:58 ` pinskia at gcc dot gnu.org
2012-02-02 11:46 ` rguenth at gcc dot gnu.org
2012-03-26 14:06 ` hubicka at gcc dot gnu.org
2012-04-09 23:39 ` hubicka at gcc dot gnu.org
2021-08-26 0:47 ` [Bug lto/51765] [9/10 Regression] " pinskia 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).