Why is there a `0' flag used with `%I' in asm_fprintf ?
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Thu May 22 14:44:00 GMT 2003
Many uses of asm_fprintf in m68k.c and a few in m68hc11.c use the `0'
flag in conjunction with `%I' when calling asm_fprintf. Reading
through the function body of asm_fprintf in final.c, it appears that
the zero is consumed, but has no effect. I.e. `%0I' just spits out
IMMEDIATE_PREFIX unmodified as would plain `%I'.
So it seems harmless except for the fact that someone reading the code
in m68k.c might think the `0' flag is supposed to do something.
Should all instances of `%0I' be changed to `%I', or have I missed
something?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-bugs
mailing list