public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38264]  New: tree_forwarder_block_p says no to first basic block
@ 2008-11-25 19:12 rguenth at gcc dot gnu dot org
  2008-11-25 19:12 ` [Bug middle-end/38264] " rguenth at gcc dot gnu dot org
  2008-11-25 20:05 ` law at redhat dot com
  0 siblings, 2 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-25 19:12 UTC (permalink / raw)
  To: gcc-bugs

tree_forwarder_block_p has

  if (find_edge (ENTRY_BLOCK_PTR, bb))
    return false;

without explanation.  This test was added by you, Jeff - do you remember why?

Removing this check triggers some ICEs in the testsuite because remove_bb
(called from remove_forwarder_block) unconditionally moves labels from the
removed block to prev_bb (yuck!) - which is of course invalid if that happens
to be the entry bb.  Luckily remove_forwarder_block already contains code
to do the label-move job itself - it is just conditional on seen abnormal
incoming edges.  Enabling this code to run by default causes a bootstrap
comparison failure though.


-- 
           Summary: tree_forwarder_block_p says no to first basic block
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-38264-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2023-08-26  5:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25 19:12 [Bug middle-end/38264] New: tree_forwarder_block_p says no to first basic block rguenth at gcc dot gnu dot org
2008-11-25 19:12 ` [Bug middle-end/38264] " rguenth at gcc dot gnu dot org
2008-11-25 20:05 ` law at redhat dot com
     [not found] <bug-38264-4@http.gcc.gnu.org/bugzilla/>
2012-02-02 17:59 ` pinskia at gcc dot gnu.org
2023-05-26  0:40 ` pinskia at gcc dot gnu.org
2023-05-26  6:53 ` rguenth at gcc dot gnu.org
2023-08-26  5:47 ` pinskia 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).