This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [libobjc] Make exception.c safe for unwind.h
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, David Ayers <d dot ayers at inode dot at>, GCC Patches <gcc-patches at gcc dot gnu dot org>, java-patches at gcc dot gnu dot org
- Date: Thu, 19 May 2005 12:38:53 -0400
- Subject: Re: [libobjc] Make exception.c safe for unwind.h
- References: <428C5CD9.6050404@inode.at> <jeis1f5oqi.fsf@sykes.suse.de> <m37jhvgp3p.fsf@localhost.localdomain>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, May 19, 2005 at 10:25:14AM -0600, Tom Tromey wrote:
> >>>>> "Andreas" == Andreas Schwab <schwab@suse.de> writes:
>
> Andreas> unwind.h is also used by libjava.
>
> Andreas> 2005-05-19 Andreas Schwab <schwab@suse.de>
> Andreas> * configure.ac (GCC_UNWIND_INCLUDE): Add
> Andreas> `-I$(libgcj_basedir)/../include'.
> Andreas> * configure: Regenerate.
> Andreas> * include/java-stack.h: Include <tsystem.h>.
>
> Why not just do what libjava/exception.cc does?
>
> #define gcc_unreachable() ::abort ()
Or don't use gcc_assert() and gcc_unreachable() in target libraries/
objects at all?
Jakub