aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-05-03 18:51:50 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-05-03 16:51:50 +0000
commitb91cc3b9dcc840b259b0d7e6551b047a42695f87 (patch)
tree9782ea6d96c8f32b927dedaf2e417a7706ad8744 /libstdc++-v3/libsupc++
parentbd67512af1cd143d69c499b570fd06a3e1924ac1 (diff)
downloadgcc-b91cc3b9dcc840b259b0d7e6551b047a42695f87.zip
gcc-b91cc3b9dcc840b259b0d7e6551b047a42695f87.tar.gz
gcc-b91cc3b9dcc840b259b0d7e6551b047a42695f87.tar.bz2
settings.h (get): Mark const.
* include/parallel/settings.h (get): Mark const. * libsupc++/unwind-cxx.h (__cxa_call_terminate): Mark throw (). * libsupc++/eh_call.cc (__cxa_call_terminate): Mark throw (). * config/io/basic_file_stdio.cc (sys_open, is_open, fd, seekoff): Mark throw (). * config/io/basic_file_stdio.h (__basic_file, sys_open): Mark throw (). (is_open, fd): Mark pure and throw (). (seekoff): Mark throw (). From-SVN: r147077
Diffstat (limited to 'libstdc++-v3/libsupc++')
-rw-r--r--libstdc++-v3/libsupc++/eh_call.cc2
-rw-r--r--libstdc++-v3/libsupc++/unwind-cxx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/libsupc++/eh_call.cc b/libstdc++-v3/libsupc++/eh_call.cc
index a737eb8..0054e52 100644
--- a/libstdc++-v3/libsupc++/eh_call.cc
+++ b/libstdc++-v3/libsupc++/eh_call.cc
@@ -37,7 +37,7 @@ using namespace __cxxabiv1;
// terminate.
extern "C" void
-__cxa_call_terminate(_Unwind_Exception* ue_header)
+__cxa_call_terminate(_Unwind_Exception* ue_header) throw ()
{
if (ue_header)
diff --git a/libstdc++-v3/libsupc++/unwind-cxx.h b/libstdc++-v3/libsupc++/unwind-cxx.h
index e4918b2..6033caf 100644
--- a/libstdc++-v3/libsupc++/unwind-cxx.h
+++ b/libstdc++-v3/libsupc++/unwind-cxx.h
@@ -187,7 +187,7 @@ extern "C" void __cxa_bad_typeid () __attribute__((__noreturn__));
// throws, and if bad_exception needs to be thrown. Called from the
// compiler.
extern "C" void __cxa_call_unexpected (void *) __attribute__((noreturn));
-extern "C" void __cxa_call_terminate (_Unwind_Exception*) __attribute__((noreturn));
+extern "C" void __cxa_call_terminate (_Unwind_Exception*) throw () __attribute__((noreturn));
#ifdef __ARM_EABI_UNWINDER__
// Arm EABI specified routines.