diff options
author | Geoffrey Keating <geoffk@apple.com> | 2006-02-24 21:43:01 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2006-02-24 21:43:01 +0000 |
commit | c7b5e39561d3a7895496c2fb231450544f4a9306 (patch) | |
tree | 501f0f2b9d0c19c624f6a6ae51162e498fd2b1e1 /gcc/c-common.h | |
parent | 676cb929fcac50fbe3bd71de734a8f40b5b2ea10 (diff) | |
download | gcc-c7b5e39561d3a7895496c2fb231450544f4a9306.zip gcc-c7b5e39561d3a7895496c2fb231450544f4a9306.tar.gz gcc-c7b5e39561d3a7895496c2fb231450544f4a9306.tar.bz2 |
Index: gcc/ChangeLog
2006-02-24 Geoffrey Keating <geoffk@apple.com>
* doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS.
* doc/invoke.texi (C++ Dialect Options): Document
-fno-use-cxa-get-exception-ptr.
* configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1.
* configure: Regenerate.
* c.opt (fuse-cxa-get-exception-ptr): New.
* c-opts.c (c_common_handle_option): Handle
OPT_fuse_cxa_get_exception_ptr.
* c-common.c (flag_use_cxa_atexit): Update documentation.
(flag_use_cxa_get_exception_ptr): New.
* c-common.h (flag_use_cxa_get_exception_ptr): New.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve
documentation.
(C_COMMON_OVERRIDE_OPTIONS): New.
Index: gcc/testsuite/ChangeLog
2006-02-24 Geoffrey Keating <geoffk@apple.com>
* g++.dg/eh/uncaught1.C: Add dg-options for ppc-darwin.
* g++.dg/eh/uncaught2.C: New.
* g++.dg/eh/uncaught3.C: New.
Index: gcc/cp/ChangeLog
2006-02-24 Geoffrey Keating <geoffk@apple.com>
* except.c (expand_start_catch_block): Handle
flag_use_cxa_get_exception_ptr.
From-SVN: r111427
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 6498255..ed93f97 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -549,6 +549,11 @@ extern int flag_working_directory; extern int flag_use_cxa_atexit; +/* Nonzero to use __cxa_get_exception_ptr in the C++ exception-handling + logic. */ + +extern int flag_use_cxa_get_exception_ptr; + /* Nonzero means make the default pedwarns warnings instead of errors. The value of this flag is ignored if -pedantic is specified. */ |