gcc/testsuite/ChangeLog:
2014-09-03 Max Ostapenko <m.ostapenko@partner.samsung.com>
* lib/gcc-dg.exp (set-target-env-var): Change env to ::env.
From-SVN: r214846
+2014-09-03 Max Ostapenko <m.ostapenko@partner.samsung.com>
+
+ * lib/gcc-dg.exp (set-target-env-var): Change env to ::env.
+
2014-09-03 Tobias Burnus <burnus@net-b.de>
PR fortran/61881
foreach env_var $set_target_env_var {
set var [lindex $env_var 0]
set value [lindex $env_var 1]
- if [info exists env($var)] {
- lappend saved_target_env_var [list $var 1 $env($var)]
+ if [info exists ::env($var)] {
+ lappend saved_target_env_var [list $var 1 $::env($var)]
} else {
lappend saved_target_env_var [list $var 0]
}