This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: nops
> From: Andrew Pinski <pinskia@gmail.com>
> To: Jamie Prescott <jpresss@yahoo.com>
> Cc: Ian Lance Taylor <iant@google.com>; gcc@gcc.gnu.org
> Sent: Thursday, May 21, 2009 8:22:00 AM
> Subject: Re: nops
>
> On Thu, May 21, 2009 at 8:13 AM, Jamie Prescott wrote:
> > My target does not have anything special WRT alignment. I even set the
> function
> > alignment to 8, and it still issues gen_nop().
> > This seem to happen only with -O0, or at least I noticed it only under such
> condition
> > so far.
>
> so it happens at -O0 so that the debugger is able to place a
> breakpoint at some gotos.
Thanks! Makes sense, and it means that I can define to an empty insn for the
version of the VM that does not have 'nop'.
- Jamie