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 | |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/flags.h | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d31ed46..b3bff51 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,8 @@ -2007-12-14 Dorit Nuzman <dorit@il.ibm.com> +2007-02-14 Richard Guenther <rguenther@suse.de> + + * flags.h (issue_strict_overflow_warning): Convert to a macro. + +2007-02-14 Dorit Nuzman <dorit@il.ibm.com> PR tree-optimization/30771 * tree-vect-analyze.c (vect_determine_vectorization_factor): Traverse 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 */ |