* h8300.c (asm_file_start): Corrected optimization comment.
authorArati Dikey <aratid@kpit.com>
Tue, 3 Sep 2002 17:25:02 +0000 (17:25 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 3 Sep 2002 17:25:02 +0000 (11:25 -0600)
From-SVN: r56761

gcc/ChangeLog
gcc/config/h8300/h8300.c

index f21b204de1a6b5cb9b7023794c7494e28f9cb129..cba1d65237a7915937cebc81c6038b8b3b3e3e5d 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-03   Arati Dikey  <aratid@kpit.com>
+
+       * h8300.c (asm_file_start): Corrected optimization comment.
+
 2002-09-03  Stan Shebs  <shebs@apple.com>
 
        * c-lang.c (recognize_objc_keyword): Remove, no longer used.
index 19520db43331fb7d67683bdf240581b1f26b24e2..a287ab127f8a6b10dcec6ecc40bca215270fb7fa 100644 (file)
@@ -505,7 +505,10 @@ asm_file_start (file)
 {
   fprintf (file, ";\tGCC For the Hitachi H8/300\n");
   fprintf (file, ";\tBy Hitachi America Ltd and Cygnus Support\n");
-  if (optimize)
+  
+  if (optimize_size)
+    fprintf (file, "; -Os\n")
+  else if (optimize)
     fprintf (file, "; -O%d\n", optimize);
   if (TARGET_H8300H)
     fprintf (file, "\n\t.h8300h\n");