summaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-13 00:29:42 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-13 00:29:42 +0000
commit8a40d4a8b614921c78ac6e3b8178b0430debc2aa (patch)
tree6e99ff231c68d3845223cfdc879a9b9c4d52aa58 /libjava/exception.cc
parentc403e70d919b195938dbdd1d79e8afaaaf2a0363 (diff)
downloadgcc-8a40d4a8b614921c78ac6e3b8178b0430debc2aa.tar.gz
* exception.cc (std::abort): Mark as noreturn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49717 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r--libjava/exception.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc
index 5d1f28886d5..176e2488d0b 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -1,6 +1,6 @@
// Functions for Exception Support for Java.
-/* Copyright (C) 1998, 1999, 2001 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation
This file is part of libgcj.
@@ -23,7 +23,7 @@ details. */
// stdlib.h's abort().
namespace std
{
- void abort ()
+ __attribute__ ((__noreturn__)) void abort ()
{
::abort ();
}