From: Jakub Jelinek Date: Thu, 26 Mar 2015 13:19:00 +0000 (+0100) Subject: var-tracking.c (variable_tracking_main_1): Don't track variables for targetm.no_regis... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d00dce2749c652a0d63b646695249a9c5a820b94;p=gcc.git var-tracking.c (variable_tracking_main_1): Don't track variables for targetm.no_register_allocation targets. * var-tracking.c (variable_tracking_main_1): Don't track variables for targetm.no_register_allocation targets. From-SVN: r221693 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5ea273d0396..34a2048f900 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-03-26 Jakub Jelinek + + * var-tracking.c (variable_tracking_main_1): Don't track + variables for targetm.no_register_allocation targets. + 2015-03-26 Oleg Endo * config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove. diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index da4c61e7d56..18eff20355f 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -10311,7 +10311,10 @@ variable_tracking_main_1 (void) { bool success; - if (flag_var_tracking_assignments < 0) + if (flag_var_tracking_assignments < 0 + /* Var-tracking right now assumes the IR doesn't contain + any pseudos at this point. */ + || targetm.no_register_allocation) { delete_debug_insns (); return 0;