https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68668
--- Comment #7 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- Author: jsm28 Date: Thu Dec 31 00:24:59 2015 New Revision: 232014 URL: https://gcc.gnu.org/viewcvs?rev=232014&root=gcc&view=rev Log: Backport PR c/68668 patch to fix PR c/69037. gcc/c: PR c/69037 Backport from mainline: 2015-12-07 Marek Polacek <pola...@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/testsuite: PR c/69037 Backport from mainline: 2015-12-07 Marek Polacek <pola...@redhat.com> PR c/68668 * gcc.dg/pr68668.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr68668.c Modified: branches/gcc-5-branch/gcc/c/ChangeLog branches/gcc-5-branch/gcc/c/c-decl.c branches/gcc-5-branch/gcc/testsuite/ChangeLog