This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r232014 - in /branches/gcc-5-branch/gcc: c/Chan...
- From: jsm28 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 31 Dec 2015 00:24:59 -0000
- Subject: r232014 - in /branches/gcc-5-branch/gcc: c/Chan...
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 <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/testsuite:
PR c/69037
Backport from mainline:
2015-12-07 Marek Polacek <polacek@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