public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104533] New: [12 Regression] ICE in update_vtable_references, at ipa-visibility.cc:383
@ 2022-02-14 19:55 gscfq@t-online.de
  2022-02-15  8:03 ` [Bug ipa/104533] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2022-02-14 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104533
           Summary: [12 Regression] ICE in update_vtable_references, at
                    ipa-visibility.cc:383
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20211114 and 20211121 :


$ cat z1.cc
struct B {
  virtual ~B();
};
__attribute__((target_clones("avx")))
B::~B() = default;


$ cat z2.cc
struct B {
  virtual ~B();
};
__attribute__((target_clones("sse","avx")))
B::~B() = default;


$ g++-12-20220213 -c z1.cc -fPIC -Ofast
during IPA pass: visibility
z1.cc:5:18: internal compiler error: Segmentation fault
    5 | B::~B() = default;
      |                  ^
0xda1fdf crash_signal
        ../../gcc/toplev.cc:322
0x19be64f update_vtable_references
        ../../gcc/ipa-visibility.cc:383
0x1029952 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.cc:11070
0x1029b9c walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.cc:11157
0x19bf549 function_and_variable_visibility
        ../../gcc/ipa-visibility.cc:868

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

end of thread, other threads:[~2022-03-01  9:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 19:55 [Bug c++/104533] New: [12 Regression] ICE in update_vtable_references, at ipa-visibility.cc:383 gscfq@t-online.de
2022-02-15  8:03 ` [Bug ipa/104533] " rguenth at gcc dot gnu.org
2022-02-16 10:06 ` pinskia at gcc dot gnu.org
2022-02-22 10:12 ` [Bug ipa/104533] [12 Regression] ICE in update_vtable_references, at ipa-visibility.cc:383 since r12-2900-gfa28520fadb9405f marxin at gcc dot gnu.org
2022-03-01  9:10 ` cvs-commit at gcc dot gnu.org
2022-03-01  9:11 ` marxin 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).