From c4e74b1aaa92e2f0ab21af1c08c52819867b32b2 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 14 Feb 2007 16:45:23 +0000 Subject: flags.h (issue_strict_overflow_warning): Convert to a macro. 2007-02-14 Richard Guenther * flags.h (issue_strict_overflow_warning): Convert to a macro. From-SVN: r121951 --- gcc/ChangeLog | 6 +++++- gcc/flags.h | 7 +------ 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'gcc') 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 +2007-02-14 Richard Guenther + + * flags.h (issue_strict_overflow_warning): Convert to a macro. + +2007-02-14 Dorit Nuzman 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 */ -- cgit v1.1