This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.
 
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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]