HomePhabricator

[gcc-c-torture] Note undefined behaviour in frame-address.c

Authored by DavidSpickett on Mar 16 2023, 3:59 AM.

Description

[gcc-c-torture] Note undefined behaviour in frame-address.c

In 259fcdabfd843d01fccd9a1aeb44642e9043a883 I disabled this test
due to clang now tail calling one of the functions.

In addition, the callee compares pointers to different objects
which is undefined behaviour. I've added this to the comment
in case we look at enabling it again later.

Clang and GCC for now do the same thing with it, but it's
not guaranteed.

Details

Committed
DavidSpickettMar 16 2023, 4:00 AM
Parents
rT259fcdabfd84: [gcc-c-torture] Disable frame-address.c test due to incorrect tail call…
Branches
Unknown
Tags
Unknown