--- Comment #4 from bero at arklinux dot org 2006-11-07 13:12 ---
Created an attachment (id=12562)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12562&action=view)
Another test case
Another test case for what appears to be the same bug - also from openssl:
gcc -I.. -I../.. -I../.
--- Comment #3 from bero at arklinux dot org 2006-11-07 13:02 ---
gcc -fPIC -O3 -fomit-frame-pointer -fno-schedule-insns -fno-schedule-insns2 -o
evp_pkey.o -c evp_pkey.i
works
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29750
--- Comment #2 from bero at arklinux dot org 2006-11-07 12:59 ---
With -fPIC removed from the compiler flags, the segfault is replaced with an
ICE:
# gcc -O3 -fomit-frame-pointer -o evp_pkey.o -c evp_pkey.i
evp_pkey.c: In function 'EVP_PKEY2PKCS8_broken':
evp_pkey.c:382: warning: functi
--- Comment #1 from bero at arklinux dot org 2006-11-07 12:58 ---
Created an attachment (id=12561)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12561&action=view)
Preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29750