public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98353] New: [9/10/11 Regression] ICE in propagate_necessity, at tree-ssa-dce.c:1053
@ 2020-12-17 16:47 gscfq@t-online.de
  2020-12-18  8:44 ` [Bug c++/98353] [9/10/11 Regression] ICE in propagate_necessity, at tree-ssa-dce.c:1053 since r6-4886-gcda0a029f45d20f4 marxin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gscfq@t-online.de @ 2020-12-17 16:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98353
           Summary: [9/10/11 Regression] ICE in propagate_necessity, at
                    tree-ssa-dce.c:1053
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to r6 :


$ cat z1.cc
template <int n> class A {};
template <class T> struct B {
  static const int n = 1;
  template <class> A <B<T>::n> f();
  _Complex double c[2], d = 1.0;
};
void g ()
{
  B<int>().f<int>();
}


$ g++-5 -c z1.cc -O2 -std=c++11
$
$ g++-11-20201213 -c z1.cc -O2
during GIMPLE pass: cddce
z1.cc: In function 'void g()':
z1.cc:10:1: internal compiler error: in propagate_necessity, at
tree-ssa-dce.c:1053
   10 | }
      | ^
0xd7fa5b propagate_necessity
        ../../gcc/tree-ssa-dce.c:1053
0xd80a91 perform_tree_ssa_dce
        ../../gcc/tree-ssa-dce.c:1747

---

z1.cc: In function 'void g()':
z1.cc:7:6: error: non-register as LHS of binary operation
    7 | void g ()
      |      ^
D.2410.c[D.2438] = COMPLEX_EXPR <(double) 0, (double) 0>;
z1.cc:7:6: internal compiler error: 'verify_gimple' failed
0xfd241d verify_gimple_in_seq(gimple*)
        ../../gcc/tree-cfg.c:5119
0xc97791 gimplify_body(tree_node*, bool)
        ../../gcc/gimplify.c:15329
0xc97a47 gimplify_function_tree(tree_node*)
        ../../gcc/gimplify.c:15400
0xac81f7 cgraph_node::analyze()
        ../../gcc/cgraphunit.c:670
0xacb326 analyze_functions
        ../../gcc/cgraphunit.c:1235
0xacc4dd symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2513

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

end of thread, other threads:[~2021-04-22 17:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 16:47 [Bug c++/98353] New: [9/10/11 Regression] ICE in propagate_necessity, at tree-ssa-dce.c:1053 gscfq@t-online.de
2020-12-18  8:44 ` [Bug c++/98353] [9/10/11 Regression] ICE in propagate_necessity, at tree-ssa-dce.c:1053 since r6-4886-gcda0a029f45d20f4 marxin at gcc dot gnu.org
2020-12-21 12:17 ` jakub at gcc dot gnu.org
2020-12-21 12:47 ` [Bug c++/98353] [8/9/10/11 " jakub at gcc dot gnu.org
2020-12-21 12:53 ` jakub at gcc dot gnu.org
2020-12-21 23:03 ` cvs-commit at gcc dot gnu.org
2020-12-21 23:33 ` [Bug c++/98353] [8/9/10 " jakub at gcc dot gnu.org
2020-12-23 21:48 ` cvs-commit at gcc dot gnu.org
2021-01-05  8:32 ` rguenth at gcc dot gnu.org
2021-01-06  9:40 ` cvs-commit at gcc dot gnu.org
2021-01-06  9:46 ` [Bug c++/98353] [8/9 " jakub at gcc dot gnu.org
2021-04-20 23:30 ` cvs-commit at gcc dot gnu.org
2021-04-22 16:49 ` cvs-commit at gcc dot gnu.org
2021-04-22 17:08 ` 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).