aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-08-10 10:01:33 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-08-10 10:01:33 -0400
commit07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6 (patch)
treed9f451da73883db76d0425e08382fce4bb154737 /gcc/function.c
parent67070ffeb0f10bcc841e87756d18eb85de1ab8a8 (diff)
downloadgcc-07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6.zip
gcc-07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6.tar.gz
gcc-07b2f2fd6efdf33ab13eb31fc8ea38668dbf6ed6.tar.bz2
c-common.h (RETURN_NULLIFIED_P): Lose.
* c-common.h (RETURN_NULLIFIED_P): Lose. * c-semantics.c (genrtl_return_stmt): Don't check it. Support named return value optimization for inlines, too. * decl.c (finish_function): Nullify returns here. * semantics.c (genrtl_start_function): Not here. (cp_expand_stmt): Don't mess with CLEANUP_STMTs. (nullify_returns_r): No longer static. Just clear RETURN_EXPR. Also nullify the CLEANUP_STMT for the nrv. * cp-tree.h: Declare it. * optimize.c (declare_return_variable): Replace the nrv with the return variable. * typeck.c (check_return_expr): Be more flexible on alignment check. Ignore cv-quals when checking for a matching type. From-SVN: r44762
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions