aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2024-05-08 22:50:22 +0200
committerAldy Hernandez <aldyh@redhat.com>2024-05-09 07:00:21 +0200
commitbe3df704ce7de417682d57bc3e819dfcf0fdd501 (patch)
tree585722a3f1bf3e795125030a79e1cb86ab5b28b6 /gcc
parentbaf1a677955a4dcfffe8d93966900af96600d642 (diff)
downloadgcc-be3df704ce7de417682d57bc3e819dfcf0fdd501.zip
gcc-be3df704ce7de417682d57bc3e819dfcf0fdd501.tar.gz
gcc-be3df704ce7de417682d57bc3e819dfcf0fdd501.tar.bz2
[prange] Reword dispatch error message
After reading the ICE for the PR, it's obvious the error message is rather cryptic. This makes it less so. gcc/ChangeLog: * range-op.cc (range_op_handler::discriminator_fail): Reword error message.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/range-op.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/range-op.cc b/gcc/range-op.cc
index 245385f..e001364 100644
--- a/gcc/range-op.cc
+++ b/gcc/range-op.cc
@@ -197,7 +197,8 @@ range_op_handler::discriminator_fail (const vrange &r1,
gcc_checking_assert (r1.m_discriminator < sizeof (name) - 1);
gcc_checking_assert (r2.m_discriminator < sizeof (name) - 1);
gcc_checking_assert (r3.m_discriminator < sizeof (name) - 1);
- fprintf (stderr, "DISCRIMINATOR FAIL. Dispatch ====> RO_%c%c%c <====\n",
+ fprintf (stderr,
+ "Unsupported operand combination in dispatch: RO_%c%c%c\n",
name[r1.m_discriminator],
name[r2.m_discriminator],
name[r3.m_discriminator]);