This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]