https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102374
Bug ID: 102374 Summary: Should ignore spaces in target attribute Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take: void calculate_sse(void) __attribute__ ((__target__ ("no-avx, sse2"))); Currently we error out: <source>:1:6: error: attribute ' sse2' argument 'target' is unknown 1 | void calculate_sse(void) __attribute__ ((__target__ ("no-avx, sse2"))); | ^~~~~~~~~~~~~ It was not so obvious why though, the problem is there is a space after the comma.