PR c/12165
* c-decl.c (grokdeclarator): Take type qualifiers of typedefed array type from the array element type. testsuite: * gcc.dg/array-quals-1.c, gcc.dg/c90-idem-qual-3.c, gcc.dg/c99-idem-qual-3.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75514 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 6 additions, 0 deletionsgcc/ChangeLog
- gcc/c-decl.c 15 additions, 5 deletionsgcc/c-decl.c
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/array-quals-1.c 29 additions, 0 deletionsgcc/testsuite/gcc.dg/array-quals-1.c
- gcc/testsuite/gcc.dg/c90-idem-qual-3.c 11 additions, 0 deletionsgcc/testsuite/gcc.dg/c90-idem-qual-3.c
- gcc/testsuite/gcc.dg/c99-idem-qual-3.c 9 additions, 0 deletionsgcc/testsuite/gcc.dg/c99-idem-qual-3.c
Loading
Please register or sign in to comment