Bug 133332 - ICE i386/x86_64 -O2 or -Os
Summary: ICE i386/x86_64 -O2 or -Os
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc34
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-23 08:44 UTC by Warren Togami
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-09-26 20:12:35 UTC


Attachments (Terms of Use)
ICE.txt.gz (8.96 KB, application/octet-stream)
2004-09-23 08:47 UTC, Warren Togami
no flags Details

Description Warren Togami 2004-09-23 08:44:56 UTC
Description of problem:
My broken & incomplete implementation of AES causes gcc-3.4.2-2 to ICE
on both i386 and x86_64 with -O2 or -Os.  -O1 does not ICE.

[warren@fedora64 aes-crash-gcc]$ make
gcc -Wall -O2 -c -g aes.c -o aes.o
aes.c: In function `SubBytes':
aes.c:267: internal compiler error: in find_function_data, at
function.c:315

Version-Release number of selected component (if applicable):
gcc-3.4.2-2

Comment 1 Warren Togami 2004-09-23 08:47:13 UTC
Created attachment 104169 [details]
ICE.txt.gz

Compressed text containing ICE dump.

Comment 2 Warren Togami 2004-09-23 20:26:22 UTC
Note that gcc4 survives.

Comment 3 Jakub Jelinek 2004-09-26 20:12:35 UTC
Submitted upstream.
Warren, please reconsider use of VLAs everywhere, it is IMHO not
a good idea.  Furthermore, please look at SubBytes routine, to me
it looks like a nop.

Comment 4 Jakub Jelinek 2004-09-26 20:13:54 UTC
http://gcc.gnu.org/PR17682 FYI.


Note You need to log in before you can comment on or make changes to this bug.