* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
@ 2021-04-19 12:56 ` dominiq at lps dot ens.fr
2021-10-02 11:38 ` dominiq at lps dot ens.fr
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-04-19 12:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathan at gcc dot gnu.org
Blocks| |99227
Ever confirmed|0 |1
Summary|FAIL: |[modules] FAIL:
|g++.dg/modules/xtreme-heade |g++.dg/modules/xtreme-heade
|r* on Darwin |r* on Darwin
Last reconfirmed| |2021-04-19
Status|UNCONFIRMED |NEW
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
See also https://gcc.gnu.org/pipermail/gcc-testresults/2021-April/682945.html
and friends.
It would be nice to have this PR fixed for GCC 11.1!
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
[Bug 99227] [meta] [modules] Bugs relating to header-units of STL header files
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
2021-04-19 12:56 ` [Bug c++/99936] [modules] " dominiq at lps dot ens.fr
@ 2021-10-02 11:38 ` dominiq at lps dot ens.fr
2021-10-02 14:18 ` redi at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-10-02 11:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
New failures between r12-4031 and r12-4090:
FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++17 (internal compiler error)
FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++2a (internal compiler error)
FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++2b (internal compiler error)
FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++2b (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_a.H module-cmi
(gcm.cache/\$srcdir/g++.dg/modules/xtreme-header-3_a.H.gcm)
FAIL: g++.dg/modules/xtreme-header-3_a.H module-cmi
(gcm.cache/\$srcdir/g++.dg/modules/xtreme-header-3_a.H.gcm)
FAIL: g++.dg/modules/xtreme-header-3_a.H module-cmi
(gcm.cache/\$srcdir/g++.dg/modules/xtreme-header-3_a.H.gcm)
FAIL: g++.dg/modules/xtreme-header-3_b.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_b.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_b.C -std=c++2b (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_c.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_c.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/xtreme-header-3_c.C -std=c++2b (test for excess errors)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
2021-04-19 12:56 ` [Bug c++/99936] [modules] " dominiq at lps dot ens.fr
2021-10-02 11:38 ` dominiq at lps dot ens.fr
@ 2021-10-02 14:18 ` redi at gcc dot gnu.org
2021-12-24 13:58 ` fxcoudert at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: redi at gcc dot gnu.org @ 2021-10-02 14:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
See PR 102562
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2021-10-02 14:18 ` redi at gcc dot gnu.org
@ 2021-12-24 13:58 ` fxcoudert at gcc dot gnu.org
2021-12-24 14:03 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-24 13:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu.org
--- Comment #4 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Currently still fails on x86_64-apple-darwin21
(https://gcc.gnu.org/pipermail/gcc-testresults/2021-December/743901.html), as
well as the future aarch64-apple-darwin21. Looks like a front-end issue.
$ g++ testsuite/g++.dg/modules/xtreme-header-5_a.H -std=c++2a -fmodule-header
-S
testsuite/g++.dg/modules/xtreme-header-5_a.H: internal compiler error: tree
check: expected var_decl or function_decl or field_decl or type_decl or
concept_decl or template_decl, have namespace_decl in get_merge_kind, at
cp/module.cc:10074
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
* frame #0: 0x000000010186bc24 cc1plus`internal_error(char const*, ...)
[inlined] auto_diagnostic_group::auto_diagnostic_group(this=<unavailable>) at
diagnostic.c:2018:14
frame #1: 0x000000010186bc24 cc1plus`internal_error(gmsgid="tree check: %s,
have %s in %s, at %s:%d")
frame #2: 0x000000010193d07c cc1plus`tree_check_failed(node=<unavailable>,
file=<unavailable>, line=<unavailable>, function=<unavailable>) at
tree.c:8702:18
frame #3: 0x000000010192064c
cc1plus`template_info_decl_check(t=<unavailable>, f=<unavailable>,
l=<unavailable>, fn=<unavailable>) at cp-tree.h:651:21
frame #4: 0x0000000100199f24
cc1plus`trees_out::get_merge_kind(this=<unavailable>, decl=0x00000001239bb738,
dep=<unavailable>) at cp-tree.h:639:3
frame #5: 0x00000001001b1338
cc1plus`trees_out::decl_value(this=0x000000016fdfeaf0, decl=0x00000001239bb738,
dep=0x0000000000000000) at module.cc:7501:34
frame #6: 0x00000001001b31bc
cc1plus`trees_out::decl_node(this=0x000000016fdfeaf0, decl=0x00000001239bb738,
ref=<unavailable>) at module.cc:8536:18
frame #7: 0x00000001001b3dcc
cc1plus`trees_out::tree_node(this=0x000000016fdfeaf0, t=0x00000001239bb738) at
module.cc:9092:32
frame #8: 0x00000001001b43d4
cc1plus`trees_out::chained_decls(this=0x000000016fdfeaf0,
decls=0x00000001239bb738) at module.cc:4840:17
frame #9: 0x00000001001b4ffc
cc1plus`trees_out::core_vals(this=0x000000016fdfeaf0, t=0x000000012392a160) at
module.cc:6060:21
frame #10: 0x00000001001ba1b0 cc1plus`trees_out::tree_value(tree_node*)
[inlined] trees_out::tree_node_vals(t=0x000000012392a160,
this=0x000000016fdfeaf0) at module.cc:7062:13
frame #11: 0x00000001001ba1a4
cc1plus`trees_out::tree_value(this=0x000000016fdfeaf0, t=0x000000012392a160)
frame #12: 0x00000001001b3cd8
cc1plus`trees_out::tree_node(this=0x000000016fdfeaf0, t=<unavailable>) at
module.cc:9097:14
frame #13: 0x00000001001ba318
cc1plus`trees_out::write_function_def(this=0x000000016fdfeaf0,
decl=0x0000000123995d00) at module.cc:11354:13
frame #14: 0x00000001001bd2d0
cc1plus`depset::hash::find_dependencies(this=0x0000000102310000,
module=<unavailable>) at module.cc:13130:31
frame #15: 0x00000001001bd7cc
cc1plus`module_state::write(this=0x00000001040445b0, to=0x000000016fdfee30,
reader=<unavailable>) at module.cc:17617:27
frame #16: 0x00000001001bee2c
cc1plus`finish_module_processing(reader=0x000000010380d200) at
module.cc:19873:21
frame #17: 0x00000001001253a0 cc1plus`c_parse_final_cleanups() at
decl2.c:5310:28
frame #18: 0x000000010130669c cc1plus`::compile_file() at toplev.c:452:25
frame #19: 0x00000001019433ac cc1plus`toplev::main(this=0x000000016fdff1f8,
argc=<unavailable>, argv=<unavailable>) at toplev.c:2156:24
frame #20: 0x00000001019442dc cc1plus`main(argc=21,
argv=0x000000016fdff368) at main.c:39:23
frame #21: 0x00000001030510f4 dyld`start + 520
The tree that triggers the check is:
<namespace_decl 0x133cd7738 __tc
type <void_type 0x104064f18 void visited type_6 VOID
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x104064f18
pointer_to_this <pointer_type 0x104064fc0>>
external in_system_header VOID
/private/tmp/irun/include/c++/12.0.0/chrono:2097:34
align:1 warn_if_not_align:0 context <function_decl 0x133cb1d00
__units_suffix_misc> abstract_origin <namespace_decl 0x10472eb58 __detail>
module 0:./testsuite/g++.dg/modules/xtreme-header-5_a.H purview chain
<var_decl 0x133cf0360 __p>>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2021-12-24 13:58 ` fxcoudert at gcc dot gnu.org
@ 2021-12-24 14:03 ` pinskia at gcc dot gnu.org
2021-12-24 14:11 ` fxcoudert at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-24 14:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Francois-Xavier Coudert from comment #4)
> Currently still fails on x86_64-apple-darwin21
> (https://gcc.gnu.org/pipermail/gcc-testresults/2021-December/743901.html),
> as well as the future aarch64-apple-darwin21. Looks like a front-end issue.
It is, there are a few (many) C++ modules issues that are not target/host
dependent.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
` (4 preceding siblings ...)
2021-12-24 14:03 ` pinskia at gcc dot gnu.org
@ 2021-12-24 14:11 ` fxcoudert at gcc dot gnu.org
2021-12-24 14:14 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-24 14:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
--- Comment #6 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
At the same time, they appear to show up only intermittently in linux test
results, and haven't been fixed on the 11 branch either. Are C++ modules
considered experimental, or generally buggy?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
` (5 preceding siblings ...)
2021-12-24 14:11 ` fxcoudert at gcc dot gnu.org
@ 2021-12-24 14:14 ` pinskia at gcc dot gnu.org
2022-02-16 13:52 ` dominiq at lps dot ens.fr
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-24 14:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Francois-Xavier Coudert from comment #6)
> At the same time, they appear to show up only intermittently in linux test
> results, and haven't been fixed on the 11 branch either. Are C++ modules
> considered experimental, or generally buggy?
I think it is considered very experimental and also generally buggy. This is
from all of the bug reports against it which are just trying it with the
libstdc++ header files even.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
` (6 preceding siblings ...)
2021-12-24 14:14 ` pinskia at gcc dot gnu.org
@ 2022-02-16 13:52 ` dominiq at lps dot ens.fr
2022-02-16 13:58 ` fxcoudert at gcc dot gnu.org
2022-02-17 15:08 ` dominiq at lps dot ens.fr
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2022-02-16 13:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The failures have disappeared between r12-7172 and r12-7200.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
` (7 preceding siblings ...)
2022-02-16 13:52 ` dominiq at lps dot ens.fr
@ 2022-02-16 13:58 ` fxcoudert at gcc dot gnu.org
2022-02-17 15:08 ` dominiq at lps dot ens.fr
9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2022-02-16 13:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
--- Comment #9 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Most likely this:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=db84f382ae3dc238b1c3e3a18b786bca5bd38a14
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin
2021-04-06 13:20 [Bug c++/99936] New: FAIL: g++.dg/modules/xtreme-header* on Darwin dominiq at lps dot ens.fr
` (8 preceding siblings ...)
2022-02-16 13:58 ` fxcoudert at gcc dot gnu.org
@ 2022-02-17 15:08 ` dominiq at lps dot ens.fr
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2022-02-17 15:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|WAITING |RESOLVED
--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I am closing the PR as FIXED. If there is any objection, please reopen it.
^ permalink raw reply [flat|nested] 11+ messages in thread