This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] Fix PR 85896, type confusion with min and max
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 30 Oct 2018 21:21:23 +0200
- Subject: Re: [patch, fortran] Fix PR 85896, type confusion with min and max
- References: <6bc83032-983d-1272-0745-89e5a534d1bb@netcologne.de>
On Tue, Oct 30, 2018 at 8:57 PM Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hello world,
>
> the attached patchlet fixes a rejects-valid bug by simply ignoring the
> type for max and min during simplification. This is correct
> because setting the type of a generic intrinsic function has
> no effect.
>
> It is a rare pleasure to fix a bug by removing code only :-)
>
> Regression-tested. OK for trunk?
>
Ok, thanks.
--
Janne Blomqvist