egcs-980129, warning patches to alpha.c
Mike Stump
mrs@wrs.com
Fri Feb 6 17:06:00 GMT 1998
> 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.
More information about the Gcc
mailing list