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 13

Re: [Patch, stage-1, RFC]: i386: attribute regparm/stdcall and vaargs

2024-01-30 Thread Joseph Myers via Gcc
On Tue, 30 Jan 2024, Bernhard Reutner-Fischer via Gcc wrote: > * builtin-attrs.def (ATTR_TM_NOTHROW_RT_LIST): Use ATTR_NOTHROW_LIST > instead of ATTR_TM_NOTHROW_LIST, thus removing ATTR_TM_REGPARM. That doesn't make sense. ATTR_TM_NOTHROW_RT_LIST is specifically a transactional memo

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 maili

Re: Building a GCC backend for the STM8

2024-01-30 Thread Oleg Endo
Hi, On Sun, 2024-01-28 at 04:41 +0100, Sophie 'Tyalie' Friedrich via Gcc wrote: > Hello dear people, > > I want to try building a GCC compiler backend for the STM8 > micro-controller target in order to make this wonderful architecture > more accessible. > > But as I'm fairly new in this area o

[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 c