On 2011-07-13, Ricky Wong Yung Fei <yfwongri...@gmail.com> wrote: > I know I could actually compare the assembly outputs of the both OS > image, but before I do so, I would like to confirm the likelihood of > this being a bug as I'm not very good with gcc internals e.g. when > programs work in O0 but not O1 and above, is it normally a bug with > the optimizer?
With other more widely used backends, I'd say it's almost always a programming error (e.g. a missing "volatile" keyword). The MSP430 backend doesn't have as many miles on it as the IA32, ARM, or SPARC backends, so there's more of a chance it is an optimizer-induced backend bug. Narrowing it down to a specific bit of code is the only way to tell... -- Grant Edwards grant.b.edwards Yow! What GOOD is a at CARDBOARD suitcase ANYWAY? gmail.com ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users