* gcc.dg/pr27095.c: For Epiphany, add -mshort-calls.
* gcc.dg/tree-ssa/loop-1.c: Likewise.
From-SVN: r201271
* gcc.c-torture/execute/zerolen-2.x: Likewise.
* gcc.c-torture/execute/builtins/stpcpy-chk.x: Likewise.
+ * gcc.dg/pr27095.c: For Epiphany, add -mshort-calls.
+ * gcc.dg/tree-ssa/loop-1.c: Likewise.
+
2013-07-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/minmax_minus.c: Scan for absence of mov.
to the load from the GOT this also contains the name of the function so for
each call the function name would appear twice. */
/* { dg-options "-O2 -mno-relax-pic-calls" { target mips*-*-* } } */
+/* For epiphany, use -mshort-calls to avoid loading the address in two
+ steps using lowpart and highpart. */
+/* { dg-options "-O2 -mshort-calls" { target epiphany-*-* } } */
extern void *memset (void *, int, __SIZE_TYPE__);
extern __SIZE_TYPE__ strlen (const char *);
/* -mlongcall will cause us to place &foo in the CTR register. */
/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
/* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-details -fdump-tree-optimized" } */
+/* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-details -fdump-tree-optimized -mshort-calls" {target epiphany-*-*} } */
+
/* On 31-bit S/390 the function address will be stored (once) in the literal pool,
so scan-assembler-times "foo" will return 1 even if the loop is fully unrolled.