This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C] Fix PR34768, wrong-code with conditional expression with function type
- From: Ian Lance Taylor <iant at google dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 15 Jan 2008 18:45:45 -0800
- Subject: Re: [PATCH][C] Fix PR34768, wrong-code with conditional expression with function type
- References: <Pine.LNX.4.64.0801131549160.4293@zhemvz.fhfr.qr>
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