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

Re: C, C++: Fix PR 69733 (bad location for ignored qualifiers warning)


On 07/21/2016 08:39 PM, Jeff Law wrote:
On 07/15/2016 07:04 AM, Bernd Schmidt wrote:
c/
    PR c++/69733
    * c-decl.c (smallest_type_quals_location): New static function.
    (grokdeclarator): Try to find the correct location for an ignored
    qualifier.
cp/
    PR c++/69733
    * decl.c (grokdeclarator): Try to find the correct location for an
    ignored qualifier.
testsuite/
    PR c++/69733
    * c-c++-common/pr69733.c: New test.
    * gcc.dg/pr69733.c: New test.
    * gcc.target/i386/pr69733.c: New test.
Yes, this version is OK too.

It fell through the cracks for a while - now committed.


Bernd


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