On 07/21/2011 01:39 AM, Georg-Johann Lay wrote: > - fprintf (asm_out_file, "/* DEBUG: cost = %d. */\n", > - rtx_cost (PATTERN (insn), INSN, !optimize_size)); > + rtx set; > + > + if ((set = single_set (insn), set)) > + fprintf (asm_out_file, "/* DEBUG: cost = %d. */\n", > + rtx_cost (SET_SRC (set), SET, !optimize_size));
Don't obfuscate the if condition like that. rtx set = single_set (insn); if (set) and while you're at it, optimize_insn_for_speed_p (). Ok with those changes. r~