This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cleanups for the m68k backend


 > From: Bernardo Innocenti <bernie@develer.com>
 > 
 >  > 2.  Another option would be to use a new specifier %P<punct_character>
 >  > where <punct_character> is passed by asm_fprintf to print_operand like
 >  > in option 1.  If you do that, then the above example becomes this:
 >  >  > asm_fprintf (stream, "\t%Omove%P.l %s,%P-\n", reg_names[15 - i]);
 > 
 >  Doesn't look too bad to me. I'd go for this, unless it turns out
 > just dropping the MIT syntax now is acceptable.

I have no basis to form an opinion on which if any can be deprecated.


 >  Thank you very much. I still know very little about gcc. Where
 > should I look for an example where format checks are documented or
 > used cleanly?

Look at gcc/c-format.c in current mainline.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]