[Bug ipa/119093] ICE: in function_and_variable_visibility, at ipa-visibility.cc:715 with weakref to target_clone
bic60176 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 10 19:54:51 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119093
--- Comment #2 from Bi6c <bic60176 at gmail dot com> ---
Thanks for taking a look. To clarify, this code was generated by our fuzzer,
but I believe the ICE is worth addressing.
The error here involves the combination of `__attribute__((target_clones))`
with `__attribute__((__weakref__))`, which triggered the internal error in
`ipa-visibility.cc`. It's part of a legitimate feature set that could appear in
real-world code.
More information about the Gcc-bugs
mailing list