> On Jan 18, 2020, at 4:35 AM, Hans-Peter Nilsson <h...@axis.com> wrote:
> 
> testsuite:
>       * lib/target-supports.exp (effective_target_march_option): New.
> 
> I see no (other) way to, depending on the absence of an option,
> add an option for a specific target.  Specifically, I don't see
> how to do this with dg-skip-if and its friends.
> 
> For gcc.dg/torture/pr26515.c and cris-elf, you get an error for
> supplying multiple (different) -march=... options (and that
> error is desirable), like testing cris-elf with
> RUNTESTFLAGS=--target_board=cris-sim/arch=v8, where otherwise
> -march=v10 and -march=v8 will both be given, and the test would
> fail.
> 
> Ok to commit the below?

Ok.  [ If the arm folks want to chime in with any great ideas... ]

Reply via email to