This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fortran/66106 -- Enforce C1202 from F2008


On Fri, May 15, 2015 at 05:45:54PM +0200, FX wrote:
>  - You're missing the match.c part of the patch (I really had
>  a hard time figuring out how the patch was supposed to work!
>  then I read the one posted in the PR)

Whoops, sorry about that.  As you can see I have small patches
sitting in my tree.  I tried to untangle the 'svn diff'

>  - Let's avoid the strcmp() string comparison and use
> 'op == INTRINSIC_NONE' as the condition (seems clearer and more
> efficient to me)
>  - Maybe not doing all the tests (those after "The following
>  if-statements") if op == INTRINSIC_NONE, as all the s2
>  comparisons will be false.
>  - The PR number in the ChangeLog is wrong (both times)

Whoops copy-n-paste from one log to another.

> With the above fixed, it???s OK.
> Thanks for taking care of all this!

I'll rework the patch to address your 2 suggestions.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]