Re: [PATCH] c-family: Yet another fix for _BitInt & __sync_* builtins [PR117641]

2024-11-22 Thread Marek Polacek
On Fri, Nov 22, 2024 at 09:56:17AM +0100, Jakub Jelinek wrote: > Hi! > > Sorry, the last patch only partially fixed the __sync_* ICEs with > _BitInt(128) on ia32. > Even for !fetch we need to error out and return 0. I was afraid of > APIs like __atomic_exchange/__atomic_compare_exchange, those ob

[PATCH] c-family: Yet another fix for _BitInt & __sync_* builtins [PR117641]

2024-11-22 Thread Jakub Jelinek
Hi! Sorry, the last patch only partially fixed the __sync_* ICEs with _BitInt(128) on ia32. Even for !fetch we need to error out and return 0. I was afraid of APIs like __atomic_exchange/__atomic_compare_exchange, those obviously need to be supported even on _BitInt(128) on ia32, but they actuall