This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-980129, warning patches to alpha.c
- To: ghazi at caip dot rutgers dot edu, msimons at saic1 dot com
- Subject: Re: egcs-980129, warning patches to alpha.c
- From: mrs at wrs dot com (Mike Stump)
- Date: Fri, 6 Feb 1998 17:06:28 -0800
- Cc: egcs at cygnus dot com
> 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.