public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/57320] New: Shrink-wrapping breaks graph dumping
@ 2013-05-17 21:51 steven at gcc dot gnu.org
  2013-05-17 21:53 ` [Bug rtl-optimization/57320] Shrink-wrapping leaves unreachable blocks in the CFG steven at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: steven at gcc dot gnu.org @ 2013-05-17 21:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57320
           Summary: Shrink-wrapping breaks graph dumping
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: steven at gcc dot gnu.org

Compiling gcc.target/i386/pad-10.c with:

$ ./xgcc -B. -O2 -fomit-frame-pointer -march=atom pad-10.c \
 -fdump-rtl-pro_and_epilogue-graph

gives:

pad-10.c: In function 'foo2':
pad-10.c:19:1: internal compiler error: in pre_and_rev_post_order_compute, at
cfganal.c:869
 }
 ^
0x61dbaa pre_and_rev_post_order_compute(int*, int*, bool)
        ../../trunk/gcc/cfganal.c:869
0xd28d21 draw_cfg_nodes_no_loops
        ../../trunk/gcc/graph.c:183
0xd28d21 draw_cfg_nodes
        ../../trunk/gcc/graph.c:265
0xd28d21 print_graph_cfg(char const*, function*)
        ../../trunk/gcc/graph.c:306


This happens because shrink-wrapping leaves unreachable blocks
in the CFG.  For a more detailed analysis see:
http://gcc.gnu.org/ml/gcc-patches/2013-05/msg01016.html


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

* [Bug rtl-optimization/57320] Shrink-wrapping leaves unreachable blocks in the CFG
  2013-05-17 21:51 [Bug rtl-optimization/57320] New: Shrink-wrapping breaks graph dumping steven at gcc dot gnu.org
@ 2013-05-17 21:53 ` steven at gcc dot gnu.org
  2014-01-07 11:53 ` [Bug rtl-optimization/57320] [4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: steven at gcc dot gnu.org @ 2013-05-17 21:53 UTC (permalink / raw)
  To: gcc-bugs

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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-05-17
                 CC|                            |bernds at gcc dot gnu.org
            Summary|Shrink-wrapping breaks      |Shrink-wrapping leaves
                   |graph dumping               |unreachable blocks in the
                   |                            |CFG
     Ever confirmed|0                           |1

--- Comment #1 from Steven Bosscher <steven at gcc dot gnu.org> ---
Adding Bernd to CC as author of the shrink-wrapping code


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

* [Bug rtl-optimization/57320] [4.9 Regression] Shrink-wrapping leaves unreachable blocks in the CFG
  2013-05-17 21:51 [Bug rtl-optimization/57320] New: Shrink-wrapping breaks graph dumping steven at gcc dot gnu.org
  2013-05-17 21:53 ` [Bug rtl-optimization/57320] Shrink-wrapping leaves unreachable blocks in the CFG steven at gcc dot gnu.org
@ 2014-01-07 11:53 ` rguenth at gcc dot gnu.org
  2014-02-19 22:36 ` steven at gcc dot gnu.org
  2014-03-13 19:13 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-01-07 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug rtl-optimization/57320] [4.9 Regression] Shrink-wrapping leaves unreachable blocks in the CFG
  2013-05-17 21:51 [Bug rtl-optimization/57320] New: Shrink-wrapping breaks graph dumping steven at gcc dot gnu.org
  2013-05-17 21:53 ` [Bug rtl-optimization/57320] Shrink-wrapping leaves unreachable blocks in the CFG steven at gcc dot gnu.org
  2014-01-07 11:53 ` [Bug rtl-optimization/57320] [4.9 Regression] " rguenth at gcc dot gnu.org
@ 2014-02-19 22:36 ` steven at gcc dot gnu.org
  2014-03-13 19:13 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: steven at gcc dot gnu.org @ 2014-02-19 22:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Steven Bosscher <steven at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> This has been fixed by r204211 on the trunk, any reason to keep this PR open?

Eh, really? That commit is supposed to change nothing except
the graph dumper.

> Note that Steven's patch has been approved, but never committed:
> http://gcc.gnu.org/ml/gcc-patches/2013-05/msg01020.html

That patch is still necessary. I've simply forgotten about it.

I don't have access to a machine to commit it this or next week.  Much
appreciated if you could take care of it!


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

* [Bug rtl-optimization/57320] [4.9 Regression] Shrink-wrapping leaves unreachable blocks in the CFG
  2013-05-17 21:51 [Bug rtl-optimization/57320] New: Shrink-wrapping breaks graph dumping steven at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-02-19 22:36 ` steven at gcc dot gnu.org
@ 2014-03-13 19:13 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-03-13 19:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed by Steven's patch.


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

end of thread, other threads:[~2014-03-13 19:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-17 21:51 [Bug rtl-optimization/57320] New: Shrink-wrapping breaks graph dumping steven at gcc dot gnu.org
2013-05-17 21:53 ` [Bug rtl-optimization/57320] Shrink-wrapping leaves unreachable blocks in the CFG steven at gcc dot gnu.org
2014-01-07 11:53 ` [Bug rtl-optimization/57320] [4.9 Regression] " rguenth at gcc dot gnu.org
2014-02-19 22:36 ` steven at gcc dot gnu.org
2014-03-13 19:13 ` jakub 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).