https://gcc.gnu.org/g:87463737b9942249ceb0d0d60050adf452f44f7c

commit r15-834-g87463737b9942249ceb0d0d60050adf452f44f7c
Author: Peter Damianov <peter0...@disroot.org>
Date:   Sun May 26 08:06:14 2024 -0600

    [PATCH] libcpp: Correct typo 'r' -> '\r'
    
    libcpp/ChangeLog:
            * lex.cc (do_peek_prev): Correct typo in argument to 
__builtin_expect()
    
    Signed-off-by: Peter Damianov <peter0...@disroot.org>

Diff:
---
 libcpp/lex.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcpp/lex.cc b/libcpp/lex.cc
index c9e44e6cccc..de752bdc9c8 100644
--- a/libcpp/lex.cc
+++ b/libcpp/lex.cc
@@ -5038,7 +5038,7 @@ do_peek_prev (const unsigned char *peek, const unsigned 
char *bound)
 
   unsigned char c = *--peek;
   if (__builtin_expect (c == '\n', false)
-      || __builtin_expect (c == 'r', false))
+      || __builtin_expect (c == '\r', false))
     {
       if (peek == bound)
        return peek;

Reply via email to