[Bug rtl-optimization/98555] Functions optimized to zero length break function pointer inequality

rlcamp.pdx at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 6 14:38:14 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98555

--- Comment #2 from Campbell <rlcamp.pdx at gmail dot com> ---
> Did you actually run into this for a relevant case?

Yes. The relevant use case is where a sentinel value is needed that has
function pointer type, as function pointers are not interchangeable with other
types of pointers.


More information about the Gcc-bugs mailing list