[Bug c++/118808] operator new allocates wrong size for object of a template class with two variants

2025-02-09 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118808 Kio changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/118808] operator new allocates wrong size for object of a template class with two variants

2025-02-09 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118808 --- Comment #1 from Kio --- line 82826

[Bug c++/118808] New: operator new allocates wrong size for object of a template class with two variants

2025-02-09 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118808 Bug ID: 118808 Summary: operator new allocates wrong size for object of a template class with two variants Product: gcc Version: 13.2.1 Status: UNCONFIRMED Sev

[Bug c++/107466] [12/13 Regression] invalid -Wnarrowing error with std::subtract_with_carry_engine

2022-10-31 Thread littlefox+gcc-bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107466 --- Comment #3 from Mara Sophie Grosch --- Standard explicitly allows using unsigned short though: https://en.cppreference.com/w/cpp/numeric/random/subtract_with_carry_engine

[Bug c++/107466] New: [12 Regression] invalid -Wnarrowing error

2022-10-30 Thread littlefox+gcc-bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107466 Bug ID: 107466 Summary: [12 Regression] invalid -Wnarrowing error Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/106827] operator++ doesn't work for enum -O2 -mcpu=cortex-m0plus

2022-09-05 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106827 --- Comment #7 from Kio --- (In reply to Andreas Schwab from comment #5) > The operator++ function is expected to modify the argument in place, and > needs to take a reference to it. Yes, that's my error! after modifying the operators to: Foo

[Bug target/106827] operator++ doesn't work for enum -O2 -mcpu=cortex-m0plus

2022-09-05 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106827 --- Comment #4 from Kio --- (In reply to Richard Earnshaw from comment #2) > Please put testcases in the bug report, godbolt links are not stable. test case was also attached as a file with the bug report.

[Bug target/106827] operator++ doesn't work for enum -O2 -mcpu=cortex-m0plus

2022-09-04 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106827 --- Comment #1 from Kio --- updated link at godbolt: https://godbolt.org/z/5sf7cr9c3

[Bug target/106827] New: operator++ doesn't work for enum -O2 -mcpu=cortex-m0plus

2022-09-04 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106827 Bug ID: 106827 Summary: operator++ doesn't work for enum -O2 -mcpu=cortex-m0plus Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal P

[Bug target/105731] superfluous second operation before conditional branch -O2 -mcpu=cortex-m0plus

2022-09-04 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105731 Kio changed: What|Removed |Added Version|10.3.1 |11.2.1 --- Comment #6 from Kio --- i just came a

[Bug c++/105731] New: superfluous second operation before conditional branch -O2 -mcpu=cortex-m0plus

2022-05-25 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105731 Bug ID: 105731 Summary: superfluous second operation before conditional branch -O2 -mcpu=cortex-m0plus Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCONFIRME

[Bug c++/99076] New: Unclear error message when trailing angle bracket is missing

2021-02-11 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99076 Bug ID: 99076 Summary: Unclear error message when trailing angle bracket is missing Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal