On 10/5/22 14:01, Jakub Jelinek wrote:
> On Wed, Oct 05, 2022 at 01:49:40PM +0200, Martin Liška wrote:
>> PR c/107156
>>
>> gcc/ChangeLog:
>>
>> * attribs.h (lookup_attribute_by_prefix): Support attributes
>> starting with underscore (like _noreturn, or __Noreturn).
>
> There are no
On Wed, Oct 05, 2022 at 01:49:40PM +0200, Martin Liška wrote:
> PR c/107156
>
> gcc/ChangeLog:
>
> * attribs.h (lookup_attribute_by_prefix): Support attributes
> starting with underscore (like _noreturn, or __Noreturn).
There are no _noreturn or __Noreturn attributes, there is
PR c/107156
gcc/ChangeLog:
* attribs.h (lookup_attribute_by_prefix): Support attributes
starting with underscore (like _noreturn, or __Noreturn).
---
gcc/attribs.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/gcc/attribs.h b/gcc/attribs.h
index b2836560fc2..706d35
On Okt 05 2022, Martin Liška wrote:
> * attribs.h (lookup_attribute_by_prefix): Support attributes
> starting with dash (like _noreturn, or __Noreturn).
s/dash/underscore/
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EE
Support attributes starting with dash (like _noreturn, or __Noreturn).
Note the only consumer of lookup_attribute_by_prefix comes from IPA ICF.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Thanks,
Martin
PR c/107156
gcc/ChangeLog: