ARM: GCC < 4.3 has some issues with attribute no return on some functions. Fix so it works for older gccs.
This commit is contained in:
parent
f18040a205
commit
8fadf2691d
1 changed files with 2 additions and 0 deletions
|
@ -89,5 +89,7 @@ def template BasicExecPanic {{
|
|||
Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const
|
||||
{
|
||||
panic("Execute method called when it shouldn't!");
|
||||
// GCC < 4.3 fail to recognize the above panic as no return
|
||||
return NoFault;
|
||||
}
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue