public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/38921]  New: [4.3 Regression] NULL access in delay-slot
@ 2009-01-20  3:50 hp at gcc dot gnu dot org
  2009-01-20  3:57 ` [Bug rtl-optimization/38921] " hp at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: hp at gcc dot gnu dot org @ 2009-01-20  3:50 UTC (permalink / raw)
  To: gcc-bugs

With 4.3 branch at revision 143494 (probably also at least 135713, but that has
local patches I don't care to revert to verify) the attached code puts the
p->next load in the delay-slot of the NULL-check branch, yielding a NULL
access.
I'm guessing a reorg.c bug...

(It doesn't seem to happen at HEAD/4.4 at 143507 which instead has some weird
and suboptimal cross-jumping behavior.)


-- 
           Summary: [4.3 Regression] NULL access in delay-slot
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu, i686-unknown-linux-gnu
GCC target triplet: cris-*-* and crisv32-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38921


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

end of thread, other threads:[~2009-07-14  9:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-20  3:50 [Bug rtl-optimization/38921] New: [4.3 Regression] NULL access in delay-slot hp at gcc dot gnu dot org
2009-01-20  3:57 ` [Bug rtl-optimization/38921] " hp at gcc dot gnu dot org
2009-01-20  9:05 ` rguenth at gcc dot gnu dot org
2009-01-20 10:38 ` hp at gcc dot gnu dot org
2009-01-21  3:46 ` hp at gcc dot gnu dot org
2009-01-21  3:48 ` hp at gcc dot gnu dot org
2009-01-21  4:18 ` hp at gcc dot gnu dot org
2009-01-21 16:41 ` rakdver at gcc dot gnu dot org
2009-01-21 22:01 ` hp at gcc dot gnu dot org
2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
2009-02-03 17:46 ` hp at gcc dot gnu dot org
2009-02-04 20:55 ` bonzini at gcc dot gnu dot org
2009-02-06  9:06 ` bonzini at gnu dot org
2009-07-14  9:34 ` rguenth at gcc dot gnu dot org
2009-07-14  9:34 ` rguenth at gcc dot gnu dot 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).