Skip to content

Commit e02fb0e

Browse files
committed
run-test-suite.py: inject -fno-diagnostics-show-line-numbers for GCC 9 onwards
1 parent 220e247 commit e02fb0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run-test-suite.py

+2
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,8 @@ def uses_python_headers():
363363

364364
if uses_dg_directives(inputfiles):
365365
dg_context = DgContext(inputfiles)
366+
if GCC_VERSION >= 9000:
367+
dg_context.options.append('-fno-diagnostics-show-line-numbers')
366368
dg_context.echo_results = True
367369
for inputfile in inputfiles:
368370
dg_context.parse_directives(inputfile)

0 commit comments

Comments
 (0)