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: C PATCH for c/68668 (grokdeclarator and wrong type of PARM_DECL)


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


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