aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2007-07-25 04:12:12 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-07-25 04:12:12 +0000
commita857cbfbbf90a7d82200e9715b24820a5c344c59 (patch)
treeabee0e838798d06649464c8a6b8371ada221c9f3 /gcc/config/darwin.c
parent80b40cac8d295a30498edd014a6ffc101eb7e184 (diff)
downloadgcc-a857cbfbbf90a7d82200e9715b24820a5c344c59.zip
gcc-a857cbfbbf90a7d82200e9715b24820a5c344c59.tar.gz
gcc-a857cbfbbf90a7d82200e9715b24820a5c344c59.tar.bz2
darwin.c (darwin_override_options): Don't force on flag_var_tracking_uninit when no debug info is requested.
2007-07-24 Daniel Berlin <dberlin@dberlin.org> * config/darwin.c (darwin_override_options): Don't force on flag_var_tracking_uninit when no debug info is requested. From-SVN: r126900
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 0673915..d84d280 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1729,7 +1729,8 @@ darwin_override_options (void)
flag_non_call_exceptions = 0;
}
if (flag_var_tracking
- && strverscmp (darwin_macosx_version_min, "10.5") >= 0)
+ && strverscmp (darwin_macosx_version_min, "10.5") >= 0
+ && debug_info_level >= DINFO_LEVEL_NORMAL)
flag_var_tracking_uninit = 1;
}