* var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if
set->regs[i] is NULL or has just one entry.
From-SVN: r160216
+2010-06-03 Jan Hubicka <jh@suse.cz>
+ Jakub Jelinek <jakub@redhat.com>
+
+ * var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if
+ set->regs[i] is NULL or has just one entry.
+
2010-06-03 Jan Hubicka <jh@suse.cz>
* lto-cgraph.c (lto_varpool_encoder_size): Remove.
* tree-inline.c (estimate_num_insns): For stdarg functions look
into call statement to count cost of argument passing.
-2010-06-01 Kai Tietz
+2010-06-01 Kai Tietz <kai.tietz@onevision.com>
* config/i386.c (ix86_output_addr_vec_elt): Make LPREFIX
argument for fprintf.
{
rtx canon[NUM_MACHINE_MODES];
+ /* If the list is empty or one entry, no need to canonicalize
+ anything. */
+ if (set->regs[i] == NULL || set->regs[i]->next == NULL)
+ continue;
+
memset (canon, 0, sizeof (canon));
for (list = set->regs[i]; list; list = list->next)