public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Greta.Yorsh at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/52020] New: ICE in immed_double_const, at emit-rtl.c:544
Date: Fri, 27 Jan 2012 14:59:00 -0000	[thread overview]
Message-ID: <bug-52020-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 52020
           Summary: ICE in immed_double_const, at emit-rtl.c:544
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Greta.Yorsh@arm.com
                CC: matz@suse.de, ramana@gcc.gnu.org
            Target: arm-none-eabi


Regression PASS->FAIL: gcc.target/arm/pr48183.c (internal compiler error) on
arm-none-eabi. 

Revision that introduced the problem: r183566, patch described here:
http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01387.html

./cc1 -quiet
/work/local-checkouts/main/gcc-fsf/gcc/testsuite/gcc.target/arm/pr48183.c -O 
-o /work/tmp/pr48183.s -mcpu=cortex-a9 -mfloat-abi=softfp -mfpu=neon -iprefix
/work/builds/a15-jan/install/lib/gcc/arm-none-eabi/4.7.0/ -g

/work/local-checkouts/main/gcc-fsf/gcc/testsuite/gcc.target/arm/pr48183.c: In
function 'move_16bit_to_32bit':
/work/local-checkouts/main/gcc-fsf/gcc/testsuite/gcc.target/arm/pr48183.c:10:6:
internal compiler error: in immed_double_const, at emit-rtl.c:544

(gdb) info stack
#0  fancy_abort (file=0xe15150
"/work/local-checkouts/main/gcc-fsf/gcc/emit-rtl.c", line=544,
function=0xe15ff0 "immed_double_const") at
/work/local-checkouts/main/gcc-fsf/gcc/diagnostic.c:898
#1  0x0000000000648f5c in immed_double_const (i0=0, i1=<value optimised out>,
mode=OImode) at /work/local-checkouts/main/gcc-fsf/gcc/emit-rtl.c:544
#2  0x000000000066d8cb in expand_expr_real_1 (exp=0x7ffff70d8fa0, target=0x0,
tmode=<value optimised out>, modifier=<value optimised out>, alt_rtl=0x0) at
/work/local-checkouts/main/gcc-fsf/gcc/expr.c:9118
#3  0x00000000005aa46d in expand_expr (exp=0x7ffff70d8fa0) at
/work/local-checkouts/main/gcc-fsf/gcc/expr.h:442
#4  expand_debug_expr (exp=0x7ffff70d8fa0) at
/work/local-checkouts/main/gcc-fsf/gcc/cfgexpand.c:2699
#5  0x00000000005b13ca in expand_debug_locations () at
/work/local-checkouts/main/gcc-fsf/gcc/cfgexpand.c:3668
#6  gimple_expand_cfg () at
/work/local-checkouts/main/gcc-fsf/gcc/cfgexpand.c:4528
#7  0x00000000007f0d29 in execute_one_pass (pass=0x130aa80) at
/work/local-checkouts/main/gcc-fsf/gcc/passes.c:2081
#8  0x00000000007f1095 in execute_pass_list (pass=0x130aa80) at
/work/local-checkouts/main/gcc-fsf/gcc/passes.c:2136
#9  0x0000000000907238 in tree_rest_of_compilation (fndecl=0x7ffff6c59100) at
/work/local-checkouts/main/gcc-fsf/gcc/tree-optimize.c:420
#10 0x00000000005cec5a in cgraph_expand_function (node=0x7ffff6c565a0) at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:1819
#11 0x00000000005d249a in cgraph_expand_all_functions () at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:1886
#12 cgraph_optimize () at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:2200
#13 0x00000000005d29f5 in cgraph_finalize_compilation_unit () at
/work/local-checkouts/main/gcc-fsf/gcc/cgraphunit.c:1328
#14 0x00000000004aca88 in c_write_global_declarations () at
/work/local-checkouts/main/gcc-fsf/gcc/c-decl.c:10030
#15 0x0000000000896f87 in compile_file () at
/work/local-checkouts/main/gcc-fsf/gcc/toplev.c:573
#16 do_compile () at /work/local-checkouts/main/gcc-fsf/gcc/toplev.c:1938
#17 0x0000000000897664 in toplev_main (argc=16, argv=0x7fffffffe348) at
/work/local-checkouts/main/gcc-fsf/gcc/toplev.c:2014
#18 0x00007ffff7874c4d in __libc_start_main () from /lib/libc.so.6
#19 0x000000000049a7a9 in _start ()


             reply	other threads:[~2012-01-27 14:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-27 14:59 Greta.Yorsh at arm dot com [this message]
2012-01-27 15:54 ` [Bug regression/52020] " matz at gcc dot gnu.org
2012-01-27 16:08 ` rguenth at gcc dot gnu.org
2012-01-27 16:21 ` 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-52020-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).