diff options
| author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-03 17:25:02 +0000 |
|---|---|---|
| committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-03 17:25:02 +0000 |
| commit | 74a99a3e1695e42c94914af9a596237c76364c80 (patch) | |
| tree | 3a9c5eac942a87cc1172c48b3e750c6a702ba2bb /gcc | |
| parent | f7551997ba7bdbba848b0709d7121a2bc4a2305b (diff) | |
| download | ppe42-gcc-74a99a3e1695e42c94914af9a596237c76364c80.tar.gz ppe42-gcc-74a99a3e1695e42c94914af9a596237c76364c80.zip | |
* h8300.c (asm_file_start): Corrected optimization comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56761 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -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 f21b204de1a..cba1d65237a 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 19520db4333..a287ab127f8 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"); |

