[patch, testsuite] don't use dg-run in gcc.dg/vect tests

Mike Stump mikestump@comcast.net
Thu Sep 25 23:31:00 GMT 2014


On Sep 25, 2014, at 1:04 PM, Sandra Loosemore <sandra@codesourcery.com> wrote:
> While doing some arm-none-eabi testing, I noticed that a bunch of gcc.dg/vect tests were causing the target to hang from trying to execute code compiled with "-mfpu=neon -mfloat-abi=softfp", on a target that doesn't support those instructions.  And, this was caused by tests specifying "dg-do run" unconditionally instead of allowing the dg-require-effective-target mechanism to decide whether the target can run code compiled with the vectorization options added by vect.exp.
> 
> This patch fixes the bad tests.  OK to check in?

So I’d like to defer this to someone that understand dg-do run better than I…


More information about the Gcc-patches mailing list