This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[JAVA] Overhaul Java front-end's builtin handling.
- From: Andrew Haley <aph at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, <java-patches at gcc dot gnu dot org>
- Date: Sun, 8 Jun 2003 18:30:17 +0100
- Subject: [JAVA] Overhaul Java front-end's builtin handling.
- References: <16086.12758.553663.701332@cuddles.redhat.com><Pine.LNX.4.44.0305311001130.30823-100000@www.eyesopen.com>
Roger Sayle writes:
> Ok for mainline?
>
>
> 2003-05-31 Roger Sayle <roger@eyesopen.com>
>
> * builtins.c (define_builtin_type, builtin_types): Delete.
> (define_builtin): Rewritten to take just the built-in code,
> the function's name, type and fallback library function name.
> All built-ins used by Java are implicit and BUILT_IN_NORMAL.
> (initialize_builtins): Overhaul to define the GCC builtins
> used by gcj manually, providing the Java run-time's
> implementations as the fallback library function.
>
> * libjava.lang/MathBuiltin.java: New test case.
> * libjava.lang/MathBuiltin.out: New file.
OK.
Andrew.