public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/52045] New: [4.7 Regression] ICE: in execute_todo, at passes.c:1748 with -O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce and stpcpy_chk()
@ 2012-01-29 19:11 zsojka at seznam dot cz
  2012-01-30  4:16 ` [Bug middle-end/52045] " jakub at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2012-01-29 19:11 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52045
           Summary: [4.7 Regression] ICE: in execute_todo, at
                    passes.c:1748 with -O3 -ftracer -fno-tree-ccp
                    -fno-tree-copy-prop -fno-tree-dce and stpcpy_chk()
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 26507
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26507
reduced testcase

Compiler output:
$ gcc -O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce testcase.c   
testcase.c: In function 'foo':
testcase.c:5:1: internal compiler error: in execute_todo, at passes.c:1748
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x1289e58 "/mnt/svn/gcc-trunk/gcc/passes.c", line=1748,
function=0x128a409 "execute_todo")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:898
#1  0x00000000008f8705 in execute_todo (flags=32768) at
/mnt/svn/gcc-trunk/gcc/passes.c:1748
#2  0x00000000008fb91e in execute_one_pass (pass=0x17cac00) at
/mnt/svn/gcc-trunk/gcc/passes.c:2104
#3  0x00000000008fbca5 in execute_pass_list (pass=0x17cac00) at
/mnt/svn/gcc-trunk/gcc/passes.c:2136
#4  0x0000000000a5dffe in tree_rest_of_compilation (fndecl=0x7ffff5ba6e00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:420
#5  0x00000000006afe3a in cgraph_expand_function (node=0x7ffff5a976c0) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1819
#6  0x00000000006b1d0c in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1886
#7  cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2200
#8  0x00000000006b236a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1328
#9  0x000000000058ec20 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:10030
#10 0x00000000009f081c in compile_file () at
/mnt/svn/gcc-trunk/gcc/toplev.c:573
#11 do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1938
#12 toplev_main (argc=17, argv=0x7fffffffd838) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2014
#13 0x00007ffff61cc09d in __libc_start_main () from /lib64/libc.so.6
#14 0x0000000000572321 in _start ()

Tested revisions:
r183666 - crash
r180540 - crash
r178498 - OK
4.6 r180325 - OK


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

end of thread, other threads:[~2012-01-30 13:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-29 19:11 [Bug middle-end/52045] New: [4.7 Regression] ICE: in execute_todo, at passes.c:1748 with -O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce and stpcpy_chk() zsojka at seznam dot cz
2012-01-30  4:16 ` [Bug middle-end/52045] " jakub at gcc dot gnu.org
2012-01-30  9:35 ` rguenth at gcc dot gnu.org
2012-01-30 13:35 ` rguenth at gcc dot gnu.org
2012-01-30 13:48 ` rguenth at gcc dot gnu.org
2012-01-30 13:49 ` rguenth at gcc dot gnu.org
2012-01-30 13:50 ` rguenth 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).