Re: 1dedc12d186a110854537e1279b4e6c29f2df35a breakage
I've done some more research, it's not the -dumpbase. Comparing the
java frontend on master as opposed to one based on a commit right
before 1dedc12, the master has '-dumpdir' '.libs/jv-convert-' while
the one before does not, which I believe i
Patch 19 has been resolved.
I had a look-- issue fixed, rough patch below. Full patch will be part of v2.
>From b0d93d8212328fabcbdb32c266c265a4eed49e00 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 15 Dec 2022 09:54:36 +1100
Subject: [PATCH] java: Adjustments to end_params_node and void_list_node.
gcc/
I've been looking over the reviews as well as a few things I've
encountered locally, and collected this list:
Unfortunately, I am simply not familiar enough with the gcc tree to
implement patch 16, although there is a slight possibility that I may
be able to do patch 19, and a stronger one that I
New plan-- this patch is entirely pointless! I have reverted it in a
local build and had no regressions.
As such, simply do not review or consider this patch. I am not not
planning on re-sending the patchset even though it adjusts the patch
numbers because it is such an arduous process given that
> Patches 1 and 2 don't seem to have reached the mailing list.
File size issues on the receiving server. I bzip3 compressed them, but
they were still too big.
Ok, well following that logic it should work to just remove the
void_list_node definition that java uses, as per 8ff2a92. However, it
doesn't, so clearly java does something else to the end_params_node
definition that it shouldn't be, or something similar. I'll have a
look.
> the "all in one go" approach that you seem to have attempted (?)
I did do all the patches in one go onto master, but for rebases and
bisects I did apply them on various baselines. See
https://github.com/Zopolis4/gcj-branches, where all the branches
labellled newplan/year-month-day will have the
In response to the testing thing, one critical issue is that these
patches aren't entirely functional (see the second point of my
original message), so I can't test yet. I'll check once I can though.
> But that looks like the correct thing to do.
It's not. The patch I reverted changes it so that no matter what,
void_list_node = build_tree_list (NULL_TREE, void_type_node);.
Before, each front-end set it in their own way, but they all set it
via void_list_node = build_tree_list (NULL_TREE, void
> * Each patch should have its own explanation of what it is doing and why,
> in the message body (not in an attachment). Just the commit summary line
> and ChangeLog entries aren't enough, we need the actual substantive commit
> message explaining the patch.
The thing is, most of the patches do
> What happens if you remove end_params_node from the Java front-end and
> replace it with void_list_node?
Sadly, nothing.
> No. Java was removed to reduce the maintenance burden, you can't just
> reintroduce the burden and say "hey, I don't want to pay for the burden
> so you please do it".
There were two sentences there. You appear to only have read the first one.
I just took on 6 years of that maintenance burden
> How does the Java FE initialize void_list_node?
https://github.com/Zopolis4/gcj/blob/master/gcc/java/builtins.cc#L503
```
void_list_node = end_params_node;
```
end_params_node is defined a couple times around the Java frontend,
not sure which definition it is using.
> TYPE_METHODS uses the field used by TYPE_BINFO so the patches are related.
As the person who wrote the patches, I can confirm that they are not
in fact related. Or, at least, they fix different issues and have no
reliance upon each other. If you mean related as in they both contain
RECORD_OR_UNI
r checks that TYPE_BINFO has.
>
> I couldn't find a better solution because I'm not particularly versed with
> the internal workings of gcc, if you can think of a better idea feel free to
> let me know.
>
> On Sat, 26 Nov 2022 at 07:20, Richard Biener
>
e'
make: *** [Makefile:1016: all] Error 2
I asked about this in
https://gcc.gnu.org/pipermail/gcc-help/2022-November/141981.html, but
got no response, so I reverted the commit.
On Sat, Nov 26, 2022 at 7:17 AM Richard Biener
wrote:
>
> On Fri, Nov 25, 2022 at 9:46 AM Zopolis0 via Gcc-patches
> wrote:
> >
>
> Why?!
I was reverting a076632e274abe344ca7648b7c7f299273d4cbe0 as it removed code
for Java, but I may have misunderstood the change and made the incorrect
edits.
On Sat, 26 Nov 2022 at 07:16, Richard Biener
wrote:
> On Fri, Nov 25, 2022 at 9:43 AM Zopolis0 via Gcc-patches
> wrote:
> >
On Sat, 26 Nov 2022 at 07:20, Richard Biener
wrote:
> On Fri, Nov 25, 2022 at 9:55 AM Zopolis0 via Gcc-patches
> wrote:
> >
>
> Why add this when nothing uses it and you need to re-add binfo because
> of this? If the frontend uses
> it then add it to lang_type.
>
From a267b06e1e2ef0cd7da0b8d418c348c51b4904e7 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 25 Nov 2022 17:05:30 +1100
Subject: [PATCH 56/56] java, libjava: Upgrade from in-tree boehm-gc to
external boehm-gc 8.3.0.
gcc/java/ChangeLog:
* boehm.cc (get_boehm_type_descriptor)
From 6cddfc752e14a4e8084e62dc03872411ee7493df Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 25 Nov 2022 16:35:31 +1100
Subject: [PATCH 53/56] classpath: Use modern autotools mkdir -p handling.
libjava/classpath/ChangeLog:
* configure.ac: Add AC_PROG_MKDIR_P call, replace @m
From a1a703a9e118ed76cace8165d8ed3e5ec88c6477 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:37:56 +1100
Subject: [PATCH 50/56] libjava: Replace AC_LANG_PROGRAM with AC_LANG_SOURCE.
libjava/classpath/ChangeLog:
* configure.ac: Replace AC_LANG_PROGRAM with AC_L
From 971906a595876549c0a2e3ecefa38aac6efaf487 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:09:27 +1100
Subject: [PATCH 48/56] classpath: Rename documentation files from .texinfo to
.texi.
libjava/classpath/ChangeLog:
* doc/Makefile.am: Rename documentation
libjava/classpath/ChangeLog:
* configure.ac: Remove autoconf2.64 prerequisite.
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
* doc/api/Makefile.in: Likewise.
* examples/Makefile.in: Likewise.
* external/Makefile.in: Likewise.
* external/jsr1
From 9727bbe203cb3e32bd4f70c3e6c1e7a5f08ecc6c Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:07:31 +1100
Subject: [PATCH 46/56] libjava: Remove unnecessary parentheses.
libjava/ChangeLog:
* gnu/gcj/jvmti/Breakpoint.h (_Jv_RewriteBreakpointInsn): Remove unneces
From 0a48a9b40e58611602df083296fb9e272ec47214 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:08:08 +1100
Subject: [PATCH 47/56] libjava: Use ucontext_t instead of struct ucontext.
libjava/ChangeLog:
* include/i386-signal.h: Use ucontext_t instead of struct uco
From 6812eff2161bb08560549fe7b8c309d83af47142 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 25 Nov 2022 16:41:21 +1100
Subject: [PATCH 55/56] classpath: Mark generate-locale-list.sh as executable.
libjava/classpath/ChangeLog:
* scripts/generate-locale-list.sh: Mark as execu
From ddb4f48708722a2343e104cc27d094ce70235362 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:03:06 +1100
Subject: [PATCH 41/56] java: Replace struct deps with struct mkdeps and set
phoniness of dependencies via bool argument to deps_write.
gcc/java/ChangeLog:
From f833395379572ae8d153edab0d9e14bb8182e3dc Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:06:32 +1100
Subject: [PATCH 44/56] java: Add FUNCTION_DECL_CHECK in METHOD_DUMMY.
gcc/java/ChangeLog:
* java-tree.h (METHOD_DUMMY): Check for FUNCTION_DECL.
---
gcc/j
From f212f36a69de5a84b2f66951c97ad454e03fb646 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 25 Nov 2022 16:40:15 +1100
Subject: [PATCH 54/56] classpath: Use info-in-builddir.
libjava/classpath/ChangeLog:
* doc/Makefile.am: Add info-in-builddir.
* doc/Makefile.in: Reconfigu
From 94f41c513be007f380e2c18771ab9d8fd33ecd76 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 18:58:44 +1100
Subject: [PATCH 37/56] java: Build SWITCH_EXPR using build2 instead of build3.
gcc/java/ChangeLog:
* expr.cc (expand_java_switch): Build SWITCH_EXPR using
From 455027503890dabd31947f45ca8ac6c78a1360e5 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:04:36 +1100
Subject: [PATCH 42/56] java: Include memmodel.h in builtins.cc.
gcc/java/ChangeLog:
* builtins.cc: Include memmodel.h.
---
gcc/java/builtins.cc | 1 +
1 f
From 47048f95e0fd265badb53dc373e6bdc91f7ac39c Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:31:50 +1100
Subject: [PATCH 28/56] java: Replace TYPE_MINVAL with TYPE_MIN_VALUE_RAW.
gcc/java/ChangeLog:
* java-tree.h (TYPE_ARGUMENT_SIGNATURE): Replace TYPE_MINVAL
From 64685f25317b541ff9a677e34a2df01d136665e4 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:43:14 +1100
Subject: [PATCH 51/56] libjava: Check for libz_convenience.la instead of
libzgcj_convenience.la.
libjava/ChangeLog:
* configure.ac: Check for libz_conveni
From 93865231f5e5b2217ac9709b95a3eff2b068a6c4 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 18:55:56 +1100
Subject: [PATCH 36/56] java: Don't check the value of dump_switch_p.
gcc/java/ChangeLog:
* lang.cc (java_handle_option): Don't check the value of dump_swit
From 03914cb1b32656b3d54a7c838666d32c8d2c1c4e Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:00:01 +1100
Subject: [PATCH 39/56] java: Check that type is array or integer before
checking string flag.
gcc/java/ChangeLog:
* decl.cc (push_promoted_type): Check th
From 9cc1761bef480ab6833b499a4293d4f60b6ac756 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:27:17 +1100
Subject: [PATCH 23/56] java: Don't build by default.
gcc/java/ChangeLog:
* config-lang.in: Don't build Java by default.
---
gcc/java/config-lang.in | 2 +-
From 6f8caea61b454cfa8fd55ad2ae17cd613f39e77e Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:07:03 +1100
Subject: [PATCH 45/56] libjava: Remove unnecessary register keyword.
libjava/ChangeLog:
* java/lang/natString.cc (_Jv_FormatInt): Remove unnecessary regist
From 9b2de9f1573a12674ab30e4dc7b5ccbf5b5d5921 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 18:54:38 +1100
Subject: [PATCH 35/56] java: Use checking forms of DECL_FUNCTION_CODE.
gcc/java/ChangeLog:
* builtins.cc (define_builtin): Use set_decl_built_in_function.
From 06d15f71846a82e92ac842d5df30f6cac6fed523 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 18:59:38 +1100
Subject: [PATCH 38/56] java: Use dump_flags_t.
gcc/java/ChangeLog:
* java-gimplify.cc (dump_java_tree): Use dump_flags_t.
---
gcc/java/java-gimplify.cc |
From 03f1795edba9ec9c8cb64031ddfe61a67e6167ff Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:53:31 +1100
Subject: [PATCH 21/56] Rename gcc/java/*.c to *.cc.
gcc/java/ChangeLog:
* Make-lang.in: Rename .c names to .cc.
* boehm.c: Moved to...
* boehm.cc: ...her
From cdeae5ba5f541b14ad50efc16f4d17f24998e115 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:05:03 +1100
Subject: [PATCH 43/56] java: Include opt-suggestions.h in jvspec.cc.
gcc/java/ChangeLog:
* jvspec.cc: Include opt-suggestions.h.
---
gcc/java/jvspec.cc |
From a6dd3bf6fbd57289dee1a73bc8b24b3de33374b6 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:38:01 +1100
Subject: [PATCH 34/56] java: Replace flag_excess_precision_cmdline with
flag_excess_precision.
gcc/java/ChangeLog:
* lang.cc (java_post_options): Replace
From eb12f8c4c87314779ae35842f7a833eb4ad89b62 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:22:36 +1100
Subject: [PATCH 17/56] gcc: Add binfo value to tree_type_non_common and make
TYPE_BINFO use it.
gcc/ChangeLog:
* tree-core.h (struct tree_type_non_common)
From 3fdb672e06dc91ec22bfb56ec3b441fdbc343fdd Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:34:07 +1100
Subject: [PATCH 31/56] java: Use HOST_WIDE_INT.
gcc/java/ChangeLog:
* lang.cc (java_handle_option): Replace 'int value' with 'HOST_WIDE_INT value'.
---
gc
From 704b4df7d1965090d27e76eba9257e2a29b34595 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 19:01:56 +1100
Subject: [PATCH 40/56] java: Fix Wstringop-* warnings.
gcc/java/ChangeLog:
* jcf-parse.cc (compute_class_name): Fix Wstringop-* warnings.
Co-authored-by:
From d240e44f078badbaff23b7dc73c17f82c3b791d0 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:36:52 +1100
Subject: [PATCH 33/56] java: Fix -Wformat-diag warnings.
gcc/java/ChangeLog:
* decl.cc (force_poplevels): Fix -Wformat-diag warning.
* except.cc (doing_eh
From d512d93b50ce31537b2d05615b5c553c07a6ebdb Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:33:35 +1100
Subject: [PATCH 30/56] java: Add handle_nonnull_attribute function.
gcc/java/ChangeLog:
* lang.cc (handle_nonnull_attribute): Add.
(java_eh_personality):
From 19c63dd04c55e0954e181b8b6cd06e435024df70 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:21:50 +1100
Subject: [PATCH 16/56] gcc: Re-add TYPE_METHODS.
gcc/ChangeLog:
* tree.h (TYPE_METHODS): Re-add.
---
gcc/tree.h | 2 ++
1 file changed, 2 insertions(+)
d
From 757dda1de05e322415f3cf26078527626a1c7da5 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:35:41 +1100
Subject: [PATCH 32/56] java: Replace pfatal_with_name with fatal_error.
gcc/java/ChangeLog:
* jvspec.cc (lang_specific_driver): Replace pfatal_with_name wi
From be336e025f92b7ce30143380f8d1d50a7f02d282 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:32:58 +1100
Subject: [PATCH 29/56] java: Properly handle GET_MODE_SIZE as a poly_uint16.
gcc/java/ChangeLog:
* builtins.cc (compareAndSwapLong_builtin): Treat GET_MODE
From 3642e1652800078ab126a6d1575a370076d476e0 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:31:22 +1100
Subject: [PATCH 27/56] java: Replace source_location with location_t.
gcc/java/ChangeLog:
* decl.cc (java_replace_references): Replace source_location with
From 4ad8c0daab866f3d811006846a8040c9f05c0384 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:19:34 +1100
Subject: [PATCH 15/56] libcpp: Change deps_write and make_write to take class
mkdeps instead of const cpp_reader and to learn about the the dependency
phoni
From 56b722459a756a283e97c8508c8e187a1c81 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:23:33 +1100
Subject: [PATCH 18/56] Fix regression around friend declarations in local
classes [PR69410].
gcc/cp/ChangeLog:
* name-lookup.cc (pop_local_binding): Remov
From c4e928a8f9d194a45ac4fd1b638c9978da790dea Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:29:21 +1100
Subject: [PATCH 25/56] java: Replace PTR with 'void *'.
gcc/java/ChangeLog:
* expr.cc (pop_arguments): Use void * instead of PTR.
* jcf.h (GTY): Likewise.
From 186b17cf869fa906761987e2d34ecbc4c8adb514 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:30:19 +1100
Subject: [PATCH 26/56] java: Remove 'FREE' macro.
gcc/java/ChangeLog:
* jcf-parse.cc (parse_zip_file_entries): Use free instead of FREE.
* jcf.h (FREE): R
From 4a60186570defebed7d811b37c46092267407a96 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:05:50 +1100
Subject: [PATCH 13/56] Re-add flag_evaluation_order, reorder_operands_p, and
add reorder bool argument to tree_swap_operands_p.
gcc/ChangeLog:
* common.op
From d686e07a2900e8fe2c13b58b0a00021ce932e507 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:03:34 +1100
Subject: [PATCH 12/56] Re-add Java (to) comments.
gcc/ChangeLog:
* cfgexpand.cc (expand_gimple_basic_block): Re-add Java comment.
* gimplify.cc (gimplify_
From 3972b6e455e33a9a03dbddfe05f4fb2110b47492 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 14:28:04 +1100
Subject: [PATCH 24/56] java: Add empty selftest hook.
gcc/java/ChangeLog:
* Make-lang.in: Add empty selftest hook.
---
gcc/java/Make-lang.in | 3 +++
1 fi
From a7801c18fac9b20ee47d09ed15380a83fabeeec9 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:34:30 +1100
Subject: [PATCH 20/56] Re-add Java handling to gcc and gcc/cp.
gcc/cp/ChangeLog:
* call.cc (build_java_interface_fn_ref): Re-add.
(build_over_call): Handl
From 72b2446899b30213647de3d504f3f9058f49b027 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 17 Nov 2022 14:16:08 +1100
Subject: [PATCH 11/56] Re-add handling of Java file extensions (.java, .class,
.zip, .jar).
gcc/ChangeLog:
* gcc.cc: Re-add compiler defaults for .java an
From 82fa9c7851beeb448fc6977f92297fb123c9f1de Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 18:44:19 +1100
Subject: [PATCH 10/56] Re-add JCR_SECTION_NAME, TARGET_USE_JCR_SECTION,
__LIBGCC_JCR_SECTION_NAME__, _Jv_RegisterClasses, __JCR_LIST__, __JCR_END__.
gcc/c-f
From 802da4df1d0fba08ab3e14529f10942ed87d4eef Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:54:55 +1100
Subject: [PATCH 22/56] java: Comment out -fassert documentation.
gcc/java/ChangeLog:
* lang.opt: Comment out -fassert documentation.
---
gcc/java/lang.opt
From 724c8fd361781a31f2899876e28ccd783805b599 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 24 Nov 2022 18:48:12 +1100
Subject: [PATCH 09/56] Re-add LIBGCJ_SONAME.
gcc/ChangeLog:
* config/i386/cygwin.h (LIBGCJ_SONAME): Define.
* config/i386/mingw32.h (LIBGCJ_SONAME): Likew
From c173c5771008522c13792bf89a27f6c95989dce5 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:26:42 +1100
Subject: [PATCH 19/56] Revert "Move void_list_node init to common code".
(8ff2a92a0450243e52d3299a13b30f208bafa7e0)
gcc/ada/ChangeLog:
* gcc-interface/tra
From 558ba6feeeb75bafdbcadd05a8e708b567b3bfc0 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 17 Nov 2022 14:08:04 +1100
Subject: [PATCH 08/56] Re-add MODIFY_JNI_METHOD_CALL.
gcc/ChangeLog:
* config/i386/cygming.h (MODIFY_JNI_METHOD_CALL): Define.
* doc/tm.texi: Rebuild.
*
From c38422135e51852cdfe3236176afd0e2e3c53707 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 18 Nov 2022 09:16:15 +1100
Subject: [PATCH 14/56] middle-end: Set TREE_ADDRESSABLE in folding debug
stmts.
gcc/ChangeLog:
* gimple-fold.cc (canonicalize_constructor_val): Set TREE_A
From aa73ec10a5b2503760042bcfd031d3f17af64c87 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 17 Nov 2022 14:05:59 +1100
Subject: [PATCH 07/56] Darwin: Re-add Java workaround constraint about putting
small items into data/static data.
gcc/ChangeLog:
* config/darwin.cc (darwi
From 260c6b8b5a0706151e304a53c347cbd2c8c68fe1 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 17 Nov 2022 13:56:46 +1100
Subject: [PATCH 06/56] Re-add tests for Java.
gcc/testsuite/ChangeLog:
* g++.dg/ext/java-1.C: Re-add test.
* g++.dg/ext/java-2.C: Likewise.
* g++.dg/ext/
From 1449424816c8f4df725c15498d1d7dc72f031e97 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 17 Nov 2022 13:54:51 +1100
Subject: [PATCH 05/56] contrib: Re-add Java entries.
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Re-add gcc/java and libjava.
* gcc_update: Likewise
From cf898ad31a103be8686c557d134dbcdc468adb9e Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Thu, 17 Nov 2022 13:51:26 +1100
Subject: [PATCH 04/56] Re-add autotools glue for Java front-end and library.
ChangeLog:
* Makefile.def: Re-add GCJ and libjava.
* Makefile.in: Regenerate.
From 9dc7fa2aab60decf4abad15a66d26c50f67b9510 Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss
Date: Fri, 25 Nov 2022 18:28:09 +1100
Subject: [PATCH 03/56] Re-add documentation for Java front-end and library.
gcc/ChangeLog:
* doc/cfg.texi: Re-add references to Java front-end and library.
Disclaimer: this does not currently work.
The front-end and library compile successfully, but fail to link at
the very end.
This is due to a regression caused by
1dedc12d186a110854537e1279b4e6c29f2df35a, which I have been unable to
solve.
Nevertheless, I am posting this patch series for two reaso
Over the past few months I have been working on re-adding gcj to gcc (
https://github.com/Zopolis4/gcj/tree/mster). It is now at the point where
all of the code in gcc/java and the related additions to other gcc files
compiles successfully, although libjava still breaks.
Given that I do not know h
Over the past few months I have been working on re-adding gcj back into
gcc, as the fundamental issue holding it back (the need to create an
open-source implementation of java from the ground up) has since been
solved by the opening of the JDK.
Unfortunately, as the old gcj code is several years o
75 matches
Mail list logo