I am checking in this change as an obvious fix. When the default int type as added to main on this test it resulted in 'int int main' for mips due to the ifdef for mips that is in the code. This patch fixes the problem.
2015-06-11 Steve Ellcey <sell...@imgtec.com> * gcc.dg/tree-prof/stringop-2.c: Fix ifdef __mips. diff --git a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c index bad185e..66f8d29 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c +++ b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c @@ -6,8 +6,9 @@ int max=10000; #ifdef __mips /* We allow short memcpy()s for MIPS16. */ int __attribute__((nomips16)) -#endif +#else int +#endif main() { int i;