Bug 44788 - [regression]internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
Summary: [regression]internal compiler error: in reload_cse_simplify_operands, at post...
Status: RESOLVED DUPLICATE of bug 44787
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 17:39 UTC by Jing Yu
Modified: 2010-07-02 21:06 UTC (History)
2 users (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: arm-linux-androideabi,arm-eabi
Build: x86_64-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jing Yu 2010-07-02 17:39:17 UTC
Revision 160947 breaks the following test case.

void joint_decode(float* mlt_buffer1, int t) {
    int i;
    float decode_buffer[1060];
    foo(decode_buffer);
    for (i=0; i<10 ; i++) {
        mlt_buffer1[i] = i * decode_buffer[t];
    }
}

/usr/local/install/R160947/libexec/gcc/arm-linux-androideabi/4.6.0/cc1 -fpreprocessed cook.i -fPIC -quiet -dumpbase cook.i  "-march=armv7-a" "-mfloat-abi=softfp" "-mfpu=neon" -mthumb -auxbase-strip cook.o -Os   -fno-strict-aliasing  -o /tmp/ccrdKipa.s 

cook.i: In function 'joint_decode':
cook.i:8:1: error: insn does not satisfy its constraints:
(insn 98 55 59 2 cook.i:6 (set (reg:SI 3 r3)
        (plus:SI (mult:SI (reg/v:SI 5 r5 [orig:183 t ] [183])
                (const_int 4 [0x4]))
            (reg/f:SI 13 sp))) 674 {*thumb2_arith_shiftsi} (nil))
cook.i:8:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

I tried revision 160946 and did not see such error. The bug may not be brought by r160947, but it was triggered.
Comment 1 Richard Earnshaw 2010-07-02 21:06:58 UTC

*** This bug has been marked as a duplicate of 44787 ***