gcc-4.9 errors out on valid inline asm
Bug #1296942 reported by
Arnd Bergmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
Undecided
|
Michael Collison | ||
gcc |
Fix Released
|
Medium
|
Bug Description
Found while building an arm32 kernel
~/cross/
<stdin>: In function 'g':
<stdin>:1:30: error: invalid 'asm': operand number out of range
~/cross/
arm-linux-
description: | updated |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Fix Released |
To post a comment you must log in.
I can confirm it with trunk. There is no issue for Linaro 4.8 release.
Root cause: rtx_cost change in trunk triggers the bug. The check of check_asm_operands should be enhanced.
I will raise it to upstream and try to fix it.