diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-01-05 17:14:30 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2010-01-05 17:14:30 +0000 |
commit | 6a4d4e8a858aa2290092d5a7200ec797daf3ae1b (patch) | |
tree | 94d109ef057bc7ce14a8f5017dfbbe0b88f96afb /include/ansidecl.h | |
parent | d097567da357024ce7863036368e48b0fd4baaaa (diff) | |
download | gcc-6a4d4e8a858aa2290092d5a7200ec797daf3ae1b.zip gcc-6a4d4e8a858aa2290092d5a7200ec797daf3ae1b.tar.gz gcc-6a4d4e8a858aa2290092d5a7200ec797daf3ae1b.tar.bz2 |
re PR bootstrap/41771 (Bootstrap with Sun Studio 12.1 fails)
gcc:
PR bootstrap/41771
* flags.h: Don't include real.h.
(HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
* real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
* dominance.c: Update copyright.
* gimple.c (walk_gimple_op): Remove inline.
* tree-ssa-reassoc.c: Include real.h.
* Makefile.in (FLAGS_H): Remove $(REAL_H).
(tree-ssa-reassoc.o): Depend on $(REAL_H).
include:
PR bootstrap/41771
* ansidecl.h: Fix inline test for C99 and Sun Studio cc.
From-SVN: r155654
Diffstat (limited to 'include/ansidecl.h')
-rw-r--r-- | include/ansidecl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ansidecl.h b/include/ansidecl.h index 86b0944..8b76647 100644 --- a/include/ansidecl.h +++ b/include/ansidecl.h @@ -1,6 +1,6 @@ /* ANSI and traditional C compatability macros Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006, 2007, 2009 + 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -178,7 +178,7 @@ So instead we use the macro below and test it against specific values. */ /* inline requires special treatment; it's in C99, and GCC >=2.7 supports it too, but it's not in C89. */ #undef inline -#if __STDC_VERSION__ > 199901L || defined(__cplusplus) +#if __STDC_VERSION__ >= 199901L || defined(__cplusplus) || (defined(__SUNPRO_C) && defined(__C99FEATURES__)) /* it's a keyword */ #else # if GCC_VERSION >= 2007 |