diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-14 16:45:23 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-14 16:45:23 +0000 |
commit | 184c9ca90926f8cd4724633fc7a9ec7da0bc4048 (patch) | |
tree | c9994fe4a0344b5cf96121b59a9b3bedb0aeb489 /gcc | |
parent | d2e42551f7be1d5bf2c30ccee6228edb88cd54d2 (diff) | |
download | gcc-184c9ca90926f8cd4724633fc7a9ec7da0bc4048.tar.gz |
2007-02-14 Richard Guenther <rguenther@suse.de>
* flags.h (issue_strict_overflow_warning): Convert to a macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 d31ed46d46a..b3bff513d70 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 1996bd1514b..2a5515f70c6 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 */ |