Re: [attribs.cc] ICE with 4x underscores

2024-01-30 Thread Marek Polacek via Gcc
On Tue, Jan 30, 2024 at 12:25:24PM +, Jonathan Wakely via Gcc wrote: > On Tue, 30 Jan 2024, 10:35 Amol Surati via Gcc, wrote: > > > Hello, > > > > If a std attribute name is squeezed between 4x underscores, > > > > Which is undefined behaviour, but shouldn't crash. > > the compiler (both

Re: [attribs.cc] ICE with 4x underscores

2024-01-30 Thread Jonathan Wakely via Gcc
On Tue, 30 Jan 2024, 10:35 Amol Surati via Gcc, wrote: > Hello, > > If a std attribute name is squeezed between 4x underscores, > Which is undefined behaviour, but shouldn't crash. the compiler (both 13.2 [1] and trunk [2]) experiences an ICE. > Bug reports belong in bugzilla, not on the

[attribs.cc] ICE with 4x underscores

2024-01-30 Thread Amol Surati via Gcc
Hello, If a std attribute name is squeezed between 4x underscores, the compiler (both 13.2 [1] and trunk [2]) experiences an ICE. for e.g. when using [[deprecated]] int a; But, [[depreated]] int a; (i.e. the char 'c' removed from the spelling) does not cause ICE. Clang does not