This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: Minor patch for H8300
- From: "Arati Dikey" <AratiD at kpit dot com>
- To: <law at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 4 Sep 2002 11:57:59 +0530
- Subject: RE: Minor patch for H8300
Extremely sorry !
My patch had a missing semi-colon.
This is the corrected patch.
Sorry for the trouble.
Regards,
Arati.
Changelog
2002-09-03 Arati Dikey aratid@kpit.com
h8300.c(asm_file_start): Corrected optimization comment
--- h8300.c.orig Mon Aug 26 11:40:28 2002
+++ h8300.c Tue Sep 03 18:07:14 2002
@@ -497,6 +497,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_size)
+ fprintf (file, "; -Os\n");
+ else if (optimize)
fprintf (file, "; -O%d\n", optimize);
if (TARGET_H8300H)
-----Original Message-----
From: Jeff Law [mailto:law@porcupine.slc.redhat.com]
Sent: Tuesday, September 03, 2002 10:51 PM
To: Arati Dikey
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Minor patch for H8300
In message <69595093233BB547BB70CF5E492B63F26AD277@sohm.kpit.com>, "Arati Dikey
" writes:
>
>The h8300 assembler writes the type of optimization in the beginning of
>the assembly file as a comment. When the optimization selected is -Os,
>it writes -O2.
>
>Following patch corrects it.
Thanks. I made a minor formatting fix and installed your change.
jeff