* [COMMITTED] [prange] Reword dispatch error message [PR114985]
@ 2024-05-09 4:59 Aldy Hernandez
0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2024-05-09 4:59 UTC (permalink / raw)
To: GCC patches; +Cc: Andrew MacLeod, Aldy Hernandez
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 --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]);
--
2.45.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-09 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09 4:59 [COMMITTED] [prange] Reword dispatch error message [PR114985] Aldy Hernandez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).