Re: [PATCH] c++: Fix up attribute handling in methods in templates [PR100872]

2021-06-03 Thread Jason Merrill via Gcc-patches
On 6/3/21 5:00 AM, Jakub Jelinek wrote: Hi! The following testcase FAILs because a dependent (late) attribute is never tsubsted. While the testcase is OpenMP, I think it is a generic C++ FE problem that could affect any other dependent attribute. apply_late_template_attributes documents that i

[PATCH] c++: Fix up attribute handling in methods in templates [PR100872]

2021-06-03 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase FAILs because a dependent (late) attribute is never tsubsted. While the testcase is OpenMP, I think it is a generic C++ FE problem that could affect any other dependent attribute. apply_late_template_attributes documents that it relies on /* save_template_attributes