ICE in int_mode_for_mode, at stor-layout.c:490
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android |
Fix Released
|
Medium
|
Bernhard Rosenkraenzer | ||
Linaro GCC |
Fix Released
|
Medium
|
Revital Eres |
Bug Description
Using linaro gcc 4.6-2011.10 to build the attached preprocessed source with
-O -march=armv7-a -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -fmodulo-sched -fmodulo-
results in
[bero@matterhorn iMX53]$ /opt/android-
frameworks/
frameworks/
It works with -mtune=cortex-a9 or when omitting the modulo-sched options.
Will reduce the test case when I have some time, unless someone beats me to it.
Changed in gcc-linaro: | |
milestone: | none → 4.6-2012.02 |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |
Changed in linaro-android: | |
status: | Triaged → Fix Released |
Thank you for the bug report. I've confirmed this with gcc-linaro- 4.6-2011. 10 on ARM:
michaelh@ ursa2:~ /linaro/ bugs$ /tools/ toolchains/ arch/armv7l/ gcc-linaro- 4.6-2011. 10-armv7l- natty-cbuild186 -ursa3- cortexa9r1/ bin/g++ -O2 -mcpu=cortex-a8 -fmodulo-sched -fmodulo- sched-allow- regmoves -c matrix.i base/opengl/ libagl/ matrix. cpp: In function 'void android: :invert( GLfloat* , const GLfloat*)': base/opengl/ libagl/ matrix. cpp:584: 1: internal compiler error: in int_mode_for_mode, at stor-layout.c:490
frameworks/
frameworks/
As noted in the report, the work-arounds are to build for A9 or to disable SMS. The fault does not exist in gcc-linaro- 4.6-2011. 09, gcc-4.5.3, gcc-4.6.1, or a recent-ish gcc trunk r178624.
I've set it to medium priority as it is a ftbfs, occurs at high optimisation levels, and was introduced or exposed through our changes.