diff options
author | Peixin Qiao <qiaopeixin@huawei.com> | 2020-08-19 10:55:19 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2020-08-19 10:55:19 +0100 |
commit | a5a635fc4331b6d5f1a1e688e1153abd2ff194a5 (patch) | |
tree | 455c613912a61f70a419f2c9c967a97e9eeb4326 /gcc/tree-ssa-loop-manip.c | |
parent | 7dbcb569b2793be8748050f91ea8a089bc2623c8 (diff) | |
download | gcc-a5a635fc4331b6d5f1a1e688e1153abd2ff194a5.zip gcc-a5a635fc4331b6d5f1a1e688e1153abd2ff194a5.tar.gz gcc-a5a635fc4331b6d5f1a1e688e1153abd2ff194a5.tar.bz2 |
AArch64: Remove "fndecl && TREE_PUBLIC (fndecl)" in aarch64_init_cumulative_args
This check will prevent the function type check of static funtion or calling
via a funtion pointer. The function type should be checked no matter if the
function has external linkage.
gcc/ChangeLog:
* config/aarch64/aarch64.c (aarch64_init_cumulative_args): Remove
"fndecl && TREE_PUBLIC (fndecl)" check since it prevents the funtion
type check when calling via a function pointer or when calling a static
function.
gcc/testsuite/ChangeLog:
* gcc.target/aarch64/mgeneral-regs_7.c: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
0 files changed, 0 insertions, 0 deletions