Jakub wrote:
IMNSHO it is far better to just change those
tests into compile time tests and verify assembly using dg-final
scan-assembler.

We did exactly this for majority of tests except for
* c-c++-common/asan/use-after-return-1.c (back-ported from Clang, no UB)
* c-c++-common/asan/no-asan-stack.c (this triggers read overflow because we haven't found a cross-platform way to grep for stack redzones instrumentation)

We can simply remove no-asan-stack.c from the patch, then it won't contain any UB (but we won't have any test for --param no-asan-stack).

-Y

Reply via email to