http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52911
Bug #: 52911
Summary: gcc 4.7.0 (ppc32 e500mc) when compile a c file, after
a lot of time, gcc failed and internal compiler error
occurs.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 27118
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27118
the processed file
gcc 4.7.0, on ppc32 target freescale p4080 processor . when compile a c file
with inline asm, internal compiler error occurs.
gcc version and configure options:
[XXXX@localhost tomsfastmath-0.12]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.7.0/lto-wrapper
Target: powerpc-unknown-linux-gnu
Configured with: /mnt/sda2/backup/gcc-4.7.0/configure --prefix=/usr
--libexecdir=/usr/lib
Thread model: posix
gcc version 4.7.0 (GCC)
how the error can be reproduced:
[XXXX@localhost tomsfastmath-0.12]$ time cc -Wall -W -Wshadow -Isrc/headers
-O3 -funroll-loops -fomit-frame-pointer -c -o src/mul/fp_mul_comba_48.o
src/mul/fp_mul_comba_48.c
src/mul/fp_mul_comba_48.c: In function 'fp_mul_comba48':
src/mul/fp_mul_comba_48.c:398: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:195 340 {*movdi_internal32}
(nil))
src/mul/fp_mul_comba_48.c:398: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.
real 13m22.735s
user 13m22.292s
sys 0m0.424s
[XXXX@localhost tomsfastmath-0.12]$
ppc32 cpu info:
[XXXX@localhost tomsfastmath-0.12]$ cat /proc/cpuinfo
processor : 0
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
processor : 1
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
processor : 2
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
processor : 3
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
processor : 4
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
processor : 5
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
processor : 6
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
processor : 7
cpu : e500mc
clock : 1499.985000MHz
revision : 2.0 (pvr 8023 0020)
bogomips : 99.99
total bogomips : 799.99
timebase : 49999500
platform : P4080 DS
model : fsl,P4080DS
Memory : 4096 MB