public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* bug gcc версия 12.0.0 20210619 (experimental) (GCC) (modules TS)
@ 2021-07-24 21:26 Li AlH4
  2021-07-24 22:43 ` Jonathan Wakely
  2021-07-28 22:54 ` Li AlH4
  0 siblings, 2 replies; 3+ messages in thread
From: Li AlH4 @ 2021-07-24 21:26 UTC (permalink / raw)
  To: gcc-help

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$

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

* Re: bug gcc версия 12.0.0 20210619 (experimental) (GCC) (modules TS)
  2021-07-24 21:26 bug gcc версия 12.0.0 20210619 (experimental) (GCC) (modules TS) Li AlH4
@ 2021-07-24 22:43 ` Jonathan Wakely
  2021-07-28 22:54 ` Li AlH4
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Wakely @ 2021-07-24 22:43 UTC (permalink / raw)
  To: Li AlH4; +Cc: gcc-help

On Sat, 24 Jul 2021, 22:27 Li AlH4 via Gcc-help, <gcc-help@gcc.gnu.org>
wrote:

> 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/>.
>


This is what you should do.


> 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$
>

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

* Re: bug gcc версия 12.0.0 20210619 (experimental) (GCC) (modules TS)
  2021-07-24 21:26 bug gcc версия 12.0.0 20210619 (experimental) (GCC) (modules TS) Li AlH4
  2021-07-24 22:43 ` Jonathan Wakely
@ 2021-07-28 22:54 ` Li AlH4
  1 sibling, 0 replies; 3+ messages in thread
From: Li AlH4 @ 2021-07-28 22:54 UTC (permalink / raw)
  To: gcc-help

So, some another bug ->
https://github.com/wipedlifepotato/bacteria/commit/1f9f1a3bba7a37001ce07b4bb2e0c3c2ec574f6b#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2L32

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

GCC is allowing the part of code.

вс, 25 июл. 2021 г. в 00:26, Li AlH4 <potatolivingstonei2p@gmail.com>:

> 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$
>

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

end of thread, other threads:[~2021-07-28 22:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-24 21:26 bug gcc версия 12.0.0 20210619 (experimental) (GCC) (modules TS) Li AlH4
2021-07-24 22:43 ` Jonathan Wakely
2021-07-28 22:54 ` Li AlH4

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).