aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArati Dikey <aratid@kpit.com>2002-09-03 17:25:02 +0000
committerJeff Law <law@gcc.gnu.org>2002-09-03 11:25:02 -0600
commitff970081c59260b09d169bea3d51e6adc45aa552 (patch)
tree3a9c5eac942a87cc1172c48b3e750c6a702ba2bb /gcc
parentb50d021d86eb6ab00b0d4c69cb39cd784733f77e (diff)
downloadgcc-ff970081c59260b09d169bea3d51e6adc45aa552.zip
gcc-ff970081c59260b09d169bea3d51e6adc45aa552.tar.gz
gcc-ff970081c59260b09d169bea3d51e6adc45aa552.tar.bz2
* h8300.c (asm_file_start): Corrected optimization comment.
From-SVN: r56761
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.c5
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");