Commit a8404b9a by Jakub Jelinek Committed by Jakub Jelinek

re PR target/77834 (ICE: in make_decl_rtl, at varasm.c:1311 with -O -ftree-pre…

re PR target/77834 (ICE: in make_decl_rtl, at varasm.c:1311 with -O -ftree-pre -mstringop-strategy=libcall)

	PR target/77834
	* dse.c (dse_step5): Call scan_reads even if just
	insn_info->frame_read.  Improve and fix dump file messages.

From-SVN: r241917
parent 60cee85e
2016-11-07 Jakub Jelinek <jakub@redhat.com> 2016-11-07 Jakub Jelinek <jakub@redhat.com>
PR target/77834
* dse.c (dse_step5): Call scan_reads even if just
insn_info->frame_read. Improve and fix dump file messages.
PR target/78227 PR target/78227
* config/i386/i386.c (ix86_expand_sse_cmp): Force dest into * config/i386/i386.c (ix86_expand_sse_cmp): Force dest into
cmp_mode argument even for -O0 if cmp_mode != mode and maskcmp. cmp_mode argument even for -O0 if cmp_mode != mode and maskcmp.
...@@ -3298,12 +3298,19 @@ dse_step5 (void) ...@@ -3298,12 +3298,19 @@ dse_step5 (void)
bitmap_clear (v); bitmap_clear (v);
} }
else if (insn_info->read_rec else if (insn_info->read_rec
|| insn_info->non_frame_wild_read) || insn_info->non_frame_wild_read
|| insn_info->frame_read)
{ {
if (dump_file && !insn_info->non_frame_wild_read) if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "regular read\n"); {
else if (dump_file && (dump_flags & TDF_DETAILS)) if (!insn_info->non_frame_wild_read
fprintf (dump_file, "non-frame wild read\n"); && !insn_info->frame_read)
fprintf (dump_file, "regular read\n");
if (insn_info->non_frame_wild_read)
fprintf (dump_file, "non-frame wild read\n");
if (insn_info->frame_read)
fprintf (dump_file, "frame read\n");
}
scan_reads (insn_info, v, NULL); scan_reads (insn_info, v, NULL);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment