Commit b6e168f3 by James Lemke Committed by James Lemke

gcc-defs.exp (dg-additional-files-options): Extend regsub for…

gcc-defs.exp (dg-additional-files-options): Extend regsub for dg-additional-files to also match BOL.

2013-11-06  James Lemke  <jwlemke@codesourcery.com>

	* lib/gcc-defs.exp (dg-additional-files-options): Extend regsub for
	dg-additional-files to also match BOL.

From-SVN: r204462
parent 6dbe0958
2013-11-06 James Lemke <jwlemke@codesourcery.com>
* lib/gcc-defs.exp (dg-additional-files-options): Extend regsub for
dg-additional-files to also match BOL.
2013-11-06 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/torture/c99-contract-1.c: New test.
......
......@@ -245,7 +245,7 @@ proc dg-additional-files-options { options source } {
set additional_sources ""
}
if { $additional_files != "" } then {
regsub -all " " $additional_files " [file dirname $source]/" additional_files
regsub -all "^| " $additional_files " [file dirname $source]/" additional_files
set to_download [concat $to_download $additional_files]
set additional_files ""
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment