re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may...
authorHans-Peter Nilsson <hp@axis.com>
Fri, 17 Jun 2011 02:18:24 +0000 (02:18 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Fri, 17 Jun 2011 02:18:24 +0000 (02:18 +0000)
commit9a2091cd0a703e199c2c50225930071d00675a32
tree691aeafddb0a87acbd9aac366c7ea95648cda6d0
parenta26335b56fa55e06467e54d2683b156943028c30
re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may be clobbered (including the return-address))

PR rtl-optimization/48542
* reload.c (find_equiv_reg): Stop looking when finding a
setjmp-type call.
* reload1.c (reload_as_needed): Invalidate all reload
registers when crossing a setjmp-type call.

From-SVN: r175132
gcc/ChangeLog
gcc/reload.c
gcc/reload1.c