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: How to add a NOP instruction in each basic block for obj code that gcc generates


Jeff <jeffhuang9999@gmail.com> writes:

> > The simplest way is going to be something like
> >    fprintf (asm_out_file, "\tnop\n");
> 
> I added fprintf (asm_out_file, "\tnop\n"); to the end of case
> CODE_LABEL.  Then I recompile the gcc.  Unfortunately, it doesn't seem
> that a NOP was inserted.  Any ideaes?

No.

Ian


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