[Bug target/52911] [4.5/4.6/4.7/4.8 Regression] gcc 4.7.0 (ppc32 e500mc) when compile a c file, after a lot of time, gcc failed and internal compiler error occurs.

zuogang at huawei dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 2 12:11:00 GMT 2012


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

--- Comment #6 from zuogang <zuogang at huawei dot com> 2012-07-02 12:11:15 UTC ---
(In reply to comment #5)
> The 4.5 branch is being closed, adjusting target milestone.

the bug is recured when using gcc4.7.1.

[zoge@localhost test-exec-record]$ gcc -Wall -W -Wshadow -Isrc/headers -O3
-funroll-loops -fomit-frame-pointer 
gcc: fatal error: no input files
compilation terminated.
[zoge@localhost test-exec-record]$ gcc -Wall -W -Wshadow -Isrc/headers -O3
-funroll-loops -fomit-frame-pointer -c -o test-gcc47-c.o gcc-bug.c 
src/mul/fp_mul_comba_48.c: In function 'fp_mul_comba48':
src/mul/fp_mul_comba_48.c:794:1: error: insn does not satisfy its constraints:
(insn 61208 61207 6542 2 (set (mem/c:DI (plus:SI (reg:SI 16 16)
                (const_int 32760 [0x7ff8])) [5 %sfp+98296 S8 A64])
        (reg:DI 14 14)) src/mul/fp_mul_comba_48.c:388 340 {*movdi_internal32}
     (nil))
src/mul/fp_mul_comba_48.c:794:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[zoge@localhost test-exec-record]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.7.1/lto-wrapper
Target: powerpc-unknown-linux-gnu
Configured with: /mnt/sda2/backup/gcc-4.7.1/configure --prefix=/usr
--libexecdir=/usr/lib
Thread model: posix
gcc version 4.7.1 (GCC) 
[zoge@localhost test-exec-record]$



More information about the Gcc-bugs mailing list