diff options
author | Jeff Law <jlaw@ventanamicro> | 2023-04-30 17:12:19 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro> | 2023-04-30 17:12:19 -0600 |
commit | 33b6b7919763d939a153fe6f4aa3250c107605ee (patch) | |
tree | fbf122e4b71307c0a1072f0bbc33f73f89775eea /libcpp | |
parent | b159026b739f46e6d552bb23e8f51f03e291f51e (diff) | |
download | gcc-33b6b7919763d939a153fe6f4aa3250c107605ee.tar.gz |
Revert "[PATCH] libcpp: suppress builtin macro redefined warnings for __LINE__"
This reverts commit e7ce7c4905fd254760b1cd187752a03bc0c148ba.
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/init.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/init.cc b/libcpp/init.cc index bdeccffa029..c508f06112a 100644 --- a/libcpp/init.cc +++ b/libcpp/init.cc @@ -421,7 +421,7 @@ static const struct builtin_macro builtin_array[] = B("__FILE__", BT_FILE, false), B("__FILE_NAME__", BT_FILE_NAME, false), B("__BASE_FILE__", BT_BASE_FILE, false), - B("__LINE__", BT_SPECLINE, false), + B("__LINE__", BT_SPECLINE, true), B("__INCLUDE_LEVEL__", BT_INCLUDE_LEVEL, true), B("__COUNTER__", BT_COUNTER, true), /* Make sure to update the list of built-in |