OSDN Git Service

2007-02-14 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Feb 2007 16:45:23 +0000 (16:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Feb 2007 16:45:23 +0000 (16:45 +0000)
* 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

gcc/ChangeLog
gcc/flags.h

index d31ed46..b3bff51 100644 (file)
@@ -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
index 1996bd1..2a5515f 100644 (file)
@@ -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 */