This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C PATCH for c/68668 (grokdeclarator and wrong type of PARM_DECL)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 7 Dec 2015 17:44:29 +0000
- Subject: Re: C PATCH for c/68668 (grokdeclarator and wrong type of PARM_DECL)
- Authentication-results: sourceware.org; auth=none
- References: <20151203175646 dot GI3175 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1512031809290 dot 16579 at digraph dot polyomino dot org dot uk> <20151203212656 dot GJ3175 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1512032137040 dot 1888 at digraph dot polyomino dot org dot uk> <20151207135409 dot GM3175 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1512071603220 dot 28831 at digraph dot polyomino dot org dot uk> <20151207170117 dot GN3175 at redhat dot com>
On Mon, 7 Dec 2015, Marek Polacek wrote:
> Anyway, here's the version with == 0. Thanks,
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
> 2015-12-07 Marek Polacek <polacek@redhat.com>
>
> PR c/68668
> * c-decl.c (grokdeclarator): If ORIG_QUAL_INDIRECT is indirect, use
> TREE_TYPE of ORIG_QUAL_TYPE, otherwise decrement ORIG_QUAL_INDIRECT.
>
> * gcc.dg/pr68668.c: New test.
OK.
--
Joseph S. Myers
joseph@codesourcery.com