[gfortran, committed] Minor cleanups to intrinsic.c

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Fri Mar 30 03:56:00 GMT 2007


Hi,

trying to understand the intricacies of intrinsic.c, I ran into these 
cleanups which I committed under the obviously correct rule after the 
obligatory testing on i386-darwin.  I'm seeing a recent regression in 
fmt_t_4.f90, but I verified that it is unrelated to this patch.

The patch simplifies conv_name by using the sprintf-like functionality 
built into gfc_get_string, and removes two instances of strcmp, 
replacing them with equivalent pointer comparisons.

Cheers,
- Tobi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strcmp.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070330/2fdd2b7b/attachment.txt>


More information about the Gcc-patches mailing list