Re: [PATCH] attributes: target_clone expects a string argument

2021-05-13 Thread Martin Liška
On 5/13/21 5:12 PM, Martin Sebor wrote: Since errors are higher priority than warnings I'd suggest making this the first check, before the warnings above, (and adding a test to verify that that's how it works). Good idea. I've just pushed such change. Martin

Re: [PATCH] attributes: target_clone expects a string argument

2021-05-13 Thread Jeff Law via Gcc-patches
On 5/13/2021 6:05 AM, Martin Liška wrote: Hello. The change is about error handling. Ready to be installed? Thanks, Martin PR middle-end/100504 gcc/c-family/ChangeLog: * c-attribs.c (handle_target_clones_attribute): Expect a string argument to target_clone argument. gcc/testsu

Re: [PATCH] attributes: target_clone expects a string argument

2021-05-13 Thread Martin Sebor via Gcc-patches
On 5/13/21 6:05 AM, Martin Liška wrote: Hello. The change is about error handling. Ready to be installed? Thanks, Martin PR middle-end/100504 gcc/c-family/ChangeLog: * c-attribs.c (handle_target_clones_attribute): Expect a string argument to target_clone argument. gcc/testsui