Bug 28833 - GCC 4.1.1 ICEs compiling Xorg 6.8.2
Summary: GCC 4.1.1 ICEs compiling Xorg 6.8.2
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.1.1
: P3 normal
Target Milestone: 4.1.2
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2006-08-24 10:36 UTC by peter
Modified: 2006-08-24 10:55 UTC (History)
1 user (show)

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


Attachments
gzipped preprocessed source of testcase (34.79 KB, application/octet-stream)
2006-08-24 10:37 UTC, peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peter 2006-08-24 10:36:09 UTC
Attached (gzipped) fbmmx.i (from Xorg 6.8.2 xc/programs/Xserver/fb/fbmmx.c) gives "fbmmx.c:871: internal compiler error: in push_reload, at reload.c:1303" when compiled with 4.1.1 on i686-linux-gnu. This is probably a regression as I've previously compiled the same Xorg release fine with 4.1.0.

GCC also emits lots of warnings, but no errors.

--- GCC version

[peter@electronic fb]$ gcc --version
gcc (GCC) 4.1.1

--- GCC configured with

../g*/configure --prefix=/usr --enable-shared --enable-languages=c,c++,java --enable-threads --enable-__cxa_atexit --with-system-zlib --disable-multilib

--- GCC command to trigger failure

gcc -m32 -c -O2 -O9 -march=pentium4 -mtune=pentium4 -mmmx -msse -msse2 -pipe -ansi -pedantic -Wall -Wpointer-arith -Wundef    -fno-merge-constants -c   -mmmx -Winline --param inline-unit-growth=10000  --param large-function-growth=10000 fbmmx.i

--- GCC output

fbmmx.c:39: warning: specifying vector types with __attribute__ ((mode)) is depr
ecated
fbmmx.c:39: warning: use __attribute__ ((vector_size)) instead
fbmmx.c:40: warning: specifying vector types with __attribute__ ((mode)) is depr
ecated
fbmmx.c:40: warning: use __attribute__ ((vector_size)) instead
fbmmx.c:41: warning: specifying vector types with __attribute__ ((mode)) is depr
ecated
fbmmx.c:41: warning: use __attribute__ ((vector_size)) instead
fbmmx.c:43: warning: ISO C90 does not support ?long long?
fbmmx.c:79: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:80: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:81: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:82: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:83: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:84: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:85: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:86: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:87: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:88: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:89: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:90: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:91: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:92: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:93: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c:94: warning: ISO C90 forbids specifying subobject to initialize
fbmmx.c: In function ?expand565?:
fbmmx.c:306: warning: ISO C90 forbids mixed declarations and code
fbmmx.c: In function ?fbCompositeSolidMask_nx8x8888mmx?:
fbmmx.c:658: warning: ISO C90 does not support ?long long?
fbmmx.c:701: warning: ISO C90 does not support ?long long?
fbmmx.c: In function ?fbCompositeSolidMask_nx8x0565mmx?:
fbmmx.c:764: warning: ISO C90 does not support ?long long?
fbmmx.c:824: warning: ISO C90 does not support ?long long?
fbmmx.c:871: internal compiler error: in push_reload, at reload.c:1303
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 peter 2006-08-24 10:37:07 UTC
Created attachment 12124 [details]
gzipped preprocessed source of testcase
Comment 2 Andrew Pinski 2006-08-24 10:55:51 UTC
Fixed in 4.1.2.