Bug 55421 - [4.8 Regression] ICE in adjust _address_1, at emit-rtl.c:2180
Summary: [4.8 Regression] ICE in adjust _address_1, at emit-rtl.c:2180
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: 4.8.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build, ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2012-11-20 23:41 UTC by John David Anglin
Modified: 2012-11-21 12:40 UTC (History)
1 user (show)

See Also:
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Preprocessed source (8.89 KB, text/x-csrc)
2012-11-20 23:41 UTC, John David Anglin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2012-11-20 23:41:01 UTC
Created attachment 28746 [details]
Preprocessed source

libtool: compile:  /test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
 -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.8/hppa2.
0w-hp-hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include
 -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/sys-include -DHAVE_CONFIG_H
 -I. -I../../../gcc/libquadmath -g -O2 -MT math/complex.lo -MD -MP -MF math/.dep
s/complex.Tpo -c ../../../gcc/libquadmath/math/complex.c  -fPIC -DPIC -o math/.l
ibs/complex.o
../../../gcc/libquadmath/math/complex.c: In function 'cpowq':
../../../gcc/libquadmath/math/complex.c:59:1: internal compiler error: in adjust
_address_1, at emit-rtl.c:2180
 cpowq (__complex128 base, __complex128 power)
 ^

../../../gcc/libquadmath/math/complex.c:59:1: internal compiler error: Aborted

Breakpoint 1, _Z16adjust_address_1P7rtx_def12machine_modeliiil (
    memref=0x7af38820, mode=BLKmode, offset=0, validate=1, adjust_address=1, 
    adjust_object=1, size=0) at ../../gcc/gcc/emit-rtl.c:2180
2180	      gcc_assert (!adjust_object);
(gdb) bt
#0  _Z16adjust_address_1P7rtx_def12machine_modeliiil (memref=0x7af38820, 
    mode=BLKmode, offset=0, validate=1, adjust_address=1, adjust_object=1, 
    size=0) at ../../gcc/gcc/emit-rtl.c:2180
#1  0x0042c4d8 in _ZL17store_bit_field_1P7rtx_defmmmm12machine_modeS0_b (
    str_rtx=0x7af38820, bitsize=128, bitnum=0, bitregion_start=0, 
    bitregion_end=0, fieldmode=TFmode, value=0x7af348e0, fallback_p=true)
    at ../../gcc/gcc/expmed.c:648
#2  0x0042cfd4 in _Z15store_bit_fieldP7rtx_defmmmm12machine_modeS0_ (
    str_rtx=0x7af38820, bitsize=128, bitnum=0, bitregion_start=0, 
    bitregion_end=0, fieldmode=TFmode, value=0x7af348e0)
    at ../../gcc/gcc/expmed.c:889
#3  0x00455a88 in _ZL11store_fieldP7rtx_defllmm12machine_modeP9tree_nodeib (
    target=0x7af38820, bitsize=128, bitpos=0, bitregion_start=0, 
    bitregion_end=0, mode=TFmode, exp=0x7af30bb8, alias_set=2, 
    nontemporal=false) at ../../gcc/gcc/expr.c:6466
#4  0x0044e03c in _Z17expand_assignmentP9tree_nodeS0_b (to=0x7af31498, 
    from=0x7af30bb8, nontemporal=false) at ../../gcc/gcc/expr.c:4832
#5  0x0028aebc in _ZL20expand_gimple_stmt_1P18gimple_statement_d (
    stmt=0x7af1acf0) at ../../gcc/gcc/cfgexpand.c:2209
#6  0x0028b3cc in _ZL18expand_gimple_stmtP18gimple_statement_d (
    stmt=0x7af1acf0) at ../../gcc/gcc/cfgexpand.c:2305
#7  0x00292a04 in _ZL25expand_gimple_basic_blockP15basic_block_defb (
    bb=0x7ae1c9c0, disable_tail_calls=false) at ../../gcc/gcc/cfgexpand.c:4084
---Type <return> to continue, or q <return> to quit---
#8  0x00294d44 in gimple_expand_cfg() () at ../../gcc/gcc/cfgexpand.c:4603
#9  0x007dc1bc in _Z16execute_one_passP8opt_pass (
    pass=0x40033af8 <pass_expand>) at ../../gcc/gcc/passes.c:2327
#10 0x007dc580 in _Z17execute_pass_listP8opt_pass (
    pass=0x40033af8 <pass_expand>) at ../../gcc/gcc/passes.c:2387
#11 0x002d5d18 in _ZL15expand_functionP11cgraph_node (node=0x7aed2498)
    at ../../gcc/gcc/cgraphunit.c:1641
#12 0x002d6300 in _ZL20expand_all_functionsv ()
    at ../../gcc/gcc/cgraphunit.c:1745
#13 0x002d7314 in _Z7compilev () at ../../gcc/gcc/cgraphunit.c:2043
#14 0x002d758c in finalize_compilation_unit() ()
    at ../../gcc/gcc/cgraphunit.c:2120
#15 0x000792e0 in _Z27c_write_global_declarationsv ()
    at ../../gcc/gcc/c/c-decl.c:10120
#16 0x00955264 in _ZL12compile_filev () at ../../gcc/gcc/toplev.c:559
#17 0x00958a1c in _ZL10do_compilev () at ../../gcc/gcc/toplev.c:1881
#18 0x00958d30 in _Z11toplev_mainiPPc (argc=14, argv=0x7eff053c)
    at ../../gcc/gcc/toplev.c:1957
#19 0x00dc2464 in main (argc=14, argv=0x7eff053c) at ../../gcc/gcc/main.c:36
Comment 1 Andrew Pinski 2012-11-20 23:44:52 UTC
I think this was fixed by:
http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00621.html
Comment 2 John David Anglin 2012-11-21 12:40:20 UTC
Fixed.