gcc-dg.exp (set-target-env-var): Change env to ::env.
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
This commit is contained in:
parent
19c41621fe
commit
869b69b4e9
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -300,8 +300,8 @@ proc set-target-env-var { } {
|
||||
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]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user