PR c++/28152 Diagnostic about wrong use _Complex prints __complex__
Manuel López-Ibáñez
lopezibanez@gmail.com
Fri Aug 22 18:05:00 GMT 2008
2008/8/22 Andrew Pinski <pinskia@gmail.com>:
> On Fri, Aug 22, 2008 at 10:19 AM, Manuel López-Ibáñez
> <lopezibanez@gmail.com> wrote:
>> Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
>> --enable-languages=all,ada
>>
>> OK for trunk?
>
> Does this break the use of __const inside attribute like the C patch
> did or was there already code that takes that into account (and maybe
> a testcase?).
I assumed that was handled by the testcase added by Jakub:
r139317 | jakub | 2008-08-20 17:50:23 +0200 (Wed, 20 Aug 2008) | 7 lines
Changed paths:
M /trunk/gcc/ChangeLog
M /trunk/gcc/c-parser.c
M /trunk/gcc/testsuite/ChangeLog
A /trunk/gcc/testsuite/gcc.dg/pr37171.c
PR c/37171
* c-parser.c (c_parser_attributes): For keywords use canonical
spelling for attr_name.
* gcc.dg/pr37171.c: New test.
* g++.dg/ext/attrib34.C: New test.
However, svn log --verbose shows that the testcase for C++ was never
added. So no, this is not fixed. I will update the patch. Thanks for
looking at it.
Manuel.
More information about the Gcc-patches
mailing list