This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/82390] gcc.dg/torture tests run with same optimization level
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Oct 2017 11:03:00 +0000
- Subject: [Bug testsuite/82390] gcc.dg/torture tests run with same optimization level
- Auto-submitted: auto-generated
- References: <bug-82390-4@http.gcc.gnu.org/bugzilla/>
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).