aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2025-08-14 17:30:17 +0800
committerKito Cheng <kito.cheng@sifive.com>2025-08-15 14:35:32 +0800
commit5b60bb6dc70e7f94f9c9a8d7584981ecf0720641 (patch)
treefb3abd176e6e5de716d7f0a3c5999a27fc090202 /libjava/java
parentd1c207a65d25b50e851ab53956271c91e0281ae0 (diff)
downloadgcc-5b60bb6dc70e7f94f9c9a8d7584981ecf0720641.zip
gcc-5b60bb6dc70e7f94f9c9a8d7584981ecf0720641.tar.gz
gcc-5b60bb6dc70e7f94f9c9a8d7584981ecf0720641.tar.bz2
Use gimple_call_fntype rather than gimple_call_fndecl in pass_return_slot::execute
Call with funciton pointer might not able to get the fndecl, but fntype so use gimple_call_fntype instead of gimple_call_fndecl. aggregate_value_p can handle fndecl and fntype right (and even CALL_EXPR), so I think this change is safe. gcc/ChangeLog: * tree-nrv.cc (pass_return_slot::execute): Use gimple_call_fntype instead of gimple_call_fndecl.
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions