public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50812] New: libbid build fails with ICE on bid128_div.c
@ 2011-10-20 15:24 fxcoudert at gcc dot gnu.org
2011-10-20 15:25 ` [Bug bootstrap/50812] " fxcoudert at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-10-20 15:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50812
Bug #: 50812
Summary: libbid build fails with ICE on bid128_div.c
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: build, ice-on-valid-code
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: fxcoudert@gcc.gnu.org
Host: x86_64-apple-darwin11
Target: i586-pc-mingw32
Build: x86_64-apple-darwin11
Created attachment 25561
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25561
Preprocessed source triggering the ICE
Building a cross-compiler to i586-pc-mingw32 fails with an ICE while compiling
libgcc, or more precisely, libbid's bid128_div.c:
../../../../gcc/trunk/libgcc/config/libbid/bid128_div.c:1851:1: internal
compiler error: in inline_small_functions, at ipa-inline.c:1407
The cross-compiler is configured with: ../../gcc/trunk/configure
--prefix=/Users/fx/devel/mingw/cross --target=i586-pc-mingw32 --disable-werror
--with-gmp=/Users/fx/devel/gcc/deps-static/x86_64 --enable-languages=c,fortran
The backtrace of the ICE is:
#0 fancy_abort (file=0x100aae258 "../../../gcc/trunk/gcc/ipa-inline.c",
line=1407, function=0x100aae9a0 "inline_small_functions") at diagnostic.c:897
#1 0x000000010056dd1a in ipa_inline () at ipa-inline.c:1407
#2 0x0000000100617f17 in execute_one_pass (pass=0x100aae258) at passes.c:2064
#3 0x0000000100618a7c in execute_ipa_pass_list (pass=0x100aae258) at
passes.c:2431
#4 0x000000010035f89c in ipa_passes [inlined] () at
/Users/fx/devel/gcc/trunk/gcc/cgraphunit.c:2061
#5 0x000000010035f89c in cgraph_optimize () at cgraphunit.c:2116
#6 0x000000010036099f in cgraph_finalize_compilation_unit () at
cgraphunit.c:1312
#7 0x00000001000157d8 in c_write_global_declarations () at c-decl.c:9940
#8 0x00000001006db701 in do_compile [inlined] () at
/Users/fx/devel/gcc/trunk/gcc/toplev.c:581
I attach the preprocessed source. The bug is triggered consistently at -O1 and
higher optimization. It can be reproduced simply with "cc1 -O bid128_div.i"
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/50812] libbid build fails with ICE on bid128_div.c
2011-10-20 15:24 [Bug bootstrap/50812] New: libbid build fails with ICE on bid128_div.c fxcoudert at gcc dot gnu.org
@ 2011-10-20 15:25 ` fxcoudert at gcc dot gnu.org
2011-10-20 15:31 ` dominiq at lps dot ens.fr
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-10-20 15:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50812
--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-10-20 15:25:20 UTC ---
I should have added that I am using trunk revision 180247.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/50812] libbid build fails with ICE on bid128_div.c
2011-10-20 15:24 [Bug bootstrap/50812] New: libbid build fails with ICE on bid128_div.c fxcoudert at gcc dot gnu.org
2011-10-20 15:25 ` [Bug bootstrap/50812] " fxcoudert at gcc dot gnu.org
@ 2011-10-20 15:31 ` dominiq at lps dot ens.fr
2011-10-20 20:26 ` fxcoudert at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-10-20 15:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50812
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-10-20
Ever Confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-10-20 15:30:34 UTC ---
There is numerous bootstrap failures between revisions 180241 (OK) and 180248
with this ICE (see http://gcc.gnu.org/ml/gcc-regression/2011-10/) .
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/50812] libbid build fails with ICE on bid128_div.c
2011-10-20 15:24 [Bug bootstrap/50812] New: libbid build fails with ICE on bid128_div.c fxcoudert at gcc dot gnu.org
2011-10-20 15:25 ` [Bug bootstrap/50812] " fxcoudert at gcc dot gnu.org
2011-10-20 15:31 ` dominiq at lps dot ens.fr
@ 2011-10-20 20:26 ` fxcoudert at gcc dot gnu.org
2011-10-20 20:50 ` dominiq at lps dot ens.fr
2011-10-21 12:36 ` fxcoudert at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-10-20 20:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50812
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jh at suse dot cz
--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-10-20 20:25:44 UTC ---
So it's not mingw-specific, it's a full i686/x86_64 bootstrap failure.
This seems due to either of these two patches:
2011-10-19 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (inline_small_functions): Always update all calles after
inlining.
2011-10-19 Jan Hubicka <jh@suse.cz>
PR bootstrap/50709
* ipa-inline.c (inline_small_functions): Fix checking code to not make
effect on fibheap stability.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/50812] libbid build fails with ICE on bid128_div.c
2011-10-20 15:24 [Bug bootstrap/50812] New: libbid build fails with ICE on bid128_div.c fxcoudert at gcc dot gnu.org
` (2 preceding siblings ...)
2011-10-20 20:26 ` fxcoudert at gcc dot gnu.org
@ 2011-10-20 20:50 ` dominiq at lps dot ens.fr
2011-10-21 12:36 ` fxcoudert at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-10-20 20:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50812
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-10-20 20:50:16 UTC ---
AFAICT this is now fixed (probably r180249):
Author: hubicka
Date: Thu Oct 20 12:18:56 2011 UTC (8 hours, 29 minutes ago)
Changed paths: 2
Log Message:
* ipa-inline.c (inline_small_functions): Always update all calles after
inlining.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/50812] libbid build fails with ICE on bid128_div.c
2011-10-20 15:24 [Bug bootstrap/50812] New: libbid build fails with ICE on bid128_div.c fxcoudert at gcc dot gnu.org
` (3 preceding siblings ...)
2011-10-20 20:50 ` dominiq at lps dot ens.fr
@ 2011-10-21 12:36 ` fxcoudert at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-10-21 12:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50812
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-10-21 12:36:25 UTC ---
Fixed indeed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-10-21 12:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-20 15:24 [Bug bootstrap/50812] New: libbid build fails with ICE on bid128_div.c fxcoudert at gcc dot gnu.org
2011-10-20 15:25 ` [Bug bootstrap/50812] " fxcoudert at gcc dot gnu.org
2011-10-20 15:31 ` dominiq at lps dot ens.fr
2011-10-20 20:26 ` fxcoudert at gcc dot gnu.org
2011-10-20 20:50 ` dominiq at lps dot ens.fr
2011-10-21 12:36 ` fxcoudert 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).