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

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reducing this.

And yes it looks GC related:
```
In module gcc_repro_a, imported at t1.cc:84182:
t0.cc: In member function ‘virtual bool
boost::system::error_category::failed(int) const’:
t0.cc:154191:18: internal compiler error: in tree_node_structure_for_code, at
tree.cc:603
154191 |     virtual bool failed( int ev ) const noexcept
       |                  ^~~~~~
0x293961f internal_error(char const*, ...)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic-global-context.cc:517
0xab2a85 fancy_abort(char const*, int, char const*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic.cc:1749
0x9c0a00 tree_node_structure_for_code
        /home/apinski/src/upstream-gcc-match/gcc/gcc/tree.cc:603
0x9c0a00 tree_node_structure_for_code
        /home/apinski/src/upstream-gcc-match/gcc/gcc/tree.cc:540
0x9c0a00 tree_node_structure(tree_node const*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/tree.cc:4169
0xd7e97b gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:114
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0x111e846 gt_ggc_mx_tree_statement_list_node(void*)
        /home/apinski/src/upstream-gcc-match/gcc/objdir/gcc/gtype-desc.cc:1945
0xd7ee7a gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:522
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f613 gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:355
0xd7eb8e gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:616
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
0xd7f0dd gt_ggc_mx_lang_tree_node(void*)
        ./gt-cp-tree.h:475
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

```

Reply via email to