This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/31979] ICE compiling openssl-0.9.8e/apps/ocsp.c



------- Comment #6 from jim dot turnquist at qlogic dot com  2007-08-08 21:44 -------
I am seeing the same thing on powerpc405, gcc=4.2.1, openssl-0.9.8e.

I confirmed what Jann had noticed. 

Fails with -O3 & -O2.  Finishes with -O1

With -O3:

jturnquist>
/usr/local/itasca/buildtools/26/devtools/powerpc-405-linux/gcc4.2.1_glibc2.5_001/bin/powerpc-405-linux-gcc
-DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DTERMIO -O3
-fomit-frame-pointer -Wall   -c -o ocsp.o ocsp.c
ocsp.c: In function 'ocsp_main':
ocsp.c:579: warning: function called through a non-compatible type
ocsp.c:579: note: if this code is reached, the program will abort
ocsp.c:680: warning: function called through a non-compatible type
ocsp.c:680: note: if this code is reached, the program will abort
ocsp.c:761: warning: function called through a non-compatible type
ocsp.c:761: note: if this code is reached, the program will abort
ocsp.c:786: warning: function called through a non-compatible type
ocsp.c:786: note: if this code is reached, the program will abort
ocsp.c: In function 'do_responder':
ocsp.c:1207: warning: function called through a non-compatible type
ocsp.c:1207: note: if this code is reached, the program will abort
ocsp.c: In function 'send_ocsp_response':
ocsp.c:1229: warning: function called through a non-compatible type
ocsp.c:1229: note: if this code is reached, the program will abort
ocsp.c: In function 'ocsp_main':
ocsp.c:904: internal compiler error: in move_insn, at haifa-sched.c:1963
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

With -O2

jturnquist>
/usr/local/itasca/buildtools/26/devtools/powerpc-405-linux/gcc4.2.1_glibc2.5_001/bin/powerpc-405-linux-gcc
-DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DTERMIO -O2
-fomit-frame-pointer -Wall   -c -o ocsp.o ocsp.c
ocsp.c: In function 'ocsp_main':
ocsp.c:579: warning: function called through a non-compatible type
ocsp.c:579: note: if this code is reached, the program will abort
ocsp.c:680: warning: function called through a non-compatible type
ocsp.c:680: note: if this code is reached, the program will abort
ocsp.c:761: warning: function called through a non-compatible type
ocsp.c:761: note: if this code is reached, the program will abort
ocsp.c:786: warning: function called through a non-compatible type
ocsp.c:786: note: if this code is reached, the program will abort
ocsp.c: In function 'do_responder':
ocsp.c:1207: warning: function called through a non-compatible type
ocsp.c:1207: note: if this code is reached, the program will abort
ocsp.c: In function 'send_ocsp_response':
ocsp.c:1229: warning: function called through a non-compatible type
ocsp.c:1229: note: if this code is reached, the program will abort
ocsp.c:1232: internal compiler error: in move_insn, at haifa-sched.c:1963
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

With -O1

jturnquist>
/usr/local/itasca/buildtools/26/devtools/powerpc-405-linux/gcc4.2.1_glibc2.5_001/bin/powerpc-405-linux-gcc
-DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DTERMIO -O1
-fomit-frame-pointer -Wall   -c -o ocsp.o ocsp.c
ocsp.c: In function 'ocsp_main':
ocsp.c:579: warning: function called through a non-compatible type
ocsp.c:579: note: if this code is reached, the program will abort
ocsp.c:680: warning: function called through a non-compatible type
ocsp.c:680: note: if this code is reached, the program will abort
ocsp.c:761: warning: function called through a non-compatible type
ocsp.c:761: note: if this code is reached, the program will abort
ocsp.c:786: warning: function called through a non-compatible type
ocsp.c:786: note: if this code is reached, the program will abort
ocsp.c: In function 'do_responder':
ocsp.c:1207: warning: function called through a non-compatible type
ocsp.c:1207: note: if this code is reached, the program will abort
ocsp.c: In function 'send_ocsp_response':
ocsp.c:1229: warning: function called through a non-compatible type
ocsp.c:1229: note: if this code is reached, the program will abort


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]