Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2646)

Unified Diff: gcc/gcc/testsuite/lib/gfortran-dg.exp

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/lib/gfortran.exp ('k') | gcc/gcc/testsuite/lib/gnat.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/lib/gfortran-dg.exp
diff --git a/gcc/gcc/testsuite/lib/gfortran-dg.exp b/gcc/gcc/testsuite/lib/gfortran-dg.exp
index 55d6d400c401f5cd753fe957be020ab33a81facc..70a0888a0a4892eaba10be4f094e5932ee09de2f 100644
--- a/gcc/gcc/testsuite/lib/gfortran-dg.exp
+++ b/gcc/gcc/testsuite/lib/gfortran-dg.exp
@@ -135,10 +135,18 @@ proc gfortran-dg-debug-runtest { target_compile trivial opt_opts testcases } {
}
remove-build-file "trivial.S"
foreach level {1 "" 3} {
- lappend DEBUG_TORTURE_OPTIONS [list "${type}${level}"]
- foreach opt $opt_opts {
- lappend DEBUG_TORTURE_OPTIONS [list "${type}${level}" \
- "$opt" ]
+ if { ($type == "-gdwarf-2") && ($level != "") } {
+ lappend DEBUG_TORTURE_OPTIONS [list "${type}" "-g${level}"]
+ foreach opt $opt_opts {
+ lappend DEBUG_TORTURE_OPTIONS \
+ [list "${type}" "-g${level}" "$opt" ]
+ }
+ } else {
+ lappend DEBUG_TORTURE_OPTIONS [list "${type}${level}"]
+ foreach opt $opt_opts {
+ lappend DEBUG_TORTURE_OPTIONS \
+ [list "${type}${level}" "$opt" ]
+ }
}
}
}
« no previous file with comments | « gcc/gcc/testsuite/lib/gfortran.exp ('k') | gcc/gcc/testsuite/lib/gnat.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698