This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR 57160: short-circuit IF only with -ffrontend-optimize
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Dominique d'Humières <dominiq at lps dot ens dot fr>
- Cc: Thomas Koenig <tkoenig at netcologne dot de>, gfortran <fortran at gcc dot gnu dot org>
- Date: Sat, 28 Jul 2018 10:03:21 +0200
- Subject: Re: [Patch, Fortran] PR 57160: short-circuit IF only with -ffrontend-optimize
- References: <D5735AF3-C09F-474B-B11F-AA108A1064B5@lps.ens.fr>
2018-07-27 18:42 GMT+02:00 Dominique d'Humières <dominiq@lps.ens.fr>:
>> If there is further constructive criticism regarding v3 of the patch,
>> as posted at https://gcc.gnu.org/ml/fortran/2018-07/msg00103.html,
>> I'll be happy to deal with that. If not, I'd like to commit it by the
>> weekend.
>
> This patch breaks backward compatibility
Not for valid Fortran code. The patch only affects code that is not
guaranteed to work by the Fortran standard, like "if (associated(a)
.and. a>0)".
"Breaking" such code is precisely the purpose of the patch. The idea
is to discourage users from writing such code, because it is not valid
Fortran code (and therefore not portable). Are you trying to argue
that such code should work with gfortran?
> Hence I am definitively against this patch.
If you are against it, do you have *any* other solution for the problem at hand?
> Now I have wasted more than enough of my time on this nonsense and I won’t post anything else on this thread.
Say what ...? You know, your behavior is pissing me off like hell, dude.
What you're saying here is that you disapprove of the patch, but
you're not willing to discuss the reasons. That is not constructive at
all. I'm trying to make a contribution to improving gfortran, and you
are just brute-force blocking that effort due some very emotional
personal opinion, and with zero objective arguments. I don't think
that's how things should work, and it greatly reduces my motivation to
make any further contributions here.
In fact it's me who's wasting his time, not you. You are just blaring
out three-sentence replies with words like "nonsense" that don't
contribute anything to this discussion except bad vibrations. That's
not helping anyone, and it's certainly not helping to improve
gfortran.
Cheers,
Janus