https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107550
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
I got something wrong in template lambda manglings, discovered when working on
the demangler (uncommitted). Confirmed with clang. We get the wrong mangling,
somehow losing the template
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
>From a discussion re clang's mangling
(https://github.com/llvm/llvm-project/issues/58197), I find some GCC cases
namespace Concept { template concept True = true; }
namespace Stru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243
Nathan Sidwell changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99446
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
at gcc dot gnu.org |nathan at gcc dot
gnu.org
--- Comment #10 from Nathan Sidwell ---
I see the problem. it's the logic in the earlier while loop. testing a fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99446
--- Comment #8 from Nathan Sidwell ---
Well it would be nice if it could show the token in the included file, but if
that's difficult your solution is perfectly fine. thanks
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99605
--- Comment #3 from Nathan Sidwell ---
I removed the scans, they're too brittle, didn't realize this report was a
thing
* 671f9f5c0f0 2021-04-06 | c++: Simplify va_arg test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99380
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99283, which changed state.
Bug 99283 Summary: [modules] ICE in assert_definition, at cp/module.cc:4608
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
Nathan Sidwell changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
I ran into this working on module bugs (99823). While it is not affecting that
debugging, it has code smell.
We have the following:
#pragma GCC visibility push(default)
.. some
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
--- Comment #21 from Nathan Sidwell ---
Pants
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
--- Comment #19 from Nathan Sidwell ---
Yes! that seems to have done it!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
--- Comment #18 from Nathan Sidwell ---
* 584731ecedf 2021-04-01 | c++: inter-cluster import order [PR 99283]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
--- Comment #15 from Nathan Sidwell ---
another one encountered on the way ...
* 5f3c6027257 2021-03-30 | c++: duplicate const static members [PR 99283]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
--- Comment #11 from Nathan Sidwell ---
more fixes
* d82797420c2 2021-03-26 | c++: imported templates and alias-template changes
[PR 99283
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
--- Comment #7 from Nathan Sidwell ---
found while reducing testcase
* bd71889b901 2021-03-23 | c++: Note duplicates in symbol table [PR 99283]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99731
Nathan Sidwell changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99239, which changed state.
Bug 99239 Summary: [modules] internal compiler error: in duplicate_decls
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99239
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99239
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99484, which changed state.
Bug 99484 Summary: [modules] ICE same canonical type node for different types
‘void’ and ‘std::__void_t<_Op<_Args ...> >’
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99484
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99484
Nathan Sidwell changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99424
--- Comment #2 from Nathan Sidwell ---
no longer reproduces
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99480, which changed state.
Bug 99480 Summary: [modules] ICE in import_entity_index, at cp/module.cc:3952
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99480
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99480
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99480
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99425, which changed state.
Bug 99425 Summary: [modules] ICE tree check: expected tree_vec, have tree_list
in lookup_template_class_1, at cp/pt.c:9803
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99425
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99425
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99604
--- Comment #6 from Nathan Sidwell ---
Myth Plausible
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99604
--- Comment #4 from Nathan Sidwell ---
I wonder if this was an instance of 99423?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
--- Comment #15 from Nathan Sidwell ---
oops, I was juggling too many computers yesterday
* 7b900dca607 2021-03-15 | c++: Incorrect type equivalence [PR 99496]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99601
--- Comment #2 from Nathan Sidwell ---
fix the builtin fails:
770d3487ef1 2021-03-15 | c++: Fix 2 testcases [PR 99601]
I'm not seeing the iostream fail thought
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|WAITING
--- Comment #12 from Nathan
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
I also see 23_containers/vector/modifiers/insert_vs_emplace.cc ICE on x86_64
with -m32 during GC ...
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
, FAIL: g++.dg/modules/builtin-3_a.C and FAIL: g++.dg/modules/iostream-1_b.C on
x86_64 with -m32
(perhaps similar to 99496?)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99484
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99424
Nathan Sidwell changed:
What|Removed |Added
Last reconfirmed||2021-03-15
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99483
Nathan Sidwell changed:
What|Removed |Added
Last reconfirmed||2021-03-15
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99482
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99238, which changed state.
Bug 99238 Summary: [modules] internal compiler error: segmentation fault
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238
Nathan Sidwell changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99481, which changed state.
Bug 99481 Summary: [modules] ICE tree check: expected template_decl, have
function_decl in decl_value, at cp/module.cc:7938
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99481
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99528
Nathan Sidwell changed:
What|Removed |Added
CC||alexander.lelyakin@googlema
||nathan at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #2 from Nathan Sidwell ---
most likely 99528
*** This bug has been marked as a duplicate of bug 99528 ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99484
Nathan Sidwell changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99483
Nathan Sidwell changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99482
Nathan Sidwell changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99238, which changed state.
Bug 99238 Summary: [modules] internal compiler error: segmentation fault
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
--- Comment #10 from Nathan Sidwell ---
thanks, sadly even that's not triggering it for me on a ppc system. I think
I'm going to have to make the specialization hasher really stupid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99240, which changed state.
Bug 99240 Summary: [modules] ICE in get_merge_kind, at cp/module.cc:10169
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99240
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99240
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99248, which changed state.
Bug 99248 Summary: [modules] ICE expected binding_vector, have overload in
lookup_elaborated_type_1, at cp/name-lookup.c:8013
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99248
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99248
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99248
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
--- Comment #7 from Nathan Sidwell ---
Cannot reproduce it on gcc135 either
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99528
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
--- Comment #6 from Nathan Sidwell ---
Oh, sorry. I guess it's not obvious. I need the preprocessed source from all
of the xtreme-header-3 series. Test of the form ${BASENAME}_[a-z].[CHX] are a
group compiled in ascending letter order.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
--- Comment #4 from Nathan Sidwell ---
-save-temps to the compile line scraped from .log should dtrt. but yeah,
requires a bit more fidelity than before
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99528
--- Comment #1 from Nathan Sidwell ---
// bug.h
template
class new_allocator
{
public:
template
new_allocator(const new_allocator<_Tp1>&) noexcept { }
};
extern template class new_allocator;
// bug_a.H
#include "bug.h"
// bug_b.H
#include
at gcc dot gnu.org |nathan at gcc dot
gnu.org
Ever confirmed|0 |1
Last reconfirmed||2021-03-10
t: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
I broke something.
#include
#include
int main(){
std::cout << "Hello World!" << std::endl;
std::vector v;
v.push_back(0);
std::cout << v[0] &l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99423, which changed state.
Bug 99423 Summary: [modules] ICE tree check: expected tree_vec, have ggc_freed
in lookup_template_class_1, at cp/pt.c:9803
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423
--- Comment #1 from Nathan Sidwell ---
// bug_a.ii
template
struct pair
{
pair() { }
};
inline pair blob ()
{
return {};
}
// bug_b.ii
import "bug_a.ii";
pair boom();
./cc1plus -fmodule-header=system -std=c++20 bug_a.ii -fpreprocessed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496
--- Comment #1 from Nathan Sidwell ---
I am not seeing this on the compile farm's 2 ppc systems I use (gcc1-power7 and
gcc2-power8). Can you extract preprocessed source for that set of header
tests?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99508
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
at gcc dot gnu.org |nathan at gcc dot
gnu.org
--- Comment #3 from Nathan Sidwell ---
Apparently copy_decl doesn't copy_decl :)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423
Nathan Sidwell changed:
What|Removed |Added
Last reconfirmed||2021-03-09
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99472
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99436
Nathan Sidwell changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99472
--- Comment #2 from Nathan Sidwell ---
indeed, also enabling modules test in 2b mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99468
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99468
--- Comment #1 from Nathan Sidwell ---
504450c708c 2021-03-08 | c++: Poor diagnostic in header-unit [PR 99468]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99285, which changed state.
Bug 99285 Summary: [modules] ICE canonical types differ for identical types
‘std::common_type...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99285
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99285
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
We correctly reject a module-declaration appearing in a header-unit
compilation. But the diagnostic is ... poor
./cc1plus -std=c++20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #11 from Nathan Sidwell ---
gcc11-pr99456.patch looks good, can we add a scan-not for the _ZGV guard
variables too? If the optimizer's turned on, I think __static_init... gets
inlined into the global constructor, might be good to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #7 from Nathan Sidwell ---
You're misreading this particular testcase. I don't believe it contains
anything invalid -- the only constexpr is on:
static constexpr unsigned = desc;
(and I don't think it's necessary there, but
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #4 from Nathan Sidwell ---
It's an ABI issue, because all compilers must agree on which parts of an inline
object are dynamically initialized. (gcc-11 does not agree with gcc-10).
consider:
inline Type Var = Expr;
That'll be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #2 from Nathan Sidwell ---
Created attachment 50328
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50328=edit
trunk output (unoptimized)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #1 from Nathan Sidwell ---
Created attachment 50327
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50327=edit
gcc-10 output (unoptimized)
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
Created attachment 50326
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50326=edit
testcase
I've noticed some poorer behaviour in tr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99452
--- Comment #1 from Nathan Sidwell ---
Here's another:
using value_t = unsigned long;
unsigned obj;
constinit value_t failed
= reinterpret_cast () + (11 << 0);
constinit value_t accepted
= reinterpret_cast () + (11);
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
constinit forces static initialization (or error). Sadly the std doesn't
permit c++98-era address-constant expressions (symbol + addend). but we do
accept that (probably a bug std=c++20 vs
++
Assignee: unassigned at gcc dot gnu.org
Reporter: nathan at gcc dot gnu.org
Target Milestone: ---
Created attachment 50324
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50324=edit
patch
the -fdump-FOO-BAR options are parsed before plugins have been initiali
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99285
--- Comment #1 from Nathan Sidwell ---
//bug_a.ii
template struct common_type;
template<> struct common_type<> {};
template struct common_type<_Tp0> {};
template struct common_type<_Tp1, _Tp2> {};
//bug_b.ii
import "bug_a.ii";
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99245, which changed state.
Bug 99245 Summary: [modules] ICE in write_cluster, at cp/module.cc:14600
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99245
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99245
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99245
Nathan Sidwell changed:
What|Removed |Added
Last reconfirmed||2021-03-05
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227
Bug 99227 depends on bug 99247, which changed state.
Bug 99247 Summary: [modules] ICE in write_macro_maps, at cp/module.cc:16154
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99247
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718
--- Comment #8 from Nathan Sidwell ---
*** Bug 99247 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99247
Nathan Sidwell changed:
What|Removed |Added
Resolution|--- |DUPLICATE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377
--- Comment #1 from Nathan Sidwell ---
// bug_a.ii
template
struct Widget
{
Widget (int) { }
bool First() const { return true; }
bool Second () const { return true;}
};
inline void Frob (const Widget& w) noexcept
{
w.First ();
}
//
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413
--- Comment #2 from Nathan Sidwell ---
Correct. We're only picking headers that are either (a) user-facing or (b)
included from more than one place.
Specifically we're partitioning the include graph into a set of multi-reached
sub-graphs.
And
1 - 100 of 1168 matches
Mail list logo