bug gcc версия 12.0.0 20210619 (experimental) (GCC) (modules TS)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://github.com/wipedlifepotato/bacteria
(and why i can't use extern "C"??)

../cxxmodules//bacteria/cryptocurrency.cpp:13:8: внутренняя ошибка
компилятора: дерево: expected record_type or union_type or qual_union_type,
имеется template_type_parm в friend_from_decl_list, на cp/module.cc:4627
   13 | export module cryptocurrency;
      |        ^~~~~~
0x841c17 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
../.././gcc/tree.c:8684
0x69f5fa tree_check3(tree_node*, char const*, int, char const*, tree_code,
tree_code, tree_code)
../.././gcc/tree.h:3411
0x69f5fa friend_from_decl_list
../.././gcc/cp/module.cc:4627
0xa34830 trees_out::key_mergeable(int, merge_kind, tree_node*, tree_node*,
tree_node*, depset*)
../.././gcc/cp/module.cc:10452
0xa2f34d trees_out::decl_value(tree_node*, depset*)
../.././gcc/cp/module.cc:7623
0xa371a1 depset::hash::find_dependencies(module_state*)
../.././gcc/cp/module.cc:13112
0xa37838 module_state::write(elf_out*, cpp_reader*)
../.././gcc/cp/module.cc:17602
0xa38e48 finish_module_processing(cpp_reader*)
../.././gcc/cp/module.cc:19858
0x9cb1eb c_parse_final_cleanups()
../.././gcc/cp/decl2.c:5179
Отправьте подробное сообщение об ошибке
с препроцессированным исходным кодом.

Please include the complete backtrace with any bug report.
Инструкции см. в <https://gcc.gnu.org/bugs/>.

make[3]: *** [Makefile:418: ../cxxmodules//bacteria/cryptocurrency.o]
Ошибка 1
make[3]: выход из каталога «/home/lialh4/bacteria/src/bootstrap»
make[2]: *** [Makefile:468: all-recursive] Ошибка 1
make[2]: выход из каталога «/home/lialh4/bacteria/src»
make[1]: *** [Makefile:357: all-recursive] Ошибка 1
make[1]: выход из каталога «/home/lialh4/bacteria»
make: *** [Makefile:298: all] Ошибка 2
lialh4@RBH4:~/bacteria$




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux