summaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-02-13 00:29:42 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-02-13 00:29:42 +0000
commitcf3c6c99b86ed87b7028c0d2ba7fd639aa92010a (patch)
tree6e99ff231c68d3845223cfdc879a9b9c4d52aa58 /libjava/exception.cc
parent845d6a2f5ada77599956850f792baea8b1d8e195 (diff)
downloadgcc-cf3c6c99b86ed87b7028c0d2ba7fd639aa92010a.tar.gz
* exception.cc (std::abort): Mark as noreturn.
From-SVN: r49717
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 ();
}