Optimization lost for tail-call to a noreturn function
Bug #1646605 reported by
Gary Fuehrer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
Correctly this:
void __attribute_
void Reset_Handler() { <any-not-
gives:
<Reset_Handler>:
<any-
b.w <bar>
But either:
void __attribute_
or this:
void __attribute_
gives:
<Reset_Handler>:
push {r3, lr}
<any-
bl <bar>
Compiler versions 4_7-2013q3-
To post a comment you must log in.
And, a "b.n" should be emitted, if possible, not a "b.w".