public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/54885] New: [4.8 Regression] lto bootstrap broken with -O3
@ 2012-10-10  9:41 markus at trippelsdorf dot de
  2012-10-10  9:46 ` [Bug lto/54885] " markus at trippelsdorf dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: markus at trippelsdorf dot de @ 2012-10-10  9:41 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54885

             Bug #: 54885
           Summary: [4.8 Regression] lto bootstrap broken with -O3
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


gcc gets apparently miscompiled in the last stage of lto/profiledbootstrap with
-O3:

Starting program: /var/tmp/gcc_build_dir/prev-gcc/xgcc
-B/var/tmp/gcc_build_dir/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/
-B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include
-isystem /usr/x86_64-pc-linux-gnu/sys-include -march=native -O3 -pipe -O2
-march=native -O3 -pipe -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fpic -mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -fpic -mlong-double-80 -I. -I. -I../.././gcc
-I/home/markus/gcc/libgcc -I/home/markus/gcc/libgcc/.
-I/home/markus/gcc/libgcc/../gcc -I/home/markus/gcc/libgcc/../include
-I/home/markus/gcc/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep
-DL_lshrdi3 -c /home/markus/gcc/libgcc/libgcc2.c -fvisibility=hidden
-DHIDE_EXPORTS
[New process 21128]
process 21128 is executing new program: /var/tmp/gcc_build_dir/gcc/cc1

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 21128]
0x0000000000667771 in execute_rtl_cprop() [clone .1175139.18174] ()
(gdb) bt
#0  0x0000000000667771 in execute_rtl_cprop() [clone .1175139.18174] ()
#1  0x00000000004eb407 in execute_one_pass(opt_pass*) ()
#2  0x00000000004eb635 in execute_pass_list(opt_pass*) ()
#3  0x00000000004eb652 in execute_pass_list(opt_pass*) ()
#4  0x00000000004c122f in expand_function(cgraph_node*) [clone .181127.59333]
()
#5  0x00000000004c2c5e in compile() ()
#6  0x00000000004c30ed in finalize_compilation_unit() ()
#7  0x0000000000509c86 in c_write_global_declarations() ()
#8  0x00000000004c3199 in compile_file() [clone .657622] ()
#9  0x00000000004ef1fc in toplev_main(int, char**) ()
#10 0x00007ffff7773635 in __libc_start_main () from /lib/libc.so.6
#11 0x00000000004b35a9 in _start () at ../sysdeps/x86_64/start.S:123


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-19 16:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-10  9:41 [Bug lto/54885] New: [4.8 Regression] lto bootstrap broken with -O3 markus at trippelsdorf dot de
2012-10-10  9:46 ` [Bug lto/54885] " markus at trippelsdorf dot de
2012-10-10  9:55 ` rguenth at gcc dot gnu.org
2012-10-10  9:55 ` markus at trippelsdorf dot de
2012-10-10 14:01 ` [Bug lto/54885] [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
2012-10-13 11:53 ` [Bug middle-end/54885] " steven at gcc dot gnu.org
2012-10-19 16:24 ` markus at trippelsdorf dot de

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).