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][C] Fix PR34768, wrong-code with conditional expression with function type


Richard Guenther <rguenther@suse.de> writes:

> 2008-01-13  Richard Guenther  <rguenther@suse.de>
> 
> 	PR c/34768
> 	* c-typeck.c (common_pointer_type): Do not merge inconsistent
> 	type qualifiers for function types.
> 
> 	* gcc.c-torture/execute/pr34768-1.c: New testcase.
> 	* gcc.c-torture/execute/pr34768-2.c: Likewise.

This is OK unless somebody objects quickly.

Thanks.

Ian


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