]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: lto: fix tbaa_0 test
authorSam James <sam@gentoo.org>
Fri, 25 Oct 2024 16:59:31 +0000 (17:59 +0100)
committerSam James <sam@gentoo.org>
Fri, 25 Oct 2024 21:10:22 +0000 (22:10 +0100)
commit091e45b4e97d1ecf765bf3afb58cecda23fee23c
tree6c8f2ad18d14a462f28c0d636800a71edc360ff8
parent2d1d6be00257c5ad9031986ac2f6f3d0a96d935a
testsuite: lto: fix tbaa_0 test

These failures were hidden until we started to run the test by fixing
the filename earlier: use dg-lto directives, pass -std=gnu89 for
implicit-int, and use -flto-partition=none like c-c++-common/hwasan/builtin-special-handling.c.

gcc/testsuite/ChangeLog:

* gcc.dg/lto/tbaa_0.c: Use dg-lto directives, pass -std=gnu89, and
use -flto-partition=none.
gcc/testsuite/gcc.dg/lto/tbaa_0.c