public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/53695] New: [4.8 Regression] ICE: in dfs_enumerate_from, at cfganal.c:1221 with -O2 -ftracer and labels/gotos
@ 2012-06-16 11:23 zsojka at seznam dot cz
  2012-06-16 16:01 ` [Bug middle-end/53695] " hjl.tools at gmail dot com
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: zsojka at seznam dot cz @ 2012-06-16 11:23 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53695
           Summary: [4.8 Regression] ICE: in dfs_enumerate_from, at
                    cfganal.c:1221 with -O2 -ftracer and labels/gotos
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc -O2 -ftracer testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in dfs_enumerate_from, at
cfganal.c:1221
 foo (const void **p)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  internal_error (gmsgid=0x1472ac5 "in %s, at %s:%d") at
/mnt/svn/gcc-trunk/gcc/diagnostic.c:951
#1  0x000000000116fc44 in fancy_abort (file=<optimized out>, line=1221,
function=0x11f8170 "dfs_enumerate_from")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:1011
#2  0x000000000068ac0e in dfs_enumerate_from (bb=<optimized out>, reverse=1,
predicate=0x6a1400 <glb_enum_p(const_basic_block, void const*)>, 
    rslt=0x18f9ef0, rslt_max=2, data=0x7ffff5a80b28) at
/mnt/svn/gcc-trunk/gcc/cfganal.c:1221
#3  0x00000000006a2964 in get_loop_body (loop=0x7ffff5a80b28) at
/mnt/svn/gcc-trunk/gcc/cfgloop.c:828
#4  0x00000000006a42d0 in verify_loop_structure () at
/mnt/svn/gcc-trunk/gcc/cfgloop.c:1350
#5  0x00000000008bf766 in loop_optimizer_init (flags=15) at
/mnt/svn/gcc-trunk/gcc/loop-init.c:64
#6  0x00000000010e512d in analyze_function (fn=<optimized out>, ipa=<optimized
out>) at /mnt/svn/gcc-trunk/gcc/ipa-pure-const.c:785
#7  0x00000000010e7839 in local_pure_const () at
/mnt/svn/gcc-trunk/gcc/ipa-pure-const.c:1563
#8  0x0000000000912c55 in execute_one_pass (pass=0x19078a0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2164
#9  0x0000000000913015 in execute_pass_list (pass=0x19078a0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2219
#10 0x0000000000913027 in execute_pass_list (pass=0x177fe20) at
/mnt/svn/gcc-trunk/gcc/passes.c:2220
#11 0x00000000006bf848 in expand_function (node=0x7ffff5a81750) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1615
#12 0x00000000006c1624 in expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1720
#13 compile () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2018
#14 0x00000000006c1be5 in finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:2095
#15 0x00000000005a1020 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:10108
#16 0x00000000009fef6c in compile_file () at
/mnt/svn/gcc-trunk/gcc/toplev.c:566
#17 do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1870
#18 toplev_main (argc=14, argv=0x7fffffffd738) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1946
#19 0x00007ffff61b62ad in __libc_start_main () from /lib64/libc.so.6
#20 0x0000000000584451 in _start ()

Tested revisions:
r188682 - crash
4.7 r188682 - OK


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

end of thread, other threads:[~2012-10-29 14:33 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-16 11:23 [Bug middle-end/53695] New: [4.8 Regression] ICE: in dfs_enumerate_from, at cfganal.c:1221 with -O2 -ftracer and labels/gotos zsojka at seznam dot cz
2012-06-16 16:01 ` [Bug middle-end/53695] " hjl.tools at gmail dot com
2012-06-18  9:03 ` rguenth at gcc dot gnu.org
2012-06-19 14:13 ` rguenth at gcc dot gnu.org
2012-06-27 10:33 ` rguenth at gcc dot gnu.org
2012-08-22  9:37 ` rguenth at gcc dot gnu.org
2012-08-22 19:26 ` steven at gcc dot gnu.org
2012-08-22 20:14 ` steven at gcc dot gnu.org
2012-08-22 20:20 ` steven at gcc dot gnu.org
2012-08-22 21:33 ` steven at gcc dot gnu.org
2012-08-23  7:29 ` rguenther at suse dot de
2012-08-23  7:37 ` rguenther at suse dot de
2012-08-23  7:56 ` stevenb.gcc at gmail dot com
2012-08-23  8:07 ` rguenther at suse dot de
2012-08-23  8:10 ` rguenther at suse dot de
2012-08-23  8:49 ` stevenb.gcc at gmail dot com
2012-08-23  8:53 ` steven at gcc dot gnu.org
2012-08-23  9:19 ` rguenther at suse dot de
2012-08-23  9:23 ` rguenther at suse dot de
2012-08-23  9:44 ` steven at gcc dot gnu.org
2012-08-23 11:00 ` rguenther at suse dot de
2012-08-23 11:22 ` rguenther at suse dot de
2012-09-19 13:31 ` rguenth at gcc dot gnu.org
2012-10-26 11:58 ` rguenth at gcc dot gnu.org
2012-10-29 14:25 ` rguenth at gcc dot gnu.org
2012-10-29 14:33 ` 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).