Help on 3.0.2

Phil Prentice PhilP@tsd.serco.com
Wed Jan 23 01:26:00 GMT 2002


Hi
   For various reasons I have had to update to using the gcc 3.0.2 cross-compiler for vxWorks (i.e. m68-wrs-vxworks-gcc).
Are there any known problems with this version regarding optimisation?  Code that I have built with 2.95.3 built and worked fine. As soon as I built it with 3.0.2 I started getting optimisation problems.  It appears to be optimising my code even if I try and tell it not to (-O0).  This is causing grief with drivers using interrupt routines. Also debug does not seem to be working as well as it use to....again is this due to unwanted optimisation?

 I may need to go back to 2.95.3 and solve the warning problem that I had with that another way.

Thanks

  Phil Prentice




More information about the Gcc-help mailing list