This is the mail archive of the
mailing list for the GCC project.
Minor patch applied for H8300 causes BUILD FAILURE
- From: "Arati Dikey" <AratiD at kpit dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <law at redhat dot com>
- Date: Thu, 5 Sep 2002 09:52:16 +0530
- Subject: Minor patch applied for H8300 causes BUILD FAILURE
Extremely sorry !
My patch had a missing semi-colon.
This is the corrected patch.
Sorry for the trouble.
2002-09-03 Arati Dikey email@example.com
h8300.c(asm_file_start): Corrected optimization
--- 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);
From: Jeff Law [mailto:firstname.lastname@example.org]
Sent: Tuesday, September 03, 2002 10:51 PM
To: Arati Dikey
Subject: Re: Minor patch for H8300
In message <69595093233BB547BB70CF5E492B63F26AD277@sohm.kpit.com>,
>The h8300 assembler writes the type of optimization in the beginning
>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.