This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Java: Standard comformant arithmetic
- To: oliva at dcc dot unicamp dot br
- Subject: Re: [PATCH] Java: Standard comformant arithmetic
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 21 Jul 1999 15:38:20 -0000
- CC: egcs-patches at egcs dot cygnus dot com
> From: Alexandre Oliva <oliva@dcc.unicamp.br>
> Date: 21 Jul 1999 12:34:55 -0300
>
> On Jul 21, 1999, Andrew Haley <aph@pasanda.cygnus.co.uk> wrote:
>
> > An unfortunate side effect of this is that the libgcj.spec file is now
> > required at compile time as well as at link time. I don't know if
> > this will be a problem for anyone.
>
> Since libgcj.spec is only installed by libgcj, which is not part of
> gcc, this *is* a problem. How about arranging that gcc installs a
> compile-time version of libgcj.spec, and libgcj installs a complete
> version?
Because, as discussed earlier, the compiler **needs to know** whether
libjava can trap divide overflows or not. Without this information it
cannot generate correct code.
Andrew.