diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f21b204..cba1d65 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 19520db..a287ab1 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -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"); |