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] | |
Hi,this issue is an accepts invalid about multiple noreturn in an attribute-list. The same issue exists for deprecated in C++14 (and will exist for carries_dependency when we'll implement it...). Of course it would be easy to imagine more efficient algorithms doing the check only once after the entire attribute-list is parsed, but the simple-minded check has the advantage that the locations are correct for free and I suppose should be good enough efficiency-wise for reasonable attribute-lists... Tested x86_64-linux.
Thanks, Paolo. //////////////////////
Attachment:
CL_60365
Description: Text document
Attachment:
patch_60365
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |