pr46309.c: Add -mtune=octeon2 for MIPS.

gcc/testsuite/
	* gcc.dg/pr46309.c: Add -mtune=octeon2 for MIPS.

From-SVN: r182792
This commit is contained in:
Richard Sandiford 2012-01-02 11:11:45 +00:00 committed by Richard Sandiford
parent c77233981a
commit e3763a5b44
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/pr46309.c: Add -mtune=octeon2 for MIPS.
2012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
* g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata

View File

@ -1,6 +1,9 @@
/* PR tree-optimization/46309 */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-reassoc-details" } */
/* The transformation depends on BRANCH_COST being greater than 1
(see the notes in the PR), so try to force that. */
/* { dg-additional-options "-mtune=octeon2" { target mips*-*-* } } */
int
f1 (int a)