Skip to content
Snippets Groups Projects
Commit 670f83c0 authored by Alexandre Oliva's avatar Alexandre Oliva Committed by Alexandre Oliva
Browse files

[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.
parent d3ff498c
No related branches found
No related tags found
No related merge requests found
/* { dg-do compile } */
/* { dg-options "-falign-functions -mcpu=niagara7" } */
/* { dg-options "-falign-functions -mtune=niagara7" } */
/* { dg-final { scan-assembler "\.align 64" } } */
void foo(void) {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment