ICE in redirect_jump, at jump.c:1443

Bug #748138 reported by Matthias Klose
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Medium
Chung-Lin Tang
gcc-4.5 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gcc-4.5

falconlp ftbfs on i386 with -O2 and -O3, works with -O0, -O1, -Os

works with the FSF branch.

$ g++ -g -O2 -c src_lexer.ii
/scratch/packages/tmp/falconpl-0.9.6.6/engine/src_lexer.cpp: In member function 'void Falcon::SrcLexer::reset()':
/scratch/packages/tmp/falconpl-0.9.6.6/engine/src_lexer.cpp:90:1: internal compiler error: in redirect_jump, at jump.c:1443
Please submit a full bug report,
with preprocessed source if appropriate.

Related branches

Revision history for this message
Matthias Klose (doko) wrote :
Changed in gcc-4.5 (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Michael Hope (michaelh1) wrote :

Confirmed in gcc-linaro-4.5-2011.03-0:

michaelh@ursa3:~/linaro/bugs$ /tools/toolchains/gcc-linaro-4.5-2011.03-0-armv7l-maverick-cbuild71-carina7-cortexa8r1/bin/g++ -O2 -S src_lexer.ii
/scratch/packages/tmp/falconpl-0.9.6.6/engine/src_lexer.cpp: In member function 'void Falcon::SrcLexer::reset()':
/scratch/packages/tmp/falconpl-0.9.6.6/engine/src_lexer.cpp:90:1: internal compiler error: in redirect_jump, at jump.c:1443

Does not occur in gcc-4.5.2 or gcc-4.6.0. Still occurs with -fno-shrink-wrap.

Changed in gcc-linaro:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Ramana Radhakrishnan (ramana) wrote :

A reduced testcase is now attached.

cheers
Ramana

Revision history for this message
Michael Hope (michaelh1) wrote :

I went through the historical binary builds. This fault did not exist in r99447 but does in r99458. Note that shrink-wrap is introduced in that range.

Revision history for this message
Michael Hope (michaelh1) wrote :

G++ no longer asserts with the proposed fix:

michaelh@ursa1:~/linaro/bugs$ /scratch/michaelh/toolchains/gcc-linaro-4.5+bzr99510~cltang~lp-748138-cfgrtl-fix-4_5-armv7l-maverick-cbuild114-ursa4-cortexa9r1/bin/g++ -O2 -S src_lexer.ii

michaelh@ursa1:~/linaro/bugs$ /scratch/michaelh/toolchains/gcc-linaro-4.5+bzr99510~cltang~lp-748138-cfgrtl-fix-4_5-armv7l-maverick-cbuild114-ursa4-cortexa9r1/bin/g++ -O2 -S min.ii

Changed in gcc-linaro:
status: Triaged → In Progress
assignee: nobody → Chung-Lin Tang (cltang)
Michael Hope (michaelh1)
Changed in gcc-linaro:
milestone: none → 4.5-2011.06-0
Revision history for this message
Michael Hope (michaelh1) wrote :

Note that this also fails in gcc-linaro-4.5-2011.05. It does not fail in gcc-4.5.3, gcc-4.6.0, or gcc-linaro-4.6-2011.05.

Michael Hope (michaelh1)
Changed in gcc-linaro:
status: In Progress → Fix Committed
Michael Hope (michaelh1)
Changed in gcc-linaro:
status: Fix Committed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

fixed in oneiric

Changed in gcc-4.5 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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