https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109756
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords|ice-on-valid-code | Last reconfirmed| |2023-05-06 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. clang rejects it: <source>:2:26: error: attribute 'assume' cannot be used as an attribute pack [[assume(args > 0)...]]; ^ While MSVC accepts it. I am not sure if it is this is valid or not but GCC should NOT be ICEing either way.