public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/53070] New: ICE: in execute_cse_reciprocals, at tree-ssa-math-opts.c:513 with -O -ffast-math -ftree-loop-if-convert -fno-tree-loop-im
Date: Sun, 22 Apr 2012 10:00:00 -0000	[thread overview]
Message-ID: <bug-53070-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 53070
           Summary: ICE: in execute_cse_reciprocals, at
                    tree-ssa-math-opts.c:513 with -O -ffast-math
                    -ftree-loop-if-convert -fno-tree-loop-im
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc -O -ffast-math -ftree-loop-if-convert -fno-tree-loop-im testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in execute_cse_reciprocals, at
tree-ssa-math-opts.c:513
 foo (int c)
 ^
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=0x12f1450 "/mnt/svn/gcc-trunk/gcc/tree-ssa-math-opts.c",
line=513, function=0x12f1710 "execute_cse_reciprocals")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:1006
#1  0x0000000000b07d3e in execute_cse_reciprocals () at
/mnt/svn/gcc-trunk/gcc/tree-ssa-math-opts.c:513
#2  0x0000000000913627 in execute_one_pass (pass=0x180ba60) at
/mnt/svn/gcc-trunk/gcc/passes.c:2176
#3  0x00000000009139e5 in execute_pass_list (pass=0x180ba60) at
/mnt/svn/gcc-trunk/gcc/passes.c:2231
#4  0x00000000009139f7 in execute_pass_list (pass=0x1808e40) at
/mnt/svn/gcc-trunk/gcc/passes.c:2232
#5  0x00000000006c00be in tree_rest_of_compilation (node=Unhandled dwarf
expression opcode 0xfa
) at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1860
#6  0x00000000006c3302 in cgraph_expand_function (node=0x7ffff5a85780) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1930
#7  0x00000000006c5529 in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1995
#8  cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2685
#9  0x00000000006c5b1a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:2769
#10 0x000000000059f770 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:10053
#11 0x00000000009fef4c in compile_file () at
/mnt/svn/gcc-trunk/gcc/toplev.c:572
#12 do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1938
#13 toplev_main (argc=16, argv=0x7fffffffd708) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2014
#14 0x00007ffff61ba2ad in __libc_start_main () from /lib64/libc.so.6
#15 0x0000000000582d01 in _start ()

Tested revisions:
r186657 - crash


             reply	other threads:[~2012-04-22 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-22 10:00 zsojka at seznam dot cz [this message]
2012-04-23 10:33 ` [Bug tree-optimization/53070] " rguenth at gcc dot gnu.org
2012-04-23 12:48 ` rguenth at gcc dot gnu.org
2012-04-23 15:07 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53070-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).