public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/40585]  New: [4.3/4.4/4.5 Regression] tracer duplicates blocks w/o adjusting EH tree
@ 2009-06-29 11:51 rguenth at gcc dot gnu dot org
  2009-06-29 12:01 ` [Bug tree-optimization/40585] " steven at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-29 11:51 UTC (permalink / raw)
  To: gcc-bugs

From

  if (__p_91 != 0B)
    goto <bb 39>;
  else
    goto <bb 40>;
  # SUCC: 39 [100.0%]  count:931 (true,exec) 40 (false,exec)

  # BLOCK 39 freq:4175 count:931
  # PRED: 38 [100.0%]  count:931 (true,exec)
  operator delete (__p_91);
  # SUCC: 40 [100.0%]  count:931 (fallthru,exec)

  # BLOCK 40 freq:4188 count:934
  # PRED: 38 (false,exec) 39 [100.0%]  count:931 (fallthru,exec)
  <<<exception object>>> = save_eptr.427_34;
  <<<filter object>>> = save_filt.428_33;
  resx 3;
  # SUCC:

it generates

  if (__p_91 != 0B)
    goto <bb 39>;
  else
    goto <bb 40>;
  # SUCC: 39 [100.0%]  count:931 (true,exec) 40 (false,exec)

  # BLOCK 39 freq:4175 count:931
  # PRED: 38 [100.0%]  count:931 (true,exec)
  operator delete (__p_91);
  # SUCC: 48 [100.0%]  count:931 (fallthru,exec)

  # BLOCK 48 freq:4175 count:931
  # PRED: 39 [100.0%]  count:931 (fallthru,exec)
  <<<exception object>>> = save_eptr.427_34;
  <<<filter object>>> = save_filt.428_33;
  resx 3;
  # SUCC:

  # BLOCK 40 freq:13 count:3
  # PRED: 38 (false,exec)
  <<<exception object>>> = save_eptr.427_34;
  <<<filter object>>> = save_filt.428_33;
  resx 3;
  # SUCC:

duplicating the tail.  This causes us to ICE later like

Loop.cpp:75: internal compiler error: in expand_resx_expr, at except.c:573
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.


-- 
           Summary: [4.3/4.4/4.5 Regression] tracer duplicates blocks w/o
                    adjusting EH tree
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        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=40585


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

end of thread, other threads:[~2009-08-24 13:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-29 11:51 [Bug tree-optimization/40585] New: [4.3/4.4/4.5 Regression] tracer duplicates blocks w/o adjusting EH tree rguenth at gcc dot gnu dot org
2009-06-29 12:01 ` [Bug tree-optimization/40585] " steven at gcc dot gnu dot org
2009-06-29 12:02 ` steven at gcc dot gnu dot org
2009-06-29 12:09 ` rguenther at suse dot de
2009-06-29 14:43 ` rguenth at gcc dot gnu dot org
2009-07-01 10:47 ` hubicka at ucw dot cz
2009-07-01 10:54 ` rguenther at suse dot de
2009-07-01 13:02 ` rguenth at gcc dot gnu dot org
2009-07-02 12:16 ` rguenth at gcc dot gnu dot org
2009-07-02 12:17 ` rguenth at gcc dot gnu dot org
2009-07-02 12:17 ` [Bug tree-optimization/40585] [4.5 " rguenth at gcc dot gnu dot org
2009-07-02 12:17 ` rguenth at gcc dot gnu dot org
2009-07-09 15:46 ` rguenth at gcc dot gnu dot org
2009-07-12 12:08 ` hubicka at gcc dot gnu dot org
2009-08-24 13:12 ` 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).