public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/67443] New: DSE removes required store instruction
@ 2015-09-03  7:57 krebbel at gcc dot gnu.org
  2015-09-03  8:19 ` [Bug rtl-optimization/67443] [5/6 regression] " rguenth at gcc dot gnu.org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: krebbel at gcc dot gnu.org @ 2015-09-03  7:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67443

            Bug ID: 67443
           Summary: DSE removes required store instruction
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krebbel at gcc dot gnu.org
  Target Milestone: ---

Created attachment 36289
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36289&action=edit
Autoreduced testcase

This bug has been reported on the Debian mailing list. It occurs when building
the mozilla javascript engine with GCC 5 on S/390:

https://lists.debian.org/debian-s390/2015/08/msg00006.html

Bisecting shows that the failure occurred after this commit:

commit 90f3e775d6b7bec70e883579beb49b456c135a09
Author: wmi <wmi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Jan 22 17:59:23 2015 +0000

    2015-01-22  Wei Mi  <wmi@google.com>

            PR rtl-optimization/64557
            * dse.c (record_store): Call get_addr for mem_addr.
            (check_mem_read_rtx): Likewise.

Building the attached testcase with GCC before and after the commit shows that
a single stc (store character) instruction is missing after the patch.

Build options: -O2 -march=z900 -fPIC -std=gnu++11


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-10-26 15:26 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-03  7:57 [Bug rtl-optimization/67443] New: DSE removes required store instruction krebbel at gcc dot gnu.org
2015-09-03  8:19 ` [Bug rtl-optimization/67443] [5/6 regression] " rguenth at gcc dot gnu.org
2015-09-08  5:02 ` wmi at google dot com
2015-09-08  5:33 ` wmi at google dot com
2015-10-14 16:27 ` vogt at linux dot vnet.ibm.com
2015-10-14 16:40 ` vogt at linux dot vnet.ibm.com
2015-10-14 16:41 ` vogt at linux dot vnet.ibm.com
2015-10-14 21:32 ` vogt at linux dot vnet.ibm.com
2015-10-14 21:35 ` vogt at linux dot vnet.ibm.com
2015-10-15 10:04 ` vogt at linux dot vnet.ibm.com
2015-10-15 10:13 ` vogt at linux dot vnet.ibm.com
2015-10-17 19:25 ` wmi at google dot com
2015-10-18 18:55 ` wmi at google dot com
2015-10-18 19:54 ` vogt at linux dot vnet.ibm.com
2015-10-18 20:58 ` vogt at linux dot vnet.ibm.com
2015-10-20  9:13 ` rguenth at gcc dot gnu.org
2015-10-20 13:13 ` vogt at linux dot vnet.ibm.com
2015-10-20 13:32 ` rguenther at suse dot de
2015-10-21  0:11 ` vogt at linux dot vnet.ibm.com
2015-10-21  0:12 ` vogt at linux dot vnet.ibm.com
2015-10-23 10:27 ` vogt at linux dot vnet.ibm.com
2015-10-26 15:25 ` rguenth at gcc dot gnu.org
2015-10-26 15:26 ` [Bug rtl-optimization/67443] [5 " rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).