This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc version 3.0.1 Optimization bug under AIX 4.3.3 with -O2 -mcpu=604e options
- To: gcc-bugs at gcc dot gnu dot org
- Subject: gcc version 3.0.1 Optimization bug under AIX 4.3.3 with -O2 -mcpu=604e options
- From: Damien Thibaud <d dot thibaud at systemique dot fr>
- Date: Tue, 2 Oct 2001 19:13:16 +0200
Optimization bug (it happens only with -O2 -mcpu=604e options)
bug.i.bz2
Compiling bug.c ... gcc -v -c -save-temps -I. -g -O2 -mcpu=604e -ansi -
pedantic -Wall -pipe -Wmissing-prototypes -Wmissing-declarations -DAIX -
Dibmr2 -DMOTIF -DXMSTRINGDEFINES -DXT_CODE -DXTSTRINGDEFINES -
D_POSIX_SOURCE -D_ALL_SOURCE -I/users/dt/SIMULATORS/include/NS_GUI -I/
users/dt/SIMULATORS/include/LIB -DFICTIF -DADT bug.c -o AIX_GNU/bug.o 2>&1
gcc: Warning: -pipe ignored because -save-temps specified
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.0.1/specs
Configured with: ../configure --disable-nls --disable-power64 --disable-
power --prefix=/users/dt : (reconfigured) ../configure --disable-nls --
disable-multilib --prefix=/users/dt : (reconfigured) ../configure --disable-
nls --disable-multilib
Thread model: single
gcc version 3.0.1
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.0.1/cpp0 -lang-c -std=c89 -
v -I. -I/users/dt/SIMULATORS/include/NS_GUI -I/users/dt/SIMULATORS/include/
LIB -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=1 -D_IBMR2 -
D_POWER -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_LONG_LONG -Asystem=unix -
Asystem=aix -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Wall -
Wmissing-prototypes -Wmissing-declarations -pedantic -D_ANSI_C_SOURCE -DAIX
-Dibmr2 -DMOTIF -DXMSTRINGDEFINES -DXT_CODE -DXTSTRINGDEFINES -
D_POSIX_SOURCE -D_ALL_SOURCE -DFICTIF -DADT bug.c bug.i
GNU CPP version 3.0.1 (cpplib)
ignoring nonexistent directory "/usr/local/powerpc-ibm-aix4.3.3.0/include"
#include "..." search starts here:
#include <...> search starts here:
.
/users/dt/SIMULATORS/include/NS_GUI
/users/dt/SIMULATORS/include/LIB
/usr/local/include
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.0.1/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.0.1/cc1 -fpreprocessed
bug.i -quiet -dumpbase bug.c -mcpu=604e -ansi -g -O2 -Wall -Wmissing-
prototypes -Wmissing-declarations -pedantic -ansi -version -o bug.s
GNU CPP version 3.0.1 (cpplib)
GNU C version 3.0.1 (powerpc-ibm-aix4.3.3.0)
compiled by GNU C version 3.0.1.
bug.c: In function `XsGxGererMotionStripCyclique':
bug.c:17: warning: unused variable `x'
bug.c:17: warning: unused variable `y'
bug.c:25: warning: unused variable `curseur'
bug.c:18: warning: `state' might be used uninitialized in this function
bug.c:19: warning: `valeurX' might be used uninitialized in this function
bug.c:23: warning: `valeurAfficheeMax' might be used uninitialized in this
function
bug.c:24: warning: `valeurAfficheeMin' might be used uninitialized in this
function
bug.c:26: warning: `nbRectangle' might be used uninitialized in this
function
bug.c:71: Unrecognizable insn:
(insn 194 193 195 (set (reg:DF 131)
(if_then_else:DF (ge (reg:DF 130)
(const_double:DF (cc0) 0 [0x0] 0 [0x0] [0]))
(reg/v:SF 87)
(reg:SF 117))) -1 (insn_list 193 (nil))
(expr_list:REG_DEAD (reg/v:SF 87)
(expr_list:REG_DEAD (reg:SF 117)
(nil))))
bug.c:71: Internal compiler error in extract_insn, at recog.c:2218
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
best regards,
Damien THIBAUD