public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value
@ 2011-09-10 21:58 doko at gcc dot gnu.org
2011-09-21 13:05 ` [Bug target/50350] " bernds at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: doko at gcc dot gnu.org @ 2011-09-10 21:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
Bug #: 50350
Summary: [4.6 Regression] ICE (segfault) in
canonicalize_float_value
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: doko@gcc.gnu.org
Created attachment 25237
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25237
preprocessed source
seen with r178746 on the 4.6 branch, not seen with r178501.
/home/doko/gcc/gcc-4.6-4.6.1/build/./gcc/xgcc
-B/home/doko/gcc/gcc-4.6-4.6.1/build/./gcc/ -B/usr/ia64-linux-gnu/bin/
-B/usr/ia64-linux-gnu/lib/ -isystem /usr/ia64-linux-gnu/include -isystem
/usr/ia64-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC
-DUSE_LIBUNWIND_EXCEPTIONS -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -DUSE_GAS_SYMVER -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. -I../.././gcc
-I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc
-I../../../src/libgcc/../include -DHAVE_CC_TLS -o __trampoline.o -MT
__trampoline.o -MD -MP -MF __trampoline.dep -DL__trampoline
-xassembler-with-cpp \
-c ../../../src/libgcc/../gcc/config/ia64/lib1funcs.asm -include
__trampoline.vis
/home/doko/gcc/gcc-4.6-4.6.1/build/./gcc/xgcc
-B/home/doko/gcc/gcc-4.6-4.6.1/build/./gcc/ -B/usr/ia64-linux-gnu/bin/
-B/usr/ia64-linux-gnu/lib/ -isystem /usr/ia64-linux-gnu/include -isystem
/usr/ia64-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC
-DUSE_LIBUNWIND_EXCEPTIONS -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -DUSE_GAS_SYMVER -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. -I../.././gcc
-I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc
-I../../../src/libgcc/../include -DHAVE_CC_TLS -o _lshrdi3.o -MT _lshrdi3.o
-MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c ../../../src/libgcc/../gcc/libgcc2.c \
-fvisibility=hidden -DHIDE_EXPORTS
../../../src/libgcc/../gcc/libgcc2.c: In function '__lshrti3':
../../../src/libgcc/../gcc/libgcc2.c:404:1: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
make[5]: *** [_lshrdi3.o] Error 1
make[5]: Leaving directory
`/home/doko/gcc/gcc-4.6-4.6.1/build/ia64-linux-gnu/libgcc'
make[4]: *** [all-stage2-target-libgcc] Error 2
make[4]: Leaving directory `/home/doko/gcc/gcc-4.6-4.6.1/build'
make[3]: *** [stage2-bubble] Error 2
make[3]: Leaving directory `/home/doko/gcc/gcc-4.6-4.6.1/build'
make[2]: *** [bootstrap-lean] Error 2
Program received signal SIGSEGV, Segmentation fault.
0x40000000008567c1 in canonicalize_float_value ()
(gdb) bt
#0 0x40000000008567c1 in canonicalize_float_value ()
#1 0x4000000000856ff0 in set_lattice_value ()
#2 0x4000000000863040 in visit_assignment ()
#3 0x400000000091f9e0 in simulate_stmt ()
#4 0x4000000000921930 in ssa_propagate ()
#5 0x40000000008598b0 in do_ssa_ccp ()
#6 0x40000000005c6c20 in execute_one_pass ()
#7 0x40000000005c7490 in execute_pass_list ()
#8 0x40000000005c74e0 in execute_pass_list ()
#9 0x40000000007ef930 in tree_rest_of_compilation ()
#10 0x4000000000adc870 in cgraph_expand_function ()
#11 0x4000000000ae1300 in cgraph_optimize ()
#12 0x4000000000ae22a0 in cgraph_finalize_compilation_unit ()
#13 0x40000000000ca3f0 in c_write_global_declarations ()
#14 0x4000000000749ad0 in toplev_main ()
#15 0x400000000009bdf0 in main ()
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
@ 2011-09-21 13:05 ` bernds at gcc dot gnu.org
2011-09-29 13:17 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bernds at gcc dot gnu.org @ 2011-09-21 13:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
Bernd Schmidt <bernds at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernds at gcc dot gnu.org
--- Comment #1 from Bernd Schmidt <bernds at gcc dot gnu.org> 2011-09-21 12:44:09 UTC ---
Almost certainly a dup of 50326.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
2011-09-21 13:05 ` [Bug target/50350] " bernds at gcc dot gnu.org
@ 2011-09-29 13:17 ` rguenth at gcc dot gnu.org
2011-10-12 18:23 ` sje at cup dot hp.com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-09-29 13:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.2
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
2011-09-21 13:05 ` [Bug target/50350] " bernds at gcc dot gnu.org
2011-09-29 13:17 ` rguenth at gcc dot gnu.org
@ 2011-10-12 18:23 ` sje at cup dot hp.com
2011-10-12 19:17 ` doko at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: sje at cup dot hp.com @ 2011-10-12 18:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
Steve Ellcey <sje at cup dot hp.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp.com
--- Comment #2 from Steve Ellcey <sje at cup dot hp.com> 2011-10-12 18:23:28 UTC ---
It looks like PR50326 is fixed so this should be fixed too if it really
a duplicate. Matthias, do you still see this problem?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
` (2 preceding siblings ...)
2011-10-12 18:23 ` sje at cup dot hp.com
@ 2011-10-12 19:17 ` doko at gcc dot gnu.org
2011-10-13 6:22 ` doko at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: doko at gcc dot gnu.org @ 2011-10-12 19:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> 2011-10-12 19:16:01 UTC ---
I'll check, however I don't see the fix for 50326 applied to the 4.6 branch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
` (3 preceding siblings ...)
2011-10-12 19:17 ` doko at gcc dot gnu.org
@ 2011-10-13 6:22 ` doko at gcc dot gnu.org
2011-10-18 9:19 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: doko at gcc dot gnu.org @ 2011-10-13 6:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
--- Comment #4 from Matthias Klose <doko at gcc dot gnu.org> 2011-10-13 06:21:36 UTC ---
still seen on the 4.6 branch with 20111012
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
` (4 preceding siblings ...)
2011-10-13 6:22 ` doko at gcc dot gnu.org
@ 2011-10-18 9:19 ` jakub at gcc dot gnu.org
2011-10-18 11:46 ` doko at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-18 9:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-18 09:19:08 UTC ---
Created attachment 25538
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25538
gcc46-pr50350.patch
I couldn't reproduce it with a x86_64-linux -> ia64-linux cross, that said, the
patch was easy to backport.
Could you please quickly verify if it fixes it?
So far I've bootstrapped/regtested it on x86_64-linux and i686-linux.
I'd like to roll gcc-4.6.2-rc1 later today or tomorrow, so the sooner you could
verify it the better.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
` (5 preceding siblings ...)
2011-10-18 9:19 ` jakub at gcc dot gnu.org
@ 2011-10-18 11:46 ` doko at gcc dot gnu.org
2011-10-19 8:47 ` jakub at gcc dot gnu.org
2011-10-19 9:05 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: doko at gcc dot gnu.org @ 2011-10-18 11:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
--- Comment #6 from Matthias Klose <doko at gcc dot gnu.org> 2011-10-18 11:44:57 UTC ---
the proposed patch lets the build succeed
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
` (6 preceding siblings ...)
2011-10-18 11:46 ` doko at gcc dot gnu.org
@ 2011-10-19 8:47 ` jakub at gcc dot gnu.org
2011-10-19 9:05 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-19 8:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-19 08:46:11 UTC ---
Author: jakub
Date: Wed Oct 19 08:45:45 2011
New Revision: 180179
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180179
Log:
PR target/50350
Backport from mainline
2011-09-27 Richard Sandiford <rdsandiford@googlemail.com>
PR middle-end/50386
PR middle-end/50326
* tree-sra.c (build_ref_for_model): Use the type of the field as
the type of the COMPONENT_REF.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/tree-sra.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/50350] [4.6 Regression] ICE (segfault) in canonicalize_float_value
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
` (7 preceding siblings ...)
2011-10-19 8:47 ` jakub at gcc dot gnu.org
@ 2011-10-19 9:05 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-19 9:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50350
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |FIXED
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-19 09:03:23 UTC ---
Hopefully fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-10-19 9:05 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-10 21:58 [Bug target/50350] New: [4.6 Regression] ICE (segfault) in canonicalize_float_value doko at gcc dot gnu.org
2011-09-21 13:05 ` [Bug target/50350] " bernds at gcc dot gnu.org
2011-09-29 13:17 ` rguenth at gcc dot gnu.org
2011-10-12 18:23 ` sje at cup dot hp.com
2011-10-12 19:17 ` doko at gcc dot gnu.org
2011-10-13 6:22 ` doko at gcc dot gnu.org
2011-10-18 9:19 ` jakub at gcc dot gnu.org
2011-10-18 11:46 ` doko at gcc dot gnu.org
2011-10-19 8:47 ` jakub at gcc dot gnu.org
2011-10-19 9:05 ` jakub 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).