diff options
author | Andi Kleen <ak@gcc.gnu.org> | 2024-07-25 13:54:50 -0700 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2024-07-28 19:06:00 +0200 |
commit | 2477f7c005a0ab42dc76d827fc55776d4f62e654 (patch) | |
tree | 514ef522282b186dcb8b9c32122221a9137544c7 /libobjc/objc-private | |
parent | a2b05b0db407865d8970f1b329ab1f0cb9c529ea (diff) | |
download | gcc-2477f7c005a0ab42dc76d827fc55776d4f62e654.zip gcc-2477f7c005a0ab42dc76d827fc55776d4f62e654.tar.gz gcc-2477f7c005a0ab42dc76d827fc55776d4f62e654.tar.bz2 |
PR116019: Improve tail call error message
The "tail call must be the same type" message is common on some
targets with C++, or without optimization. It is generated
when gcc believes there is an access of the return value
after the call. However usually it does not actually corespond
to a type mismatch, but can be caused for other reasons.
Make it slightly more vague to be less misleading.
gcc/ChangeLog:
PR c++/116019
* tree-tailcall.cc (find_tail_calls): Change tail call
error message.
Diffstat (limited to 'libobjc/objc-private')
0 files changed, 0 insertions, 0 deletions