This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Change the compiler option "-O2 -Os" to "-Os" in testcase ssa-sink-5.c
- From: Carrot Wei <carrot at google dot com>
- To: gcc-patches at gcc dot gnu dot org, Steven Bosscher <stevenb dot gcc at gmail dot com>
- Date: Tue, 30 Jun 2009 17:05:12 +0800
- Subject: [PATCH] Change the compiler option "-O2 -Os" to "-Os" in testcase ssa-sink-5.c
Since -Os already implies -O2. We should use -Os only.
ChangeLog:
2009-06-30 Wei Guozhi <carrot@google.com>
* gcc.dg/tree-ssa/ssa-sink-5.c: Change the compiler option "-O2 -Os"
to "-Os".
Test:
Run this single test on x86.
thanks
Carrot
Index: ssa-sink-5.c
===================================================================
--- ssa-sink-5.c (revision 149082)
+++ ssa-sink-5.c (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -Os -fdump-tree-sink-stats" } */
+/* { dg-options "-Os -fdump-tree-sink-stats" } */
typedef short int16_t;
typedef unsigned char uint8_t;