[4.8 regression] ICE in expand_asm_operands, at stmt.c:910

Bug #1132012 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Undecided
Unassigned
gcc
Invalid
Medium
gcc-snapshot (Ubuntu)
Fix Released
High
Unassigned

Bug Description

seen with trunk 195917, works with 4.7 branch, works with Linaro 4.7 branch,
buildings without -O doesn't show the issue.

$ gcc -c -marm -mfpu=neon -O1 -c dxa.i
In file included from
/scratch/packages/tmp/4.8/libav-0.8.5/libavutil/intreadwrite.h:60:0,
                 from
/scratch/packages/tmp/4.8/libav-0.8.5/libavformat/dxa.c:22:
/scratch/packages/tmp/4.8/libav-0.8.5/libavutil/arm/intreadwrite.h: In function
'dxa_read_packet':
/scratch/packages/tmp/4.8/libav-0.8.5/libavutil/arm/intreadwrite.h:45:5:
internal compiler error: in expand_asm_operands, at stmt.c:910
     __asm__ ("ldr %0, %1" : "=r"(v) : "m"(*(const uint32_t *)p));
     ^
Please submit a full bug report,
with preprocessed source if appropriate.

Revision history for this message
In , Doko-v (doko-v) wrote :

Created attachment 29527
preprocessed source

seen with trunk 195917, works with 4.7 branch, fails with Linaro branch, buildings without -O doesn't show the issue.

$ gcc -c -marm -mfpu=neon -O1 -c dxa.i
In file included from /scratch/packages/tmp/4.8/libav-0.8.5/libavutil/intreadwrite.h:60:0,
                 from /scratch/packages/tmp/4.8/libav-0.8.5/libavformat/dxa.c:22:
/scratch/packages/tmp/4.8/libav-0.8.5/libavutil/arm/intreadwrite.h: In function 'dxa_read_packet':
/scratch/packages/tmp/4.8/libav-0.8.5/libavutil/arm/intreadwrite.h:45:5: internal compiler error: in expand_asm_operands, at stmt.c:910
     __asm__ ("ldr %0, %1" : "=r"(v) : "m"(*(const uint32_t *)p));
     ^
Please submit a full bug report,
with preprocessed source if appropriate.

Matthias Klose (doko)
Changed in gcc-snapshot (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Matthias Klose (doko)
description: updated
summary: - ICE in expand_asm_operands, at stmt.c:910
+ [4.8 regression] ICE in expand_asm_operands, at stmt.c:910
Changed in gcc:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Pinskia (pinskia) wrote :

AV_RN32(buf + 5))

I bet http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00965.html fixes this issue too.

Revision history for this message
In , Jakub-gcc (jakub-gcc) wrote :

Yes, it does, just verified that.

*** This bug has been marked as a duplicate of bug 56405 ***

Changed in gcc:
status: New → Invalid
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 4.8

Changed in gcc-snapshot (Ubuntu):
status: Confirmed → Fix Released
Changed in gcc-linaro:
status: New → 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.