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
This commit is contained in:
parent
60cee85e0a
commit
a8404b9a26
|
@ -1,5 +1,9 @@
|
|||
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
|
||||
* config/i386/i386.c (ix86_expand_sse_cmp): Force dest into
|
||||
cmp_mode argument even for -O0 if cmp_mode != mode and maskcmp.
|
||||
|
|
17
gcc/dse.c
17
gcc/dse.c
|
@ -3298,12 +3298,19 @@ dse_step5 (void)
|
|||
bitmap_clear (v);
|
||||
}
|
||||
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)
|
||||
fprintf (dump_file, "regular read\n");
|
||||
else if (dump_file && (dump_flags & TDF_DETAILS))
|
||||
fprintf (dump_file, "non-frame wild read\n");
|
||||
if (dump_file && (dump_flags & TDF_DETAILS))
|
||||
{
|
||||
if (!insn_info->non_frame_wild_read
|
||||
&& !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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue