]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: calls.c (emit_library_call_value_1): Use slot_offset instead of offset...
authorUros Bizjak <ubizjak@gmail.com>
Sat, 21 Feb 2009 11:08:24 +0000 (12:08 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 21 Feb 2009 11:08:24 +0000 (12:08 +0100)
commit87634b88085baf97e6854e0591c7275b13b7a389
tree230887da7a667918dae20681677387d92ffc5e26
parent3c556a8bfba36e523370d8bac30fa9f587646355
backport: calls.c (emit_library_call_value_1): Use slot_offset instead of offset when calculating bounds for indexing...

Backport from mainline:
2009-02-20  Jaka Mocnik  <jaka@xlab.si>

* calls.c (emit_library_call_value_1): Use slot_offset instead of
offset when calculating bounds for indexing stack_usage_map.  Fixes
a buffer overflow with certain target setups.

From-SVN: r144350
gcc/ChangeLog
gcc/calls.c