Bug 50398 - ICE when compiling openssl-1.0.0d with -O2 -floop-flatten
Summary: ICE when compiling openssl-1.0.0d with -O2 -floop-flatten
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 01:09 UTC by Matt Hargett
Modified: 2012-12-03 23:20 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
pre-processed source of the file that triggers the ICE (7.45 KB, application/octet-stream)
2011-09-15 01:09 UTC, Matt Hargett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Hargett 2011-09-15 01:09:10 UTC
Created attachment 25276 [details]
pre-processed source of the file that triggers the ICE

During compile of openssl-1.0.0d using trunk r177733.

matt@matt-desktop:~/openssl-1.0.0d/engines/ccgost$ /usr/lib/gcc-snapshot/bin/gcc -I../../include -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O2  -floop-flatten -Wa,--noexecstack -g -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM   -c gosthash.c
gosthash.c: In function 'hash_step':
gosthash.c:87:12: internal compiler error: in psct_dynamic_dim, at graphite-poly.h:659

The crash goes away with "-O1 -floop-flatten", or if I remove -floop-flatten. valgrind doesn't provide any output related to this issue.

Pre-processed source attached.
Comment 1 Matt Hargett 2012-12-03 23:20:57 UTC
loop flattening was removed as a feature, yes? If so, this bug can be closed.