OSDN Git Service

* h8300.c (asm_file_start): Corrected optimization comment.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Sep 2002 17:25:02 +0000 (17:25 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Sep 2002 17:25:02 +0000 (17:25 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56761 138bc75d-0d04-0410-961f-82ee72b054a4

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

index f21b204..cba1d65 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 19520db..a287ab1 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");