aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-04-29 09:48:48 +0200
committerMarc Poulhiès <poulhies@adacore.com>2024-06-14 09:34:51 +0200
commit83061c80d29f71b1aa07664fd129af6542c9fc83 (patch)
tree844d6692f45cfa8a463f7e54a71e8fb3c77f2977 /gcc/tree-vect-loop.cc
parent02b7f6862723fc9f3c73a38dc9b7c518cfdf5069 (diff)
downloadgcc-83061c80d29f71b1aa07664fd129af6542c9fc83.zip
gcc-83061c80d29f71b1aa07664fd129af6542c9fc83.tar.gz
gcc-83061c80d29f71b1aa07664fd129af6542c9fc83.tar.bz2
ada: Fix return mechanism reported by -gnatRm
The return mechanism of functions is reported when the -gnatRm switch is specified, but it is incorrect when the result type is not a by-reference type in the language sense but is nevertheless returned by reference. gcc/ada/ * gcc-interface/decl.cc: Include function.h. (gnat_to_gnu_param): Minor comment tweaks. (gnat_to_gnu_subprog_type): Take into account the default for the computation of the return mechanism. Give a warning if a by-copy specified mechanism cannot be honored.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions