]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite] [sparc] use -mtune in alignment tuning test
authorAlexandre Oliva <oliva@adacore.com>
Fri, 7 Feb 2025 07:10:57 +0000 (04:10 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 7 Feb 2025 07:10:57 +0000 (04:10 -0300)
commit670f83c0b9f50e54b082ad566049f812fe47ae65
tree9538cee31b7757812b50df18e64c12fa6e5028a9
parentd3ff498c478acefce35de04402f99171b4f64a1a
[testsuite] [sparc] use -mtune in alignment tuning test

If -mcpu=leon3 is present in the command line for a test run,
overriding it with -mcpu=niagara7 is not enough to override the tuning
for leon3 selected by the previous -mcpu option.

niagara7-align.c tests for niagara7 alignment tuning, so use -mtune
rather than -mcpu.

for  gcc/testsuite/ChangeLog

* gcc.target/sparc/niagara7-align.c: Use -mtune.
gcc/testsuite/gcc.target/sparc/niagara7-align.c