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] gcc/fold-const.c: Correct the report warning position.


On 10/23/15 16:56, Richard Biener wrote:
> On Thu, Oct 22, 2015 at 9:46 PM, Jeff Law <law@redhat.com> wrote:
>>
>> Note that the call to fold_binary from tree-ssa-sccvn.c has been removed.
>> So that hunk either needs to be removed or the change applied elsewhere.
>>

Oh, really, it uses gimple_simplify instead of.

>> I think passing around the location through fold-const.c is OK.
>>

OK, thanks.

>> I'd like to see a testcase in a form ready for inclusion into the testsuite.

OK, thanks, I shall try.

> 
> As an additional remark - I'd like to see us not use input_location
> but always loc,

For me, it sounds reasonable.

> even if UNKNOWN_LOCATION.  The diagnostic machinery should handle this
> correctly(?).  That is, if bootstrap/testign doesn't show testsuite
> regressions because
> of this.
> 

I will try.


Hope I can finish trying above all within 2 days (2015-10-25).


Thanks.
-- 
Chen Gang (éå)

Open, share, and attitude like air, water, and life which God blessed


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