testsuite: Mark non-optimized variants as expensive
commit3796216bfa49b5ca288afe0760931a4c5b8ea346
authorDimitar Dimitrov <dimitar@dinux.eu>
Thu, 15 Feb 2024 19:02:37 +0000 (15 21:02 +0200)
committerDimitar Dimitrov <dimitar@dinux.eu>
Sun, 18 Feb 2024 09:07:53 +0000 (18 11:07 +0200)
tree28d7f85d1f144012a7e49a4c2776c82efbb083b7
parent80362ffb89d4db896cd6de24f13107171bf4fd78
testsuite: Mark non-optimized variants as expensive

When not optimized for speed, the test for PR112344 takes several
seconds to execute on native x86_64, and 15 minutes on PRU target
simulator.  Thus mark those variants as expensive.  The -O2 variant
which originally triggered the PR is not expensive, hence it is
still run by default.

PR middle-end/112344

gcc/testsuite/ChangeLog:

* gcc.dg/torture/pr112344.c: Run non-optimized variants only
if expensive tests are allowed.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
gcc/testsuite/gcc.dg/torture/pr112344.c