public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: Jeffrey A Law <law@cygnus.com> To: Weiwen Liu <liu@hepvms.physics.yale.edu> Cc: egcs-bugs@cygnus.com Subject: Re: optimization bug Date: Sun, 21 Sep 1997 21:28:00 -0000 [thread overview] Message-ID: <19773.874899819@hurl.cygnus.com> (raw) In-Reply-To: <Pine.OSF.3.96.970921210021.4151A-100000@hepunix1.physics.yale.edu> In message < Pine.OSF.3.96.970921210021.4151A-100000@hepunix1.physics.yale.edu >you write: > Hi, > I found that the bug is due to replace a register in a USE RTL with > its value. Can you explain exactly why the compiler core dumped and why you patch fixes the problem? Using your testcase, compiling with -O2 I don't get an abort. There are 3 instances where we have USE insns which have a REG_DEAD note attached to them: (insn 96 52 53 (use (reg:DI 92)) -1 (nil) (expr_list:REG_DEAD (reg:DI 92) (nil))) (insn 95 88 64 (use (reg:DI 90)) -1 (nil) (expr_list:REG_DEAD (reg:DI 90) (nil))) (insn 72 73 97 (use (reg/i:DI 0 $0)) -1 (nil) (expr_list:REG_DEAD (reg/i:DI 0 $0) (nil))) In each and every case reg_equiv_replace is zero for the register in question -- which would prevent the replacement code from doing anything. So, what exactly is the problem? Jeff
next prev parent reply other threads:[~1997-09-21 21:28 UTC|newest] Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top 1997-09-21 18:07 Weiwen Liu 1997-09-21 21:28 ` Jeffrey A Law [this message] 1997-09-21 21:28 ` Weiwen Liu 1997-09-22 11:08 ` Jeffrey A Law 1997-09-22 22:55 ` Jim Wilson 1997-09-23 13:08 ` Jim Wilson 1997-09-24 7:51 ` Weiwen Liu 1997-11-02 22:26 ` Jeffrey A Law -- strict thread matches above, loose matches on Subject: below -- 2003-03-10 14:24 surjan 2003-03-10 15:31 ` Tim Prince 2002-01-04 6:20 Calin Cascaval [not found] <20000812004418.A4935@a2000.nl> 2000-08-12 9:30 ` Optimization bug Richard Henderson 2000-03-24 12:07 Gerald Gutierrez 2000-03-22 1:41 optimization bug Andrea Latina 1999-12-31 20:54 Optimization bug Peter R. Torpman 1999-12-31 20:54 ` Nathan Sidwell 1999-03-31 23:54 Hyman Rosen 1999-03-31 23:54 ` Jeffrey A Law 1999-03-31 23:54 ` Hyman Rosen 1998-10-27 11:04 optimization bug Valentin Bonnard 1998-10-25 21:47 Kaoru Fukui 1998-10-22 10:56 Dima Volodin 1998-10-25 12:17 ` Valentin Bonnard 1998-10-25 17:41 ` Dima Volodin 1998-10-26 18:00 ` Alexandre Oliva 1998-10-27 8:56 ` Dima Volodin 1998-10-27 11:04 ` Alexandre Oliva 1998-10-27 9:54 ` Dima Volodin 1998-10-12 11:18 Optimization bug Phillip Ezolt 1999-01-13 5:41 ` Jeffrey A Law 1997-09-19 21:03 optimization bug Weiwen Liu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=19773.874899819@hurl.cygnus.com \ --to=law@cygnus.com \ --cc=egcs-bugs@cygnus.com \ --cc=liu@hepvms.physics.yale.edu \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).