[Bug c/99211] gcc fails on program which overrides __builtin_clzll

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99211 --- Comment #4 from Jakub Jelinek --- We have it even in gcc sources, though ifdefed so it won't trigger with recent-ish gcc: libstdc++-v3/include/ext/throw_allocator.h: __typeof__(&std::sprintf) __builtin_sprintf = &std::sprintf; I think t

[Bug c/99211] gcc fails on program which overrides __builtin_clzll

2021-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99211 --- Comment #3 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #2) > Problem with disabling altogether __builtin_* function > declarations/definitions > is that code in the wild uses > typeof (whatever) __builtin_whatever __attri

[Bug c/99211] gcc fails on program which overrides __builtin_clzll

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99211 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/99211] gcc fails on program which overrides __builtin_clzll

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99211 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid, |