[C PATCH] Use error_operand_p more

Joseph S. Myers joseph@codesourcery.com
Mon Oct 6 20:42:00 GMT 2014


On Sun, 5 Oct 2014, Marek Polacek wrote:

> It occured to me that we should probably use error_operand_p
> in the C FE where appropriate.  Following change is meant only
> as a little cleanup.
> 
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
> 
> 2014-10-04  Marek Polacek  <polacek@redhat.com>
> 
> 	* c-convert.c (convert): Use error_operand_p.
> 	* c-typeck.c (require_complete_type): Likewise.
> 	(really_atomic_lvalue): Likewise.
> 	(digest_init): Likewise.
> 	(handle_omp_array_sections_1): Likewise.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list