diff mbox series

[COMMITTED,prange] Reword dispatch error message [PR114985]

Message ID 20240509045924.236714-1-aldyh@redhat.com
State New
Headers show
Series [COMMITTED,prange] Reword dispatch error message [PR114985] | expand

Commit Message

Aldy Hernandez May 9, 2024, 4:59 a.m. UTC
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.
---
 gcc/range-op.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/range-op.cc b/gcc/range-op.cc
index 65f3843227d..a134af68141 100644
--- a/gcc/range-op.cc
+++ b/gcc/range-op.cc
@@ -207,7 +207,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]);