This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 67219, erroneous warning
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 30 Oct 2016 10:34:06 -0700
- Subject: Re: [patch, fortran] Fix PR 67219, erroneous warning
- Authentication-results: sourceware.org; auth=none
- References: <23b20f03-ca1f-defc-c5de-c3bd09524bf0@netcologne.de>
On Sun, Oct 30, 2016 at 05:32:52PM +0100, Thomas Koenig wrote:
>
> the regression in question was caused by issuing a conversion
> warning for a complex constant too early, when the statement would be
> rejected later.
>
> The solution is to throw away the warning if we do not find that
> comma.
>
> Regression-tested. OK for trunk and 6-branch?
>
OK.
--
Steve