From: Joseph Myers <joseph@codesourcery.com>
To: Zopolis0 <creatorsmithmdt@gmail.com>
Cc: <gcc-patches@gcc.gnu.org>
Subject: Re: Java front-end and library patches.
Date: Wed, 30 Nov 2022 18:22:56 +0000 [thread overview]
Message-ID: <449467f8-19-facf-f837-c5b92c7accf0@codesourcery.com> (raw)
In-Reply-To: <CAEYL+X8ibkH2AyeyM8aVMkL6gaRWTatwHonFowVF00Tk-CE62w@mail.gmail.com>
On Wed, 30 Nov 2022, Zopolis0 via Gcc-patches wrote:
> > * 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 not need an explanation. Patches
> 1-13 are just re-adding code,
Then state that in the message body (with a reference to the commit that
removed the code).
Just because code was removed in a given form doesn't mean it should be
added back in that form. For example, patch 13, "Re-add
flag_evaluation_order, reorder_operands_p, and add reorder bool argument
to tree_swap_operands_p", seems suspicious. That sort of global state
affecting IR semantics is best avoided; rather, the Java gimplification
support should deal with ensuring the correct ordering for operations in
the GIMPLE generated. Note that C++ flag_strong_eval_order (for C++17
evaluation order requirements) is specific to the front end; it doesn't
require anything in expr.cc or fold-const.cc or other language-independent
files. So you should do something similar for Java rather than adding
back global language-independent state for this.
Patches 1 and 2 don't seem to have reached the mailing list.
> 20-43 and 47 are just applying treewide
> changes that Java missed out on,
So say for each one exactly which commit it's applying the changes for.
> > How has the series been validated?
>
> I'm not exactly sure what you mean by this.
What target triplets did you run the GCC testsuite on (before and after
the changes, with no regressions), with what results for the Java-specific
tests?
> I plan to
> replace Classpath with the OpenJDK, and double down on the machine
> code aspect of GCJ, dropping bytecode and interpreted support.
This sort of thing is key information to include in the summary message
for any future versions of the patch series.
--
Joseph S. Myers
joseph@codesourcery.com
next prev parent reply other threads:[~2022-11-30 18:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 8:37 Zopolis0
2022-11-28 22:35 ` Joseph Myers
2022-11-30 12:18 ` Zopolis0
2022-11-30 12:50 ` Xi Ruoyao
2022-11-30 18:22 ` Joseph Myers [this message]
2022-12-01 11:50 ` Thomas Schwinge
2022-12-02 0:24 ` Zopolis0
2022-12-02 0:26 ` Zopolis0
2022-12-06 11:24 ` Zopolis0
2022-12-12 0:08 ` Zopolis0
2022-12-14 23:01 ` Zopolis0
2022-12-15 2:22 ` Zopolis0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=449467f8-19-facf-f837-c5b92c7accf0@codesourcery.com \
--to=joseph@codesourcery.com \
--cc=creatorsmithmdt@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).