aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorPeter Damianov <peter0x44@disroot.org>2024-05-26 08:06:14 -0600
committerJeff Law <jlaw@ventanamicro.com>2024-05-26 08:06:14 -0600
commit87463737b9942249ceb0d0d60050adf452f44f7c (patch)
tree27ea6a74c7fae0c70de8e3ae9f2798166a2069ea /libcpp
parentf9810728cf42ea7c3d84198aa582e53cfb2302d1 (diff)
downloadgcc-87463737b9942249ceb0d0d60050adf452f44f7c.zip
gcc-87463737b9942249ceb0d0d60050adf452f44f7c.tar.gz
gcc-87463737b9942249ceb0d0d60050adf452f44f7c.tar.bz2
[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 <peter0x44@disroot.org>
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/lex.cc b/libcpp/lex.cc
index c9e44e6..de752bd 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;