This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2006 23:12:44 -0000
- Subject: [Bug c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct
- References: <bug-27697-10744@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jsm28 at gcc dot gnu dot org 2006-08-16 23:12 -------
Subject: Bug 27697
Author: jsm28
Date: Wed Aug 16 23:12:37 2006
New Revision: 116195
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116195
Log:
PR c/27697
* c-typeck.c (build_component_ref): Combine qualifiers of
structure or union and field.
testsuite:
* gcc.dg/qual-component-1.c: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/qual-component-1.c
- copied unchanged from r116194,
trunk/gcc/testsuite/gcc.dg/qual-component-1.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/c-typeck.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27697