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: [C PATCH] Better locinfo for -Wc++-compat (PR c/61162)


On Tue, 13 May 2014, Marek Polacek wrote:

> Tiny patch, just use available location instead of input_location.
> 
> Tested x86_64.  Ok?
> 
> 2014-05-13  Marek Polacek  <polacek@redhat.com>
> 
> 	PR c/61162
> 	* c-typeck.c (convert_for_assignment): Pass location to
> 	WARN_FOR_ASSIGNMENT instead of input_location.
> 
> 	* gcc.dg/pr61162.c: New test.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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