++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://godbolt.org/z/4fv71hhGe
#include
#include
int main() {
char buf[10] = "@";
auto result = std::format_to_n(buf, std::size(buf), &quo
NCONFIRMED
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/WPn9aq8sr
bool f(auto... args) {
[[assume(args > 0)...]
: 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: ---
https://en.cppreference.com/w/cpp/compiler_support claims that P1951R1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105351
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot
: 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 Base
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
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
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=58616
Bug 58616 depends on bug 66839, which changed state.
Bug 66839 Summary: g++ accepts NSDMI with -std=c++98 when the intializer is a
macro defined in a standard header
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot
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=101140
--- Comment #1 from ensadc at mailnesia dot com ---
https://godbolt.org/z/EaPf3anxx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101449
--- Comment #1 from ensadc at mailnesia dot com ---
https://godbolt.org/z/fMr9acG15
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: ppalka at gcc dot gnu.org
Target Milestone: ---
LWG 3533 changed the const& overload of `elements_view::iterator::base` to
return a const reference, but it s
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
$ cat str.cpp
export module str;
export struct str {
constexpr str() {
ptr = new char[42];
}
constexpr ~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 "
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
: 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
: 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
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=98756
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://godbolt.org/z/xn8fYz
struct moveonly {
moveonly() = default;
moveonly(moveonly&&) = default;
};
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 m
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=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=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=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
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=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: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
CC: jason at redhat dot com
Target Milestone: ---
Originally discovered
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
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
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=95944
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
CC: asutton at gcc dot gnu.org
Target Milestone: ---
https://godbolt.org/z/M8CVwc
template
using
: 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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86142
ensadc at mailnesia dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Known
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=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=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=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=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=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=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
: 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 er
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
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=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=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=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=90393
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
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=90769
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
Target Milestone: ---
https://gcc.gnu.org/ml/libstdc++/2017-10/msg00110.html mentions:
> This isn't entirely conforming, because a t
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 "
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
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=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
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=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=88761
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
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=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
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=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=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=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=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=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=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=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=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=87814
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
-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
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
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
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=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=87322
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=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=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=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=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=85457
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
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
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
Target Milestone:
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85765
ensadc at mailnesia dot com changed:
What|Removed |Added
Keywords||rejects-valid
--- Comment
++
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) =
: 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<template
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
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
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=66839
ensadc at mailnesia dot com changed:
What|Removed |Added
Keywords||accepts-invalid
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=79994
ensadc at mailnesia dot com changed:
What|Removed |Added
CC||ensadc at mailnesia dot com
1 - 100 of 108 matches
Mail list logo