Commit 0042bafd by Hans-Peter Nilsson

testsuite: Make use of effective-target march_option for cris

	* gcc.dg/torture/pr26515.c (cris*-*-*): Conditionalize
	-march=v10 option on target ! march_option.
	* gcc.target/cris/asm-v10.S, gcc.target/cris/inasm-v10.c,
	gcc.target/cris/sync-1-v10.c: Similar.
parent bcfc2227
2020-01-19 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/torture/pr26515.c (cris*-*-*): Conditionalize
-march=v10 option on target ! march_option.
* gcc.target/cris/asm-v10.S, gcc.target/cris/inasm-v10.c,
gcc.target/cris/sync-1-v10.c: Similar.
2020-01-19 Thomas König <tkoenig@gcc.gnu.org> 2020-01-19 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/44960 PR fortran/44960
......
/* { dg-options "-march=v10" { target cris*-*-* } } */ /* { dg-options "-march=v10" { target { cris*-*-* && { ! march_option } } } } */
struct i struct i
{ {
long long i_size; long long i_size;
......
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-options "-DOTHER_ISA=10 -march=v10" } */ /* { dg-options "-DOTHER_ISA=10 -march=v10" { target { ! march_option } } } */
/* Check that -march=v10 is also recognized. */ /* Check that -march=v10 is also recognized. */
......
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-options "-DOTHER_ISA=10 -march=v10" } */ /* { dg-options "-DOTHER_ISA=10 -march=v10" { target { ! march_option } } } */
/* Check that -march=v10 is also recognized. */ /* Check that -march=v10 is also recognized. */
......
/* Check that we can assemble both base atomic variants. */ /* Check that we can assemble both base atomic variants. */
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-options "-O2 -march=v10" } */ /* { dg-options "-O2 -march=v10" { target { ! march_option } } } */
/* { dg-additional-options "-mno-unaligned-atomic-may-use-library" { target cris*-*-linux* } } */ /* { dg-additional-options "-mno-unaligned-atomic-may-use-library" { target cris*-*-linux* } } */
#include "sync-1.c" #include "sync-1.c"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment