Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
GCC on Windows has a relatively little-known flag `-fno-ms-extensions`, which
disables some problematic MSVC-like extensions, which
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118699
--- Comment #2 from Egor ---
It says 14.2.0. So this is fixed in trunk, I assume...
COLLECT_GCC=Z:\mingw64\bin\g++.exe
COLLECT_LTO_WRAPPER=Z:/home/holyblackcat/.quasi-msys2/mingw64/root/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/l
rsion: 14.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
The bug only happens on MinGW.
This code:
#in
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
The following code causes an internal compiler error in GCC 14 and trunk:
https://gcc.g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116289
--- Comment #3 from Egor ---
(In reply to Patrick Palka from comment #2)
> r14-4140 ... doesn't seem suitable for backporting
Fair enough. What's the procedure now, should I set status=resolved?
rsion: 13.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
This bug only affects 13.3. Works fine in 13.2 and in 14.x.
H
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
I'm not sure if it's an exact duplicate, since there are many bugs about
-Wmaybe-uninitialized false posit
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
The following causes an internal compiler error in GCC 14 and trunk:
https
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
GCC doesn't seem to implement `{:?}` debug format for strings yet.
Yet for some reason
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111771
--- Comment #2 from Egor ---
Before calling A's constructor, it will zero `x` anyway.
I was also surprised when I learned this yesterday, but it's what the standard
says.
1. `()` performs value-initialization on B:
http://eel.is/c++draft/dcl.d
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
Here's the code. GCC with `-
: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
This doesn't compile, but it should:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107111
--- Comment #4 from Egor ---
*** Bug 107113 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107113
Egor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107111
Egor changed:
What|Removed |Added
CC||iamsupermouse at mail dot ru
--- Comment #3
: 12.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
GCC rejects this code:
template
struct A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106676
--- Comment #1 from Egor ---
I was told this is a wording defect. The `cpp17-forward-iterator`
exposition-only concept in https://eel.is/c++draft/iterator.traits only permits
lvalue references.
: gcc
Version: 12.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
Since C++20, `std::iterator_traits
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
Consider following code:
#include
struct A {};
using F = void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53288
Egor changed:
What|Removed |Added
CC||iamsupermouse at mail dot ru
--- Comment #4 from
NCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
Following code compiles with -std=c++20 and earlier, but fails with -std=c++2b,
in both GCC
tatus: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
Following code causes an ICE (segfault):
template struct A {};
int main()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101442
--- Comment #1 from Egor ---
Example is provided below. It prints `A()` and nothing else. I expected it to
also pring `~A()`.
```
#include
struct A
{
A() {std::cout << "A()\n";}
A(const A &) = delete;
A &operator=(const A &) = del
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
y: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
On Windows, Clang 8.0.1 refuses to compile the header with
following errors:
> In file included from ...\mingw64\include\c++\9.2.0\fi
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
If `decltype(this)` is used at top level, it triggers *two* identical error
messages. For example:
using T = decltype
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
Target Milestone: ---
Following produces no warnings:
int x = 42;
[[nodiscard]] int &func() {return x;}
int main() {func();}
But removing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64531
Egor changed:
What|Removed |Added
Severity|minor |normal
Version: 4.8.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: iamsupermouse at mail dot ru
`-pedantic` causes g++ to emit a warning `ISO C++ forbids casting between
29 matches
Mail list logo