https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94453
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94568
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95093
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86142
--- Comment #2 from ensadc at mailnesia dot com ---
I was misled by Clang. Seems like there's a Clang bug then.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86142
ensadc at mailnesia dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Known to
: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: asutton at gcc dot gnu.org
Target Milestone: ---
https://godbolt.org/z
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: asutton at gcc dot gnu.org
Target Milestone: ---
https://godbolt.org/z/M8CVwc
template
using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95944
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
verity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/rUZlUGG4UFeWicbM
#include
#include
#include
using R =
std::
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95983
--- Comment #2 from ensadc at mailnesia dot com ---
See also LWG 3408 (https://wg21.link/lwg3408), which also suggests that the
`iterator_traits>` specialization is problematic.
I think the standard could remove this specialization (and def
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92552
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/B02uUhc2QP8OChB9
template
struct A { A(int); };
template
A(T) -> A;
template
using B = A;
B a(0);
prog.cc:10:12: internal compiler error:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295
--- Comment #3 from ensadc at mailnesia dot com ---
It appears that alias_ctad_tweaks assumes the deduction of the right hand side
of the deduction guide from the alias template does not fail.
> int err = unify (ftparms, targs, ret, ut
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87125
--- Comment #3 from ensadc at mailnesia dot com ---
(In reply to ensadc from comment #2)
> Reduced:
>
> template struct ch {
> template constexpr ch(by) noexcept(br());
> };
> class ce : ch {
> using ch::ch;
> };
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88595
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88385
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84849
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916
--- Comment #7 from ensadc at mailnesia dot com ---
Note that the "never defined" part is also misleading: the warning persists
when `i::dispatch` does have a definition
(https://wandbox.org/permlink/MKif1shXFjt7aT6C):
struct j {
vi
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88761
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88762
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86356
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84849
--- Comment #7 from ensadc at mailnesia dot com ---
(In reply to Zhihao Yuan from comment #6)
> Here is a possibly related case:
>
> [...]
I think this is a different bug. GCC thinks the implicitly-deleted move
assignment operator `p
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/LYuJZ4w7YLgidqdi
template int f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89062
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/lxHtJOjvghJiLiIO
struct il { il(); il(const il&); };
int* begin(il);
template T&& declval();
template())), decltype(*U(),0) =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85765
ensadc at mailnesia dot com changed:
What|Removed |Added
Keywords||rejects-valid
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/qSgjLEWzpsJmkHNU
template
auto f = [](auto&& arg) -> T* {
i
ator#"
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/9gfZwtKZC9Tu92fs
template
void f();
template
int f(...);
int x = f();
int y = f();
int z = f();
prog.cc: In substitution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91488
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91675
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91791
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91930
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81086
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
NCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: redi at gcc dot gnu.org
Target Milestone: ---
P1357R1 "
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://gcc.gnu.org/ml/libstdc++/2017-10/msg00110.html mentions:
> This isn't entirely conforming, because a type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90769
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90784
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90784
--- Comment #2 from ensadc at mailnesia dot com ---
But curiously, gcc does replace the loop with the constant if `#undef
_GLIBCXX_HAVE_BUILTIN_IS_CONSTANT_EVALUATED` is added before `#include
`: https://godbolt.org/z/mVdLVP . (Why) is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90393
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: redi at gcc dot gnu.org
Target Milestone: ---
In , __cpp_lib_list_remove_return_type is defined when __cplusplus ==
201703. This is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85457
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86970
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87152
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87125
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87322
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/0ir0hnoy5jeX9KLT
template using ref = T&;
template
struct X {
template cla
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87658
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87770
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
tus: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/97lV1nw6gMGSD
-invalid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/L5JYCDnEfKmftRlr
template class A {};
class A;
Both Clang
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86574
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88020
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88146
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45033
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80920
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59372
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/knUzVFqc8cUizjI4
#include
const auto& [a] = std::make_tuple(1);
prog.cc:3:36: inte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197
--- Comment #1 from ensadc at mailnesia dot com ---
Minimum reproducer:
struct X { int a; };
auto&& [t] = X{};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82611
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79994
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839
ensadc at mailnesia dot com changed:
What|Removed |Added
Keywords||accepts-invalid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83003
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83000
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
The following code compiles with no warnings or errors even with `-std=c++98
-pedantic-errors` on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66135
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://godbolt.org/z/8TWG9d
struct Foo {};
Foo get_foo();
int main() {
new Foo[1]{get_foo()};
}
: In
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
$ cat src/foo.cpp
export module foo;
$ cat src/bar.cpp
export module bar;
import foo;
$ cat src/foo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95310
--- Comment #3 from ensadc at mailnesia dot com ---
When verifying the fix, I noticed a new bug:
template requires true
using iter_reference_t = decltype(*T{});
template
struct result {
using type = iter_reference_t;
};
template
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: jason at redhat dot com
Target Milestone: ---
Originally discovered by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97700
ensadc at mailnesia dot com changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
```
#include
#include
#include
#include
int main() {
using n
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #1 from ensadc at mailnesia dot com ---
Compilation failure with `std::list`: https://godbolt.org/z/vbqhax
Wrong result with `std::vector`: https://godbolt.org/z/axYbYr (expected output:
"42 42 42"; actual: "42 0 4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #2 from ensadc at mailnesia dot com ---
This seems to fix the bug (note: not thoroughly tested)
diff --git a/libstdc++-v3/include/bits/ranges_algo.h
b/libstdc++-v3/include/bits/ranges_algo.h
index f1a4cc24c0d..414ce0b1baa 100644
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97934
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98360
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98360
--- Comment #2 from ensadc at mailnesia dot com ---
Apparently clang++ rewrites `uintset::values` in question to
`this->uintset::values`, because it believes that `uintset::values` is valid
only if someone specializes `uintset::traits` to make
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://godbolt.org/z/xn8fYz
struct moveonly {
moveonly() = default;
moveonly(moveonly&&) = default;
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98756
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98767
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100134
--- Comment #1 from ensadc at mailnesia dot com ---
Reduced:
vector
namespace std {
template struct __replace_first_arg;
template class _Template, typename _Up,
typename _Tp, typename... _Types>
str
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
$ cat new.hpp
extern "C++" {
void* operator new(__SIZE_TYPE__, void* p);
}
$ cat foo.cpp
module;
#include "
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: mpolacek at gcc dot gnu.org
Target Milestone: ---
https://godbolt.org/z/KbPMrbKsK
template
concept C
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://godbolt.org/z/d3sdeEz1r
$ cat mod.cpp
export module mod;
export conste
rsion: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: iains at gcc dot gnu.org
Target Milestone: ---
#include
class
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105351
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://godbolt.org/z/GxdYrYYrj
#include
int main() {
std::ispanstream a(""), b("");
a = std::move(b);
}
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839
ensadc at mailnesia dot com changed:
What|Removed |Added
Resolution|--- |DUPLICATE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot
1 - 100 of 108 matches
Mail list logo