This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29750] [4.2 regression] Segmentation fault while compiling OpenSSL 0.9.8d
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Nov 2006 12:59:57 -0000
- Subject: [Bug c/29750] [4.2 regression] Segmentation fault while compiling OpenSSL 0.9.8d
- References: <bug-29750-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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: function called through a non-compatible type
evp_pkey.c:382: note: if this code is reached, the program will abort
evp_pkey.c: In function 'dsa_pkey2pkcs8':
evp_pkey.c:478: warning: function called through a non-compatible type
evp_pkey.c:478: note: if this code is reached, the program will abort
evp_pkey.c: In function 'EVP_PKEY2PKCS8_broken':
evp_pkey.c:416: internal compiler error: in maybe_add_or_update_back_dep_1, at
sched-deps.c:245
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Both the segfault and the ICE go away at -O1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29750