public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/106923] New: [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512
@ 2022-09-13  9:40 asolokha at gmx dot com
  2022-09-13 11:33 ` [Bug tree-optimization/106923] [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 since r13-2518-ga262f969d6fd936f marxin at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: asolokha at gmx dot com @ 2022-09-13  9:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106923

            Bug ID: 106923
           Summary: [13 Regression] ICE in eliminate_unnecessary_stmts, at
                    tree-ssa-dce.cc:1512
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc 13.0.0 20220911 snapshot (g:0ea5e3f4542832b8da016b152695e64a2a386309) ICEs
when compiling the following testcase w/ -O1 -finline-small-functions
-fpartial-inlining --param max-inline-insns-single=1 --param
uninlined-function-insns=10000:

int n;

int
baz (void);

__attribute__ ((returns_twice)) int
bar (void)
{
  if (baz ())
    ++n;

  return 0;
}

int
foo (void)
{
  return bar ();
}

% gcc-13.0.0 -O1 -finline-small-functions -fpartial-inlining --param
max-inline-insns-single=1 --param uninlined-function-insns=10000 -c xe0blvxx.c
during GIMPLE pass: dce
xe0blvxx.c: In function 'bar':
xe0blvxx.c:7:1: internal compiler error: in eliminate_unnecessary_stmts, at
tree-ssa-dce.cc:1512
    7 | bar (void)
      | ^~~
0x771cd5 eliminate_unnecessary_stmts
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220911/work/gcc-13-20220911/gcc/tree-ssa-dce.cc:1512
0x771cd5 perform_tree_ssa_dce
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220911/work/gcc-13-20220911/gcc/tree-ssa-dce.cc:1945

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

end of thread, other threads:[~2023-07-28  7:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13  9:40 [Bug tree-optimization/106923] New: [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 asolokha at gmx dot com
2022-09-13 11:33 ` [Bug tree-optimization/106923] [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 since r13-2518-ga262f969d6fd936f marxin at gcc dot gnu.org
2022-09-13 12:34 ` rguenth at gcc dot gnu.org
2022-10-18  8:46 ` rguenth at gcc dot gnu.org
2022-11-25  7:43 ` rguenth at gcc dot gnu.org
2023-02-06 13:26 ` jakub at gcc dot gnu.org
2023-02-07  9:35 ` cvs-commit at gcc dot gnu.org
2023-02-07  9:41 ` jakub at gcc dot gnu.org
2023-07-28  7:51 ` cvs-commit 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).