Patch to eliminate uses of `0' flag in asm_fprintf calls
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Thu May 22 17:03:00 GMT 2003
> From: Geoff Keating <geoffk@geoffk.org>
>
> "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
>
> > I raised a question regarding these `0' flags here:
> > http://gcc.gnu.org/ml/gcc/2003-05/msg02006.html
> >
> > Assuming these zeros are bogus, ok for mainline?
>
> How did you test this patch?
Sorry. I tested it by building cross-compilers targetted to
m68hc11-unknown-elf and m68k-unknown-linux-gnu and looking for
warnings. The host compiler had my asm_fprintf checking patch applied
so it originally flagged these cases, and when I removed the zeros the
warnings went away.
Assuming the zeros are in fact bogus, I believe this patch is correct,
otherwise I'll update my checking patch to accept %0I. However my
visual inspection of asm_fprintf in final.c leads me to believe the
zero has no effect.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-patches
mailing list