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.

Reply via email to