projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f18040a
)
ARM: GCC < 4.3 has some issues with attribute no return on some functions. Fix so...
author
Ali Saidi
<Ali.Saidi@ARM.com>
Wed, 2 Jun 2010 17:58:03 +0000
(12:58 -0500)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Wed, 2 Jun 2010 17:58:03 +0000
(12:58 -0500)
src/arch/arm/isa/templates/basic.isa
patch
|
blob
|
history
diff --git
a/src/arch/arm/isa/templates/basic.isa
b/src/arch/arm/isa/templates/basic.isa
index c6a7566d3b2d8049aed0c9e48d0dc9c42d73c718..843f90840717457469f91c4f87fcbbb48f231aa4 100644
(file)
--- a/
src/arch/arm/isa/templates/basic.isa
+++ b/
src/arch/arm/isa/templates/basic.isa
@@
-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;
}
}};