This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: write w/o approval policy (Re: [PATCH] clarify comments for implicit_p flag for built-ins)
- From: Jeff Law <law at redhat dot com>
- To: Martin Sebor <msebor at gmail dot com>, Richard Biener <richard dot guenther at gmail dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 28 Nov 2018 16:53:32 -0700
- Subject: Re: write w/o approval policy (Re: [PATCH] clarify comments for implicit_p flag for built-ins)
- References: <7b85299c-f650-21b2-e0f4-232e630329e6@gmail.com> <cac5eb40-8b38-6a23-8769-88933c81f102@gmail.com> <5e593f44-722c-3873-38fe-ea5ab71241e9@gmail.com> <CAFiYyc18npaev42E=PJaF7Dj8vTngRaa57CM0+YrJrdaQY7nrQ@mail.gmail.com> <8dee56c8-3b18-c59e-5d2a-0d38e0b4e8cc@gmail.com>
On 11/28/18 11:39 AM, Martin Sebor wrote:
> On 11/28/18 6:35 AM, Richard Biener wrote:
>> On Tue, Nov 27, 2018 at 3:52 AM Martin Sebor <msebor@gmail.com> wrote:
>>>
>>> Ping: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg01759.html
>>>
>>> If there are no objections or suggestions for tweaks I'll commit
>>> this updated comment this week.
>>
>> Please do not commit such changes w/o approval.
>
> Since you're the second maintainer to ask me that in response
> to a patch to update comments I'd like to get some clarity here.
>
> I have been assuming that the GCC Write access policy (quoted
> below) lets those of us with write-after-approval make a judgment
> call as to when a change is sufficiently safe to commit:
>
> Obvious fixes can be committed without prior approval. Just
> check in the fix and copy it to gcc-patches. A good test to
> determine whether a fix is obvious: "will the person who
> objects to my work the most be able to find a fault with my
> fix?" If the fix is later found to be faulty, it can always
> be rolled back. We don't want to get overly restrictive about
> checkin policies.
>
> (https://www.gnu.org/software/gcc/svnwrite.html#policies)
>
> If we are not at liberty to make this judgment call in even
> the most innocuous cases like comments, when does this policy
> actually apply? (It should be updated to make it clear.)
The thing is I looked at the patch and it was far from obvious what was
going on. Thus I put it in my queue of things to dig deeper into. I
haven't done that digging yet.
Comments are actually important. They often describe what the code is
supposed to do, rationale, historical context, etc. Just because we're
changing a comment doesn't mean it's inherently trivial/obvious.
I'm generally supportive of lessening friction for developers and I
welcome proposals to do that.
Jeff