: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
We're attempting to build the std library as a bunch of header-units. The
include graph partitioner naturally discovers that internal headers from bits/
are inc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99389
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
Triaging 99377 runs into this:
// bug_a.ii
template
class basic_string_view
{
public:
basic_string_view(const _CharT* __str) noexcept
{}
bool
empty() const noexcept
{ return
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377
Nathan Sidwell changed:
What|Removed |Added
Last reconfirmed||2021-03-04
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98528
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98528
--- Comment #6 from Nathan Sidwell ---
do you have preprocessed source for those other failing platforms? my guess is
they have different system headers, particularly around threading?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99344
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
||2021-03-02
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
found during work on 99170
// bug_a.ii
module ;
# 4 "bug_a.ii" 1
namespace STD::RANGES::INNER
{
void Frob ();
}
struct gnu_char_traits
{
void Frob()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99294
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||2021-02-26
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
In working on 99170 I hit a new assert, that appears unrelated to the 99170
WIP.
./cc1plus -fmodules-ts tdef-inst-1_a.C -quiet
./cc1plus -fmodules-ts tdef-inst-1_b.C -quiet
gcc dot gnu.org |nathan at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99246, which changed state.
Bug 99246 Summary: [modules] ICE in write_location, at cp/module.cc:15687
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99246
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718
--- Comment #6 from Nathan Sidwell ---
*** Bug 99246 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99246
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718
Nathan Sidwell changed:
What|Removed |Added
CC||alexander.lelyakin@googlema
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99237, which changed state.
Bug 99237 Summary: [modules] internal compiler error: in write_macro_maps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99237
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99237
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98318
--- Comment #16 from Nathan Sidwell ---
Which tests are failing and how?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170
--- Comment #2 from Nathan Sidwell ---
Thanks for checking this didn't seem a duplicate!
Reduced tescase:
// 99170_a.H
namespace STD {
class string {
public:
template
string (const T *);
};
}
// 99170_b.C
export module test;
import "99170_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072
Nathan Sidwell changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99237
Nathan Sidwell changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98707
Nathan Sidwell changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072
--- Comment #5 from Nathan Sidwell ---
99072_a.H:
// Empty file
99072_b.C:
export module Foo;
import "99072_a.H";
99072_c.C:
import Foo;
./cc1plus -quiet -E -fdirectives-only -fmodule-header -E 99072_a.H >
99072_a.one
./cc1plus -quiet -fprepro
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
Capture bugs related to building the standard library headers as header-units
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718
--- Comment #2 from Nathan Sidwell ---
reduced testcase:
// b_a.ii
module ;
# 4 "inc_a" 1
#define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V)))
namespace std _GLIBCXX_VISIBILITY(default)
{
}
# 11 "" 2
export module hello:for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153
--- Comment #8 from Nathan Sidwell ---
99222 and 99223 filed. Please file each case as a separate issue. So far,
they've all been different underlying causes.
It might make sense to have a meta-bug referring to this class of issue.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
I have found two another sequences of system headers that cannot be compiled:
-
g++ -std=c++20 -fmodules-ts -x c++-system-header utility
g++ -std=c++20 -fmodules-ts -x c++-system
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
Another, shorter sequence:
g++ -std=c++20 -fmodules-ts -x c++-system-header new
g++ -std=c++20 -fmodules-ts -x c++-system-header initializer_list
g++ -std=c++20 -fmodules-ts -x c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99208
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
dot gnu.org |nathan at gcc dot
gnu.org
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed||2021-02-22
rity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
Triaging 98718 ran into this:
// b_a.ii
module;
# 3 "b_a.ii" 1
typedef struct {} __mbstate_t;
template class
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99174
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99174
Nathan Sidwell changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153
--- Comment #2 from Nathan Sidwell ---
// B_a.ii
template
struct pair
{
inline void Frob ();
};
// B_b.ii
import "./B_a.ii"
template
inline void pair<_T1>::Frob()
{ }
./cc1plus -quiet -std=c++20 -fmodule-header -fpreprocessed B_a.ii && .
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
self-inclusion considered dangerous
// 1_b.ii
import "./1_b.ii";
./cc1plus -quiet -std=c++20 -fmodule-header 1_b.ii
1_b.ii:1:1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98741
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99166
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98967
Nathan Sidwell changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
If a CMI file is not found one gets a diagnostic saying where it was looking.
For include translation -flang-info-include-translate and friends are there to
inform
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153
--- Comment #1 from Nathan Sidwell ---
I think this is a duplicate of 99071, which hadn't been done when Mattias
tested.
However, I am getting a different ICE:
devvm1702:235>./xg++ -B./ -nostdinc++
-I../x86_64-pc-linux-gnu/libstdc++-v3/include
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99150
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153
Nathan Sidwell changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
||2021-02-18
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
Status|UNCONFIRMED |ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98741
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072
--- Comment #3 from Nathan Sidwell ---
Cannot reproduce:
devvm1702:150>./xg++ -B./ -nostdinc++
-I../x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I../x86_64-pc-linux-gnu/libstdc++-v3/include
-I../../..//src/libstdc++-v3/libsupc++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071
Nathan Sidwell changed:
What|Removed |Added
Status|SUSPENDED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99023
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
|1
Last reconfirmed||2021-02-17
Keywords||accepts-invalid
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
imported implementation partitions are exported :(
// p_a.ii
module Foo:A;
void frob ();
// p_b.ii
export module Foo;
import :A;
// p_c.ii
module Foo;
void f () { frob
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|SUSPENDED
--- Comment #4 from Nathan Si
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071
--- Comment #3 from Nathan Sidwell ---
d46c7e2c546 2021-02-17 | c++: ICE with header-units [PR 99071]
but there's now an ICE in write_defines. (reported elsewhere too)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99116
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071
--- Comment #1 from Nathan Sidwell ---
Reduced testcase:
// 99071_a.H
template
void begin (T *);
// 99071_b.H
import "99071_a.H";
template
void begin(T &);
./cc1plus -fmodule-header -quiet -std=c++17 99071_a.H
./cc1plus -fmodule-header -quiet
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99050
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072
Nathan Sidwell changed:
What|Removed |Added
Last reconfirmed||2021-02-16
Status|UNCONFIRM
|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
Ever confirmed|0 |1
Status|UNCONFIRMED |SUSPENDED
--- Comment #2 from Nathan Sidwell ---
We'll revisit this later
||2021-02-16
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
Ever confirmed|0 |1
--- Comment #1 from Nathan Sidwell ---
not all of c++20 is implemented
at gcc dot gnu.org |nathan at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99040
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039
--- Comment #2 from Nathan Sidwell ---
8c4137c7ead 2021-02-12 | c++: Seed imported bindings [PR 99039]
||2021-02-11
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
t: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
build initializer_list as a header unit, then attempt to build iostream as one:
obj/x86_64/gcc/xg++ -Bobj/x86_64/gcc/ -nostdinc++
-Iobj/x86_64/x86_64-pc-linux-gnu/libstdc+
dot gnu.org |nathan at gcc dot
gnu.org
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed||2021-02-10
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99030
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
t: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
triaged from pr98760
// t1.ii
export module format;
export namespace NS
{
void Format ();
}
// t2.ii
export module hello:check;
export namespace NS {}
// t3.ii
ex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039
Nathan Sidwell changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
triaged from pr98760
// t1.ii
export module format;
export namespace NS
{
void Format ();
}
// t3.ii
export module hello;
import format;
export namespace NS
{
using NS::Format
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98944
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98944
Nathan Sidwell changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99000
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |SUSPENDED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|WAITING
--- Comment #12 from Nathan Sid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98943
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
Due to the preprocessor's optimization of idempotent headers, all but the first
are elided from the preprocessed output's location information. Add an option
to di
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
recursive headers can slip in unnoticed (eg the new<...>exception loop found in
2020). Often these are harmless, but with c++20 header-units they can be
fatal. They are h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885
--- Comment #9 from Nathan Sidwell ---
This is highlighting a missing diagnostic on:
export module A;
class A; // forward declaration
export class A {}; // <-- here, cannot add 'export'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881
--- Comment #2 from Nathan Sidwell ---
Created attachment 50120
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50120&action=edit
reduced testcase
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98943
--- Comment #6 from Nathan Sidwell ---
spotted the 'file file' typo in the linker error, btw
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98943
--- Comment #5 from Nathan Sidwell ---
Created attachment 50119
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50119&action=edit
proposed direction
Here's a test patch. As Jakub points out, we pass -d$ANYTHING to the compiler,
it is the f
at gcc dot gnu.org |nathan at gcc dot
gnu.org
--- Comment #3 from Nathan Sidwell ---
sad face. It seems wrong for the driver to duplicate the file-location logic
of each of the various compilers. But these failure modes are unsatisfactory
too.
Perhaps the driver should reject all
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531
--- Comment #10 from Nathan Sidwell ---
while I didn't expect
https://gcc.gnu.org/pipermail/gcc-patches/2021-January/564224.html to fix the
reported failure, I did hope for progress. (the original failure is tickling a
chain of events). I reali
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98893
--- Comment #1 from Nathan Sidwell ---
I think the right direction is to use lambdas. That would make the cleanup
function have a scope attached or related to the variable being dtord. Howevr,
we cannot use actual lambdas, as that'd disturb the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881
--- Comment #1 from Nathan Sidwell ---
Reduced testcase:
export module Expr;
template class TBase {};
template typename TTpl>
class TBase>
{
public:
template typename UTpl>
void Foo (TBase> &rhs);
};
void Frob (TBase&);
|ASSIGNED
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
Last reconfirmed||2021-01-29
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
cp/decl.c:
static GTY(()) int start_cleanup_cnt;
static tree
start_cleanup_fn (void)
{
...
sprintf (name, "__tcf_%d", start_cleanup_cnt++);
this will collide with header_units
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98843
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885
--- Comment #7 from Nathan Sidwell ---
My mistake. interface and implementation partitions do not follow the
non-partition behaviour. You have two M:A partitions (one an interface and one
an implementation). This is what you want:
A.cc:
expor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885
--- Comment #5 from Nathan Sidwell ---
your A-impl.cpp needs `import :B` and vice-versa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885
--- Comment #3 from Nathan Sidwell ---
module partitions are probably what you want for such mutually dependent types.
|UNCONFIRMED |ASSIGNED
Last reconfirmed||2021-01-29
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
--- Comment #1 from Nathan Sidwell ---
This is ill-formed. an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881
Nathan Sidwell changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98761
Nathan Sidwell changed:
What|Removed |Added
Last reconfirmed||2021-01-28
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98770
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
101 - 200 of 1168 matches
Mail list logo