[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:59:34 PST 2012


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

John Tytgat <John.Tytgat at aaug.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leenoar at sky.com

--- Comment #6 from John Tytgat <John.Tytgat at aaug.net> 2012-03-03 12:59:33 PST ---
I seriously suspecting our rt_stkovf_v5_clobbered is causing this.  This will
make the register scheduling believe it can use r8 without needing to
save/restore r8.  Cfr.:

  arm-unknown-riscos-gcc -dA -dP -O3 -S bug217-full-c.c -o - | less

When using the -mno-apcs-stack-check option, suddenly the r8 usage we had gets
replaced by r9 usage (which does get saved/restored).  Need Lee's input why
rt_stkovf_v5_clobbered got introduced.

-- 
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