[gccsdk] [Bug 217] Stack Backtrace with certain programs built with gcc 4.6

bugzilla-daemon at riscos.info bugzilla-daemon at riscos.info
Sat Mar 3 12:53:18 PST 2012


http://www.riscos.info/bugzilla3/show_bug.cgi?id=217

--- Comment #5 from John Tytgat <John.Tytgat at aaug.net> 2012-03-03 12:53:17 PST ---
Created attachment 81
  --> http://www.riscos.info/bugzilla3/attachment.cgi?id=81
Minimal example of miscompilation : r8 gets corrupted without getting
save/restore at prologue/epilogue

Cut down & standalone version of UnixLib's libm-generic/s_cexp.c.

When compiled:
  arm-unknown-riscos-gcc -O3 -S bug217-full-c.c -o - | less

you can see r8 gets used but not save/restored in the prologue/epilogue.

-- 
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.




More information about the gcc mailing list