[Bug c++/67762] [C++1z] 'not a constant expression" errors only with -fsanitize=undefined

2022-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67762 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/71962] error: ‘((& x) != 0u)’ is not a constant expression

2022-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962 Andrew Pinski changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Comment

[Bug c++/108257] Incorrect (non-unique) mangling of structured binding's backing variable

2022-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108257 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/108258] std::ranges::begin() fails on zero sized std::array

2022-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108258 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Ever confirmed|0

[Bug libstdc++/108258] std::ranges::begin() fails on zero sized std::array

2022-12-31 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108258 --- Comment #1 from Michael Duggan --- Preprocessed source will be added once I've reduced it. In the meantime, the non-preprocessed source in the comment should be enough to trigger the problem with the specified version of gcc.

[Bug libstdc++/108258] New: std::ranges::begin() fails on zero sized std::array

2022-12-31 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108258 Bug ID: 108258 Summary: std::ranges::begin() fails on zero sized std::array Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug libstdc++/108225] cross build gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2022-12-31 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #6 from cqwrteur --- x86_64-w64-mingw32/artifacts/hostbuild/x86_64-w64-mingw32/gcc/./isl/include -I/home/cqwrteur/toolchains_build/gcc/isl/include -o cp/cvt.o -MT cp/cvt.o -MMD -MP -MF cp/.deps/cvt.TPo /home/cqwrteur/toolchains_buil

[Bug libstdc++/108225] cross build gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2022-12-31 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #5 from cqwrteur --- (In reply to cqwrteur from comment #4) > (In reply to cqwrteur from comment #3) > > (In reply to cqwrteur from comment #2) > > > Created attachment 54171 [details] > > > Error message > > > > > > This is an exam

[Bug libstdc++/108225] cross build gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2022-12-31 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #4 from cqwrteur --- (In reply to cqwrteur from comment #3) > (In reply to cqwrteur from comment #2) > > Created attachment 54171 [details] > > Error message > > > > This is an example of how incorrectly discarding the support of ol

[Bug libstdc++/108225] cross build gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2022-12-31 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #3 from cqwrteur --- (In reply to cqwrteur from comment #2) > Created attachment 54171 [details] > Error message > > This is an example of how incorrectly discarding the support of old systems > would randomly cause build issues. >

[Bug libstdc++/108225] cross build gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2022-12-31 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #2 from cqwrteur --- Created attachment 54171 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54171&action=edit Error message This is an example of how incorrectly discarding the support of old systems would randomly cause buil

[Bug libstdc++/108225] cross build gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2022-12-31 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #1 from cqwrteur --- a.cc include mutex #include x86_64-w64-mingw32-g++ -o a a.cc -Ofast -std=c++23 -s -flto -march=native -D_WIN32_WINNT=0x0500 (Any value which is below 0x0500 since GDB defines it with a lower value)

[Bug target/105010] [12/13 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-12-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #18 from Segher Boessenkool --- We have (since ten years or sp already) /* ISA 2.01 allowed FCFID to be done in 32-bit, previously it was 64-bit only. Enable 32-bit fcfid's on any of the switches for newer ISA machines. */ #defi

[Bug modula2/107612] plugin/m2rte doesn't build on Mac OS X 10.7

2022-12-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107612 --- Comment #11 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:ebc41f9a817dbae01c7450cd33c1968318ce8df0 commit r13-4939-gebc41f9a817dbae01c7450cd33c1968318ce8df0 Author: Rainer Orth Date: Th

[Bug c++/108257] New: Incorrect (non-unique) mangling of structured binding's backing variable

2022-12-31 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108257 Bug ID: 108257 Summary: Incorrect (non-unique) mangling of structured binding's backing variable Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/108256] New: Missing integer overflow instrumentation when assignment LHS is narrow

2022-12-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108256 Bug ID: 108256 Summary: Missing integer overflow instrumentation when assignment LHS is narrow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/108183] wrong code generated in the modula2 scaffold mechanism

2022-12-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108183 --- Comment #17 from Iain Sandoe --- (In reply to Iain Sandoe from comment #16) > Created attachment 54170 [details] > Patch registration constructors > > This modifies the registration CTORs that are currently defined in C++ to be > defined as

[Bug modula2/108183] wrong code generated in the modula2 scaffold mechanism

2022-12-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108183 --- Comment #16 from Iain Sandoe --- Created attachment 54170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54170&action=edit Patch registration constructors This modifies the registration CTORs that are currently defined in C++ to be de