summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 19:24:16 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 19:24:16 +0000
commitffdfb40f51f5b59a0d0adbfb26854181217c455b (patch)
tree15e16c01cd980b4fd22eaee313520cf6b797c505 /gcc/config/darwin.c
parentdea3189b45f05f83dc99494d66b5a4311c811ce6 (diff)
downloadgcc-ffdfb40f51f5b59a0d0adbfb26854181217c455b.tar.gz
2007-07-25 Daniel Berlin <dberlin@dberlin.org>
* config/darwin.c (darwin_override_options): Additional fix for debug info formats that don't support var tracking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126927 138bc75d-0d04-0410-961f-82ee72b054a4
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 d84d2802246..1f607fd8c0d 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1730,7 +1730,8 @@ darwin_override_options (void)
}
if (flag_var_tracking
&& strverscmp (darwin_macosx_version_min, "10.5") >= 0
- && debug_info_level >= DINFO_LEVEL_NORMAL)
+ && debug_info_level >= DINFO_LEVEL_NORMAL
+ && debug_hooks->var_location != do_nothing_debug_hooks.var_location)
flag_var_tracking_uninit = 1;
}