[Bug tree-optimization/125869] [17 regression] binutils pr25754-1ba FAILs

sjames at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 18 04:13:26 GMT 2026


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

--- Comment #5 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Sam James from comment #4)
> This one is standalone and it fails too:
> ...
> I don't think the optimisation is valid for this variant unless
> -fno-semantic-interposition is used, because an interposed get_bar could
> return a pointer to some malloc'd memory that has 42?

With trunk, it unconditionally calls abort; in 16, it doesn't.


More information about the Gcc-bugs mailing list