This is the mail archive of the gcc@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]

Re: egcs-980129, warning patches to alpha.c


> From: Mike Simons <msimons@saic1.com>
> To: ghazi@caip.rutgers.edu (Kaveh R. Ghazi)
> Date: Fri, 6 Feb 1998 03:04:18 -0500 (EST)
> Cc: egcs@cygnus.com

> I just glanced at your patch, couldn't we do this:
>   fprintf (file, "\tstq $26," HOST_WIDE_INT_PRINT_DEC "($%d)\n", 
>            reg_offset, sa_reg);

>   it is much more condensed, the compiler will merge the strings for us.  =)

Your assumption that the compiler will do this is wrong.  Some C
compilers don't do this, in the past, we avoided this type of thing.


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