[Bug c++/119916] [15 Regression] folly (2025.04.14.00 and earlier): coroutine tests fail with GCC 15 since r15-3153-g68ee624bc52ba1

2025-06-13 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119916 --- Comment #25 from Zartaj Majeed --- Just tried latest Clang and VC++ on my test program int_coroutine.cpp Both compilers behave the same as GCC built from master - Clang 20.1.7 clang -std=c++26 -o int_coroutine.clang int_c

[Bug c++/119916] [15 Regression] folly (2025.04.14.00 and earlier): coroutine tests fail with GCC 15 since r15-3153-g68ee624bc52ba1

2025-06-13 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119916 --- Comment #24 from Zartaj Majeed --- Thanks for the explanation - I'm not worried about a backport - but glad to hear you're aware of the additional issue

[Bug c++/119916] [15 Regression] folly (2025.04.14.00 and earlier): coroutine tests fail with GCC 15 since r15-3153-g68ee624bc52ba1

2025-06-13 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119916 Zartaj Majeed changed: What|Removed |Added CC||zmajeed at sbcglobal dot net --- Commen

[Bug libstdc++/120472] New: Wtype-limits warning in semaphore_base.h on Cygwin

2025-05-29 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120472 Bug ID: 120472 Summary: Wtype-limits warning in semaphore_base.h on Cygwin Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/120449] g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-28 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 --- Comment #7 from Zartaj Majeed --- Should I open a separate bug for libstdc++ for the warning?

[Bug c++/120449] g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-28 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 --- Comment #6 from Zartaj Majeed --- Thanks - the following works diff --git a/gcc/c-family/c-common.cc b/gcc/c-family/c-common.cc index f71cb2652d5..6d7ef006c6a 100644 --- a/gcc/c-family/c-common.cc +++ b/gcc/c-family/c-common.cc @@ -3318,7 +

[Bug bootstrap/120464] [16 Regression] Build broken in ggc-page.cc on master since r16-852

2025-05-28 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120464 --- Comment #6 from Zartaj Majeed --- Do you mind fixing the "garantee" typo in the last comment too?

[Bug bootstrap/120464] Build broken in ggc-page.cc on master

2025-05-28 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120464 --- Comment #1 from Zartaj Majeed --- The build error is g++ -std=c++14 -fno-PIE -c -g -DIN_GCC-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-

[Bug bootstrap/120464] New: Build broken in ggc-page.cc on master

2025-05-28 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120464 Bug ID: 120464 Summary: Build broken in ggc-page.cc on master Product: gcc Version: 15.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstra

[Bug c++/120449] g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-27 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 --- Comment #4 from Zartaj Majeed --- Thanks - and what about this? No warning from g++ -c -Wtype-limits -std=c++20 -Wsystem-headers typelimits.cpp

[Bug c++/120449] g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-27 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 --- Comment #2 from Zartaj Majeed --- Is -Wsystem-headers a side-effect of -P? Because system headers cannot be recognized if line numbers are suppressed?

[Bug c++/120449] New: g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero

2025-05-27 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120449 Bug ID: 120449 Summary: g++ -Wtype-limits without -P doesn't warn on unsigned compare to zero Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/116870] New: Corrupt executable created by GCC 14.2 on Windows MinGW64 with mingw-w64-x86_64-toolchain

2024-09-27 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116870 Bug ID: 116870 Summary: Corrupt executable created by GCC 14.2 on Windows MinGW64 with mingw-w64-x86_64-toolchain Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug libstdc++/116755] format and print functions prepend extra minus sign for min value of chrono duration type

2024-09-18 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755 --- Comment #13 from Zartaj Majeed --- Got it - compiler is latest package for Ubuntu 24.04 - I too wish they'd keep up

[Bug libstdc++/116755] format and print functions prepend extra minus sign for min value of chrono duration type

2024-09-18 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755 --- Comment #10 from Zartaj Majeed --- Just tried unsigned duration with system_clock - I guess the requirement for signed Rep is for the default duration - could this have any legitimate use? Or should there be a warning? auto t1 = time_point>

[Bug libstdc++/116755] format and print functions prepend extra minus sign for min value of chrono duration type

2024-09-18 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755 --- Comment #9 from Zartaj Majeed --- Won't I have to separately add units to +d2.count()? I didn't think to try unsigned types because I'm working with system_clock that I believe requires signed Rep - but the following doesn't compile for me

[Bug libstdc++/116755] format and print functions prepend extra minus sign for min value of chrono duration type

2024-09-18 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755 --- Comment #7 from Zartaj Majeed --- Thanks for looking at these issues and providing the references - these shed light on my issue 2 >From a simple user point of view, issue 2 is wrong output from libstdc++ - and libc++ if Andrew is right It

[Bug libstdc++/116755] format and print functions prepend extra minus sign for min value of chrono duration type

2024-09-17 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755 --- Comment #1 from Zartaj Majeed --- Correct test case repo link https://github.com/zmajeed/simpleprog/tree/main/gcc14_format_bug

[Bug libstdc++/116755] New: format and print functions prepend extra minus sign for min value of chrono duration type

2024-09-17 Thread zmajeed at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755 Bug ID: 116755 Summary: format and print functions prepend extra minus sign for min value of chrono duration type Product: gcc Version: 14.0 Status: UNCONFIRMED