* lib/gnat-dg.exp: Use gnatmake -c -u to compile a single file.

From-SVN: r177273
This commit is contained in:
Arnaud Charlet 2011-08-03 14:32:03 +00:00 committed by Arnaud Charlet
parent 2ee06322e8
commit 4a174dbf09
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-08-03 Arnaud Charlet <charlet@adacore.com>
* lib/gnat-dg.exp: Use gnatmake -c -u to compile a single file.
2011-08-03 H.J. Lu <hongjiu.lu@intel.com>
PR target/47744

View File

@ -28,6 +28,7 @@ proc lremove {list_variable value} {
proc gnat-dg-test { prog do_what extra_tool_flags } {
if { $do_what == "compile" } {
lappend extra_tool_flags "-c"
lappend extra_tool_flags "-u"
}
set result [gcc-dg-test-1 gnat_target_compile $prog $do_what $extra_tool_flags]