From patchwork Tue Dec 6 18:50:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [testsuite] : Fix g++.dg/opt/pr51396.C on non-x86 targets Date: Tue, 06 Dec 2011 08:50:24 -0000 From: Uros Bizjak X-Patchwork-Id: 129781 Message-Id: To: gcc-patches@gcc.gnu.org Cc: Jakub Jelinek Hello! -mfma is valid only on x86 targets 2011-12-06 Uros Bizjak * g++.dg/opt/pr51396.C: Use dg-additional-options. Tested on alphaev68-pc-linux-gnu, committed to mainline SVN. Uros. Index: g++.dg/opt/pr51396.C =================================================================== --- g++.dg/opt/pr51396.C (revision 182054) +++ g++.dg/opt/pr51396.C (working copy) @@ -1,7 +1,7 @@ // PR tree-optimization/51396 // { dg-do compile } -// { dg-options "-O2 -fnon-call-exceptions -mfma" } -// { dg-options "-O2 -fnon-call-exceptions -mfma" { target i?86-*-* x86_64-*-* } } +// { dg-options "-O2 -fnon-call-exceptions" } +// { dg-additional-options "-mfma" { target i?86-*-* x86_64-*-* } } double baz (double) throw ();