public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/48133] New: [4.5/4.6/4.7 Regression] ICE: in get_loop_body, at cfgloop.c:831 with -O -funroll-loops -fthread-jumps -fno-tree-ch
@ 2011-03-15 10:50 zsojka at seznam dot cz
  2011-03-15 11:49 ` [Bug rtl-optimization/48133] " rguenth at gcc dot gnu.org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: zsojka at seznam dot cz @ 2011-03-15 10:50 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6/4.7 Regression] ICE: in get_loop_body, at
                    cfgloop.c:831 with -O -funroll-loops -fthread-jumps
                    -fno-tree-ch
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23662
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23662
reduced testcase (from gcc.dg/pr47899.c)

+++ This bug was initially created as a clone of Bug #47899 +++

Compiler output:
$ gcc -O -funroll-loops -fthread-jumps -fno-tree-ch testcase.c
testcase.c: In function 'foo':
testcase.c:11:1: internal compiler error: in get_loop_body, at cfgloop.c:831
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=0x10f5258 "/mnt/svn/gcc-4_6/gcc/cfgloop.c", line=831,
function=0x10f5792 "get_loop_body")
    at /mnt/svn/gcc-4_6/gcc/diagnostic.c:892
#1  0x00000000005f1511 in get_loop_body (loop=0x7ffff7ed2d48) at
/mnt/svn/gcc-4_6/gcc/cfgloop.c:831
#2  0x00000000005f2fe8 in verify_loop_structure () at
/mnt/svn/gcc-4_6/gcc/cfgloop.c:1343
#3  0x00000000007bffbc in peel_loops_completely (flags=2) at
/mnt/svn/gcc-4_6/gcc/loop-unroll.c:259
#4  unroll_and_peel_loops (flags=2) at /mnt/svn/gcc-4_6/gcc/loop-unroll.c:165
#5  0x00000000007afc48 in rtl_unroll_and_peel_loops () at
/mnt/svn/gcc-4_6/gcc/loop-init.c:332
#6  0x00000000007f6b46 in execute_one_pass (pass=0x1639e20) at
/mnt/svn/gcc-4_6/gcc/passes.c:1556
#7  0x00000000007f6e45 in execute_pass_list (pass=0x1639e20) at
/mnt/svn/gcc-4_6/gcc/passes.c:1611
#8  0x00000000007f6e57 in execute_pass_list (pass=0x163a000) at
/mnt/svn/gcc-4_6/gcc/passes.c:1612
#9  0x00000000007f6e57 in execute_pass_list (pass=0x163a220) at
/mnt/svn/gcc-4_6/gcc/passes.c:1612
#10 0x0000000000939d76 in tree_rest_of_compilation (fndecl=0x7ffff5bcef00) at
/mnt/svn/gcc-4_6/gcc/tree-optimize.c:422
#11 0x0000000000b01c12 in cgraph_expand_function (node=0x7ffff5bec000) at
/mnt/svn/gcc-4_6/gcc/cgraphunit.c:1576
#12 0x0000000000b0435a in cgraph_expand_all_functions () at
/mnt/svn/gcc-4_6/gcc/cgraphunit.c:1635
#13 cgraph_optimize () at /mnt/svn/gcc-4_6/gcc/cgraphunit.c:1899
#14 0x0000000000b048da in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-4_6/gcc/cgraphunit.c:1096
#15 0x00000000005097fc in c_write_global_declarations () at
/mnt/svn/gcc-4_6/gcc/c-decl.c:9872
#16 0x00000000008e2d08 in compile_file (argc=16, argv=0x7fffffffdc28) at
/mnt/svn/gcc-4_6/gcc/toplev.c:591
#17 do_compile (argc=16, argv=0x7fffffffdc28) at
/mnt/svn/gcc-4_6/gcc/toplev.c:1900
#18 toplev_main (argc=16, argv=0x7fffffffdc28) at
/mnt/svn/gcc-4_6/gcc/toplev.c:1963
#19 0x00007ffff648cb6d in __libc_start_main () from /lib/libc.so.6
#20 0x00000000004f03b1 in _start ()

Tested revisions:
r170964 - crash
4.6 r170955 - crash
4.5 r170955 - crash
4.4 r170955 - OK


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

end of thread, other threads:[~2014-06-12 13:00 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-15 10:50 [Bug rtl-optimization/48133] New: [4.5/4.6/4.7 Regression] ICE: in get_loop_body, at cfgloop.c:831 with -O -funroll-loops -fthread-jumps -fno-tree-ch zsojka at seznam dot cz
2011-03-15 11:49 ` [Bug rtl-optimization/48133] " rguenth at gcc dot gnu.org
2011-03-15 14:36 ` jakub at gcc dot gnu.org
2011-03-17  0:25 ` jakub at gcc dot gnu.org
2011-04-14 19:01 ` zsojka at seznam dot cz
2011-04-14 19:03 ` zsojka at seznam dot cz
2011-04-28 15:02 ` rguenth at gcc dot gnu.org
2012-01-27 14:36 ` jakub at gcc dot gnu.org
2012-02-27 21:06 ` ubizjak at gmail dot com
2012-03-28 19:46 ` [Bug rtl-optimization/48133] [4.5/4.6/4.7/4.8 " dcb314 at hotmail dot com
2012-03-29 13:19 ` mario-baumann at web dot de
2012-03-29 13:21 ` mario-baumann at web dot de
2012-03-29 14:31 ` hubicka at gcc dot gnu.org
2012-07-02 11:11 ` rguenth at gcc dot gnu.org
2012-08-10  5:38 ` [Bug rtl-optimization/48133] [4.6/4.7/4.8 " hubicka at gcc dot gnu.org
2012-08-10  6:18 ` jakub at gcc dot gnu.org
2013-02-08 17:38 ` mpolacek at gcc dot gnu.org
2013-02-13 17:32 ` mpolacek at gcc dot gnu.org
2013-02-14 10:34 ` [Bug rtl-optimization/48133] [4.6/4.7 " rguenth at gcc dot gnu.org
2013-04-12 15:17 ` [Bug rtl-optimization/48133] [4.7 " jakub at gcc dot gnu.org
2014-06-12 13:00 ` 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).