This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

RE: m68k-coff-gcc and NOPs


Scott,
	Thanks for your reply. On further investigtion I have found that
they are only generated when I use -fomit-frame-pointer and any level of
optimisation, e.g. -Os in my case (as you may have guess I am short of PROM
space). It is still a mystery why.

Regards, Chris

> -----Original Message-----
> From:	Scott A Sumner [SMTP:sasumner@juno.com]
> Sent:	Friday, January 14, 2000 2:59 AM
> To:	whraven@msn.fullfeed.com
> Cc:	crossgcc@sourceware.cygnus.com; PalmerC@intgame.com
> Subject:	Re: m68k-coff-gcc and NOPs
> 
> > Does anybody know why the 68K version of gcc compiles a      
> > NOP instruction at the end of each function, after the       
> > RTS?                                                         
> 
> Interesting.  I just generated an assembly source listing from one of my
> m68k-coff-gcc-compiled .c files and I don't see any nops after the rts's.
>  I wonder why?

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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