calls.c (emit_library_call_value_1): Use slot_offset instead of offset when calculati...
authorJaka Mocnik <jaka@xlab.si>
Fri, 20 Feb 2009 11:19:34 +0000 (12:19 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 20 Feb 2009 11:19:34 +0000 (12:19 +0100)
commit5bc0807c06465ee90e63c0b2c3aced1020448708
tree2b8646176623d9cdc73cb719185b58117ac425f0
parentc69cd1f5cd4256bea42452375dbf67c25bd6e4ef
calls.c (emit_library_call_value_1): Use slot_offset instead of offset when calculating bounds for indexing...

* 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: r144317
gcc/ChangeLog
gcc/calls.c