[Bug libstdc++/104990] [12 Regression] std::get_time is incompatible with clang 14

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104990 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e63ac860afe816fef6b86bee6e47980e1351213c commit r12-7734-ge63ac860afe816fef6b86bee6e47980e1351213c Author: Jakub Jelinek Date:

[Bug libstdc++/104990] [12 Regression] std::get_time is incompatible with clang 14

2022-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104990 --- Comment #6 from Jonathan Wakely --- FWIW the misfeature was added by https://reviews.llvm.org/D68055

[Bug libstdc++/104990] [12 Regression] std::get_time is incompatible with clang 14

2022-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104990 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Target Milestone|---

[Bug libstdc++/104990] [12 Regression] std::get_time is incompatible with clang 14

2022-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104990 --- Comment #4 from Andrew Pinski --- >This showed up with -fgnuc-version=11.2 on the command line to work around >code doing broken things like in the particular code being compiled. Why not fix that code instead of having libstdc++

[Bug libstdc++/104990] [12 Regression] std::get_time is incompatible with clang 14

2022-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104990 --- Comment #3 from Andrew Pinski --- >This showed up with -fgnuc-version=11.2 Well then this is a bug in clang for allowing this really. libstdc++ uses extensions based on the GNUC++ version and you specify that it was the wrong version of

[Bug libstdc++/104990] [12 Regression] std::get_time is incompatible with clang 14

2022-03-20 Thread bero at lindev dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104990 --- Comment #2 from Bernhard Rosenkraenzer --- clang's __GNUC__ defines depend on a command line -fgnuc-version= This showed up with -fgnuc-version=11.2 on the command line to work around code doing broken things like in the particular code

[Bug libstdc++/104990] [12 Regression] std::get_time is incompatible with clang 14

2022-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104990 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment