diff options
author | Richard Biener <rguenth@gcc.gnu.org> | 2007-02-14 16:45:23 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-02-14 16:45:23 +0000 |
commit | c4e74b1aaa92e2f0ab21af1c08c52819867b32b2 (patch) | |
tree | c9994fe4a0344b5cf96121b59a9b3bedb0aeb489 /gcc/flags.h | |
parent | 932eea3d182baa7017ee7ac338b83ab724358e54 (diff) | |
download | gcc-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.h | 7 |
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 */ |