Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r12-5176-gabdff441a07f55d16e3d0e5ced3123c83d210a0a.
gcc/ChangeLog:
PR other/103129
* diagnostic-show-locus.c (def_policy): Use def_tabstop.
Signed-off-by: David Malcolm <[email protected]>
---
gcc/diagnostic-show-locus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/diagnostic-show-locus.c b/gcc/diagnostic-show-locus.c
index d796085222a..67be213c5a2 100644
--- a/gcc/diagnostic-show-locus.c
+++ b/gcc/diagnostic-show-locus.c
@@ -693,7 +693,7 @@ static const int def_tabstop = 8;
static cpp_char_column_policy def_policy ()
{
- return cpp_char_column_policy (8, cpp_wcwidth);
+ return cpp_char_column_policy (def_tabstop, cpp_wcwidth);
}
/* Create some expanded locations for testing layout_range. The filename
--
2.26.3