From ff79704e04af919c4fe501c7dceca8b21cced614 Mon Sep 17 00:00:00 2001 From: aoliva Date: Thu, 3 Sep 2009 05:24:57 +0000 Subject: [PATCH] * toplev.c (process_options): Enable var-tracking-assignments by default if var-tracking is enabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151362 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/toplev.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df21296..a830c7c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-09-03 Alexandre Oliva + + * toplev.c (process_options): Enable var-tracking-assignments + by default if var-tracking is enabled. + 2009-09-02 David Daney * cfgbuild.c (find_bb_boundaries): Split blocks containing a diff --git a/gcc/toplev.c b/gcc/toplev.c index 1eaa893..1d69bb9 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1990,7 +1990,7 @@ process_options (void) flag_var_tracking = optimize >= 1; if (flag_var_tracking_assignments == AUTODETECT_VALUE) - flag_var_tracking_assignments = 0; + flag_var_tracking_assignments = flag_var_tracking; if (flag_var_tracking_assignments_toggle) flag_var_tracking_assignments = !flag_var_tracking_assignments; -- 2.7.4