From: Richard Henderson Date: Sat, 7 Jun 2003 22:18:13 +0000 (-0700) Subject: * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2288bdbb22d1fed3a4b39f60884828c075c34efa;p=platform%2Fupstream%2Fgcc.git * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also. From-SVN: r67605 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14a02ea..2446011 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2003-06-07 Richard Henderson + * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also. + +2003-06-07 Richard Henderson + * basic-block.h (EDGE_SIBCALL): New. (EDGE_ALL_FLAGS): Update. * cfg.c (dump_edge_info): Add sibcall name. diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index c97ced3..3679f86 100644 --- a/gcc/c-cppbuiltin.c +++ b/gcc/c-cppbuiltin.c @@ -307,11 +307,11 @@ c_cpp_builtins (pfile) cpp_define (pfile, "__GXX_WEAK__=1"); else cpp_define (pfile, "__GXX_WEAK__=0"); - if (flag_exceptions) - cpp_define (pfile, "__EXCEPTIONS"); if (warn_deprecated) cpp_define (pfile, "__DEPRECATED"); } + if (flag_exceptions) + cpp_define (pfile, "__EXCEPTIONS"); /* represents the C++ ABI version, always defined so it can be used while preprocessing C and assembler. */