Hi!

During the 118874 coro investigation I found a typo in a comment.

Fixed thusly, committed to trunk as obvious.

2025-03-05  Jakub Jelinek  <ja...@redhat.com>

        * typeck.cc (check_return_expr): Fix comment typo, rom -> from.

--- gcc/cp/typeck.cc.jj 2025-02-25 09:26:38.761944513 +0100
+++ gcc/cp/typeck.cc    2025-03-04 12:19:41.495160309 +0100
@@ -11450,7 +11450,7 @@ check_return_expr (tree retval, bool *no
       bool converted = false;
       tree moved;
       /* Until C++23, this was only interesting for class type, but in C++23,
-        we should do the below when we're converting rom/to a class/reference
+        we should do the below when we're converting from/to a class/reference
         (a non-scalar type).  */
        if ((cxx_dialect < cxx23
             ? CLASS_TYPE_P (functype)

        Jakub

Reply via email to