Why is there a `0' flag used with `%I' in asm_fprintf ?

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu May 22 15:37: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?

Assuming these are bogus, patch here:
http://gcc.gnu.org/ml/gcc-patches/2003-05/msg01933.html

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc-bugs mailing list