aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2001-05-05 14:29:39 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2001-05-05 14:29:39 +0200
commit2a9071bb2f453b5d36ea3149c36ac27df57629fd (patch)
tree3335fa9b40dbe8a0b349b3013c77a50ea592bfb1 /gcc/gcc.c
parentf277b5e03b84f165522aadcaf16a7cfddecfc087 (diff)
downloadgcc-2a9071bb2f453b5d36ea3149c36ac27df57629fd.zip
gcc-2a9071bb2f453b5d36ea3149c36ac27df57629fd.tar.gz
gcc-2a9071bb2f453b5d36ea3149c36ac27df57629fd.tar.bz2
gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring "inline" keyword.
* gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring "inline" keyword. * cpp.texi (__NO_INLINE): Document it. From-SVN: r41866
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 643345e..34047e6 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -647,7 +647,7 @@ static const char *cpp_options =
%{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\
%{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\
- %{ffast-math:-D__FAST_MATH__}\
+ %{fno-inline|O0|!O*:-D__NO_INLINE__} %{ffast-math:-D__FAST_MATH__}\
%{fshort-wchar:-U__WCHAR_TYPE__ -D__WCHAR_TYPE__=short\\ unsigned\\ int}\
%{ffreestanding:-D__STDC_HOSTED__=0} %{fno-hosted:-D__STDC_HOSTED__=0}\
%{!ffreestanding:%{!fno-hosted:-D__STDC_HOSTED__=1}}\