gcc.target/i386/pr9771-1.c test failure

Bug #602171 reported by Andrew Stubbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Medium
Michael Hope
Linaro GCC Tracking
Fix Released
Undecided
Unassigned

Bug Description

Linaro gcc has a test regression vs. FSF:

+FAIL: gcc.target/i386/pr9771-1.c (test for excess errors)
+UNRESOLVED: gcc.target/i386/pr9771-1.c compilation failed to produce executable

There is an upstream patch that should fix this here:
http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01401.html

2010-05-24 Paul Brook <email address hidden>
* gcc.target/arm/frame-pointer-1.c: New test.
* gcc.target/i386/pr9771-1.c: Move code out of main to allow frame pointer elimination.

[CodeSourcery Internal ID: #6246]

Related branches

Changed in gcc-linaro:
assignee: nobody → Andrew Stubbs (ams-codesourcery)
Loïc Minier (lool)
Changed in gcc-linaro:
assignee: Andrew Stubbs (ams-codesourcery) → Michael Hope (michaelh1)
Loïc Minier (lool)
Changed in gcc-linaro:
importance: Undecided → Medium
milestone: none → 4.4.2010.07
Revision history for this message
Michael Hope (michaelh1) wrote :

Confirmed. gcc-linaro r93532 fails with:

output is /home/michaelh/c/gcc/linaro-4.4/gcc/testsuite/gcc.target/i386/pr9771-1.c: In function 'main':

/home/michaelh/c/gcc/linaro-4.4/gcc/testsuite/gcc.target/i386/pr9771-1.c:43: error: bp cannot be used in asm here

Changed in gcc-linaro:
status: New → Confirmed
Revision history for this message
Michael Hope (michaelh1) wrote :

Merged the test case changes in. The fix was already present and must have come across in the CSL patch.

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

Merged the changed to where?

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

Sorry, I hit submit too early. I'm having trouble creating a topic branch and will update the ticket when it's committed.

Revision history for this message
Loïc Minier (lool) wrote :

Would you please attach your patch in case you can't submit a branch for merging?

Thanks!

Changed in gcc-linaro:
status: Confirmed → In Progress
Revision history for this message
Michael Hope (michaelh1) wrote :

Committed to lp:~michaelh1/gcc-linaro/lp-602171. Fired off a merge request.

Changed in gcc-linaro:
status: In Progress → Fix Released
Loïc Minier (lool)
Changed in gcc-linaro:
status: Fix Released → Fix Committed
Loïc Minier (lool)
Changed in gcc-linaro:
status: Fix Committed → Fix Released
Revision history for this message
Michael Hope (michaelh1) wrote :

fixed-in: 93537

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

This was a backport from FSF.

Changed in gcc-linaro-tracking:
milestone: none → 4.6.0
status: New → Fix Committed
Changed in gcc-linaro-tracking:
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

Remote bug watches

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