[C PATCH] Better locinfo for -Wc++-compat (PR c/61162)

Joseph S. Myers joseph@codesourcery.com
Tue May 13 17:30:00 GMT 2014


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



More information about the Gcc-patches mailing list