* var-tracking.c (variable_tracking_main_1): Don't track
variables for targetm.no_register_allocation targets.
From-SVN: r221693
+2015-03-26 Jakub Jelinek <jakub@redhat.com>
+
+ * var-tracking.c (variable_tracking_main_1): Don't track
+ variables for targetm.no_register_allocation targets.
+
2015-03-26 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove.
{
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;