[Bug testsuite/82390] gcc.dg/torture tests run with same optimization level

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 2 11:03:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82390

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 42279
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42279&action=edit
Patch disallowing dg-options for dg-torture.exp

(In reply to Richard Biener from comment #1)
> dg-torture testcases should use dg-additional-options and never specify the
> optimization level.

We could use this patch to enforce this (not yet sure whether the dg-options
proc save/restore is needed or correct).


More information about the Gcc-bugs mailing list