aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2024-01-23 23:42:08 -0800
committerAndi Kleen <ak@gcc.gnu.org>2024-07-17 21:24:08 -0700
commita6502accf381358173b19e615fdeb0aa17949c93 (patch)
tree9c1d4b6f53772ae75919054283fdd230d74db823 /gcc/function.cc
parentb7b2434cc7e712dc5055bde02c441393ae881f06 (diff)
downloadgcc-a6502accf381358173b19e615fdeb0aa17949c93.zip
gcc-a6502accf381358173b19e615fdeb0aa17949c93.tar.gz
gcc-a6502accf381358173b19e615fdeb0aa17949c93.tar.bz2
Improve must tail in RTL backend
- Give error messages for all causes of non sibling call generation - When giving error messages clear the musttail flag to avoid ICEs - Error out when tree-tailcall failed to mark a must-tail call sibcall. In this case it doesn't know the true reason and only gives a vague message. gcc/ChangeLog: PR c/83324 * calls.cc (maybe_complain_about_tail_call): Clear must tail flag on error. (expand_call): Give error messages for all musttail failures.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions