summaryrefslogtreecommitdiff
path: root/src/base/compiler.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2014-08-13 06:57:27 -0400
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2014-08-13 06:57:27 -0400
commiteb9226317d792b89a3ceed9b7653cc76953c2f06 (patch)
tree57cf88e1fdeace0afadc51e0e84a13115cb900bd /src/base/compiler.hh
parent25f5a6733cbca02f0db9839a00dec30f9751b462 (diff)
downloadgem5-eb9226317d792b89a3ceed9b7653cc76953c2f06.tar.xz
base: Remove unused M5_PRAGMA_NORETURN
The M5_PRAGMA_NORETURN macro was only used in for __exit_message. Since the macro only holds a stub definition and all functions with noreturn semantics use the M5_ATTR_NORETURN, this macros is completely redundant.
Diffstat (limited to 'src/base/compiler.hh')
-rw-r--r--src/base/compiler.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/base/compiler.hh b/src/base/compiler.hh
index a16667d8d..0e3c85a78 100644
--- a/src/base/compiler.hh
+++ b/src/base/compiler.hh
@@ -47,7 +47,6 @@
#if defined(__GNUC__)
#define M5_ATTR_NORETURN __attribute__((noreturn))
-#define M5_PRAGMA_NORETURN(x)
#define M5_DUMMY_RETURN
#define M5_VAR_USED __attribute__((unused))