Bug 29301 - [4.2/4.3 Regression] ICE in check_cfg, at haifa-sched .c:4657 while compiling openssl
Summary: [4.2/4.3 Regression] ICE in check_cfg, at haifa-sched .c:4657 while compiling...
Status: RESOLVED DUPLICATE of bug 29841
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: 4.2.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2006-09-30 18:59 UTC by bero
Modified: 2006-11-25 23:52 UTC (History)
4 users (show)

See Also:
Host: i586-pc-linux-gnu
Target: i586-pc-linux-gnu
Build: i586-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Preprocessed source (40.25 KB, text/x-csrc)
2006-09-30 19:00 UTC, bero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bero 2006-09-30 18:59:07 UTC
This happens with gcc 4.2 SVN rev. 116997:

gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM   -c -o evp_pkey.o evp_pkey.c
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 check_cfg, at haifa-sched.c:4657
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 bero 2006-09-30 19:00:39 UTC
Created attachment 12361 [details]
Preprocessed source
Comment 2 Richard Biener 2006-09-30 19:30:12 UTC
works for me with rev. 117329 - can you tell the output of "-v" added to the compilation line?  Otherwise this might be a dup of PR27863.
Comment 3 Andrew Pinski 2006-11-25 23:52:19 UTC

*** This bug has been marked as a duplicate of 29841 ***