aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorRichard Biener <rguenth@gcc.gnu.org>2007-02-14 16:45:23 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-02-14 16:45:23 +0000
commitc4e74b1aaa92e2f0ab21af1c08c52819867b32b2 (patch)
treec9994fe4a0344b5cf96121b59a9b3bedb0aeb489 /gcc/flags.h
parent932eea3d182baa7017ee7ac338b83ab724358e54 (diff)
downloadgcc-c4e74b1aaa92e2f0ab21af1c08c52819867b32b2.zip
gcc-c4e74b1aaa92e2f0ab21af1c08c52819867b32b2.tar.gz
gcc-c4e74b1aaa92e2f0ab21af1c08c52819867b32b2.tar.bz2
flags.h (issue_strict_overflow_warning): Convert to a macro.
2007-02-14 Richard Guenther <rguenther@suse.de> * flags.h (issue_strict_overflow_warning): Convert to a macro. From-SVN: r121951
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 1996bd1..2a5515f 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -335,11 +335,6 @@ enum warn_strict_overflow_code
};
/* Whether to emit an overflow warning whose code is C. */
-
-static inline bool
-issue_strict_overflow_warning (enum warn_strict_overflow_code c)
-{
- return warn_strict_overflow >= (int) c;
-}
+#define issue_strict_overflow_warning(c) (warn_strict_overflow >= (int) (c))
#endif /* ! GCC_FLAGS_H */