ICE in push_minipool_fix

Bug #711819 reported by Revital Eres
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Medium
Andrew Stubbs

Bug Description

I get the following ICE when running DENbench on arm-linux-gnueabi with trunk 4.6.0 -r169480, Target: armv7l-unknown-linux-gnueabi.
will try to create a testcase.

/home/eres/mainline/build_new/bin/armv7l-unknown-linux-gnueabi-gcc -c -ansi -pedantic -Wcomment -fno-asm -fsigned-char -W -Wparentheses -Wreturn-type -Wswitch -Wunused -Wsign-compare -Wimplicit -Wreturn-type -Wshadow -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-long-long -O3 -DNDEBUG -DHOST_EXAMPLE_CODE=1 -g -mcpu=cortex-a9 -mtune=cortex-a9 -ftest-coverage -pg -I. -I../th/x86/al -I../th/src -Impeg/mpeg2enc -Impeg/common -DDATA_1 -DFDCTFIX=1 -DITERATIONS=20 -ogcc/pgobj/mp2enfixdata1/quantize.o mpeg/mpeg2enc/quantize.c
mpeg/mpeg2enc/quantize.c: In function 'quant_intra':
mpeg/mpeg2enc/quantize.c:109:7: warning: declaration of 'dc_prec' shadows a global declaration [-Wshadow]
mpeg/mpeg2enc/enc_global.h:404:14: warning: shadowed declaration is here [-Wshadow]
mpeg/mpeg2enc/quantize.c: In function 'iquant_intra':
mpeg/mpeg2enc/quantize.c:189:7: warning: declaration of 'dc_prec' shadows a global declaration [-Wshadow]
mpeg/mpeg2enc/enc_global.h:404:14: warning: shadowed declaration is here [-Wshadow]
mpeg/mpeg2enc/quantize.c: In function 'iquant1_intra':
mpeg/mpeg2enc/quantize.c:241:7: warning: declaration of 'dc_prec' shadows a global declaration [-Wshadow]
mpeg/mpeg2enc/enc_global.h:404:14: warning: shadowed declaration is here [-Wshadow]
mpeg/mpeg2enc/quantize.c: In function 'iquant_intra':
mpeg/mpeg2enc/quantize.c:210:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:12084
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Revision history for this message
Revital Eres (eres) wrote :

Attached is a testcase. Run with -O3 to reporoduce the ICE.

Chung-Lin Tang (cltang)
Changed in gcc-linaro:
assignee: nobody → Chung-Lin Tang (cltang)
Revision history for this message
Chung-Lin Tang (cltang) wrote :
Michael Hope (michaelh1)
Changed in gcc-linaro:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Michael Hope (michaelh1) wrote :
Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

I can't reproduce this in linaro-gcc 4.6 (bzr 106724 / svn 170492).

Revision history for this message
Ramana Radhakrishnan (ramana) wrote :

Final patch committed upstream is

http://gcc.gnu.org/ml/gcc-cvs/2011-03/msg00119.html

cheers
Ramana

Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

Ok, I'll merge this patch into our 4.6 branch soon.

Changed in gcc-linaro:
assignee: Chung-Lin Tang (cltang) → Andrew Stubbs (ams-codesourcery)
Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

I have now reproduced the problem. I needed to add the -marm option ....

This week's 4.6 merge won't have the fix, but it should be in next week's merge.

Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

I can no longer reproduce this bug. I believe the merge from upstream has fixed it, as expected.

Changed in gcc-linaro:
milestone: none → 4.5-2011.04-0
status: In Progress → Fix Committed
milestone: 4.5-2011.04-0 → 4.6-2011.04-0
Michael Hope (michaelh1)
Changed in gcc-linaro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.