aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-06-11 20:50:46 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-06-11 20:50:46 +0000
commitef0cce1d627263b82a9803204b4cfbee24a825ba (patch)
treeefbf197f371f4e23fe8a0c1ed3161e6f0794f716 /gcc/testsuite/gcc.dg
parent6312e84d63b9fdcce0ba0f813590d1dd22a7b37e (diff)
downloadgcc-ef0cce1d627263b82a9803204b4cfbee24a825ba.zip
gcc-ef0cce1d627263b82a9803204b4cfbee24a825ba.tar.gz
gcc-ef0cce1d627263b82a9803204b4cfbee24a825ba.tar.bz2
re PR rtl-optimization/42461 (missed optimization for pure functions)
PR rtl-optimization/42461 * gcc.dg/pr42461.c: Compile at -O2 instead of -O. From-SVN: r160632
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/pr42461.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr42461.c b/gcc/testsuite/gcc.dg/pr42461.c
index 9d23ad9..0518bfd 100644
--- a/gcc/testsuite/gcc.dg/pr42461.c
+++ b/gcc/testsuite/gcc.dg/pr42461.c
@@ -2,7 +2,7 @@
/* Reported by Patrick Pelissier <patrick.pelissier@gmail.com> */
/* { dg-do link } */
-/* { dg-options "-O" } */
+/* { dg-options "-O2" } */
extern int link_failure (int) __attribute__ ((pure));