OSDN Git Service

* calls.c (emit_library_call_value_1): Use slot_offset instead of
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Feb 2009 11:19:34 +0000 (11:19 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Feb 2009 11:19:34 +0000 (11:19 +0000)
commit9a0cf1703ffbfc2c4ab897c3faefb91521f81939
tree2b8646176623d9cdc73cb719185b58117ac425f0
parent4681dd41834c6955207e66cd3b9dc3b45299d63c
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144317 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/calls.c