This is the mail archive of the gcc-bugs@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]

[Bug c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct



------- 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


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