Commit ce88799c by Richard Henderson Committed by Richard Henderson

* exception.cc: Revert 05-17 gcc_unreachable change.

From-SVN: r100004
parent 4419e343
2005-05-19 Richard Henderson <rth@redhat.com>
* exception.cc: Revert 05-17 gcc_unreachable change.
2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
* java/lang/natClassLoader.cc (_Jv_NewClass): Use
......
......@@ -19,9 +19,17 @@ details. */
#include <gcj/cni.h>
#include <jvm.h>
// Sometimes we compile libjava without libstdc++-v3. Therefore make
// sure we use stdlib.h's abort().
#define gcc_unreachable() ::abort ()
// unwind-pe.h uses std::abort(), but sometimes we compile libjava
// without libstdc++-v3. The following hack forces it to use
// stdlib.h's abort().
namespace std
{
static __attribute__ ((__noreturn__)) void
abort ()
{
::abort ();
}
}
#include "unwind.h"
struct alignment_test_struct
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment