[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:88ff2eb5cc2c1af2ae751c02997d0b5667662782 commit r11-9594-g88ff2eb5cc2c1af2ae751c02997d0b5667662782 Author: Jakub Jelinek

[Bug tree-optimization/104263] [10/11 Regression] '-fcompare-debug' failure (length) w/ -O2 -fnon-call-exceptions -fno-inline-small-functions since r10-3575-g629387a6586a7531

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104263 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:73b30d18a04bd6efa7e25c28dac1c863dc1cb06e commit r11-9595-g73b30d18a04bd6efa7e25c28dac1c863dc1cb06e Author: Jakub Jelinek

[Bug tree-optimization/104307] [11 Regression] '-fcompare-debug' failure (length) w/ -mavx512f -O2

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104307 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c81d1a061e5cfab6bd276c5be4cd6161b11e6d44 commit r11-9596-gc81d1a061e5cfab6bd276c5be4cd6161b11e6d44 Author: Jakub Jelinek

[Bug preprocessor/104147] [9/10/11 Regression] C preprocessor may remove the standard required whitespace between the preprocessing tokens

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104147 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7c442c8897163888e1d9e367b85565f61e0d3136 commit r11-9598-g7c442c8897163888e1d9e367b85565f61e0d3136 Author: Jakub Jelinek

[Bug libgomp/104385] Segmentation fault when using nested dependent tasks

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104385 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:312a10bdf6ba86d0e32641f5d8f0b6df76810da0 commit r11-9599-g312a10bdf6ba86d0e32641f5d8f0b6df76810da0 Author: Jakub Jelinek

[Bug target/102140] [12 Regression] ICE: in extract_constrain_insn, at recog.c:2670 (insn does not satisfy its constraints) with -Og -fipa-cp -fno-tree-ccp -fno-tree-ter

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102140 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bc87b6d859941794072c5a970174d22466eca33d commit r11-9600-gbc87b6d859941794072c5a970174d22466eca33d Author: Jakub Jelinek

[Bug middle-end/104446] [9/10/11 Regression] ICE in trunc_int_for_mode, at explow.cc:59 since r9-6999

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104446 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:25de6af07994e57626a16a91fa5d3944ba8ddcde commit r11-9601-g25de6af07994e57626a16a91fa5d3944ba8ddcde Author: Jakub Jelinek

[Bug c++/104472] ICE: SIGSEGV in cxx_eval_internal_function with __builtin_convertvector and -frounding-math

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104472 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:784deb1671629734322640520a7421106194f20a commit r11-9602-g784deb1671629734322640520a7421106194f20a Author: Jakub Jelinek

[Bug target/104502] [12 Regression] ICE: in extract_constrain_insn, at recog.cc:2670: insn does not satisfy its constraints with -O -flive-range-shrinkage -march=barcelona -fstack-protector-all -mavx5

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104502 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:615419d60327a0712d9a54d7993bb2d2988e461a commit r11-9603-g615419d60327a0712d9a54d7993bb2d2988e461a Author: Jakub Jelinek

[Bug sanitizer/104449] [9/10/11 Regression] ICE: verify_gimple failed: dead statement in EH table with -fexceptions -fsanitize=address -fstack-check=generic

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104449 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8a97d7bdb38285a7954f67172013098b61548870 commit r11-9604-g8a97d7bdb38285a7954f67172013098b61548870 Author: Jakub Jelinek

[Bug debug/104517] '-fcompare-debug' failure w/ -O1 -fopenmp -fno-tree-ter

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104517 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:14f0b450f7976f824428f0d35b4e7e6dc162f708 commit r11-9606-g14f0b450f7976f824428f0d35b4e7e6dc162f708 Author: Jakub Jelinek

[Bug c/104510] [9/10/11 Regression] ICE: 'verify_gimple' failed: mismatching comparison operand types in verify_gimple_in_seq()

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104510 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3a543eb7982ae6ccfb6ea2027ad4c71d5fcaf92a commit r11-9608-g3a543eb7982ae6ccfb6ea2027ad4c71d5fcaf92a Author: Jakub Jelinek

[Bug rtl-optimization/104544] [10/11 Regression] '-fcompare-debug' failure (length) w/ -O2

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104544 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cdebe6f777a24ae4c8fe520302a7cc52ca6620c4 commit r11-9609-gcdebe6f777a24ae4c8fe520302a7cc52ca6620c4 Author: Jakub Jelinek

[Bug debug/104557] [12 Regression] ICE: in simplify_subreg, at simplify-rtx.cc:7324 with -O -g

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104557 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3eecfec27666b16b2ef855f32ba3f975e087dec1 commit r11-9611-g3eecfec27666b16b2ef855f32ba3f975e087dec1 Author: Jakub Jelinek

[Bug target/104448] [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4dd24152c8cb5bca5fff1ddabb897c9452aab6a8 commit r11-9610-g4dd24152c8cb5bca5fff1ddabb897c9452aab6a8 Author: Jakub Jelinek

[Bug c++/104513] [12 Regression] goto cdtor_label failures on arm since r12-5256

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104513 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:14f79acb6214108ce8e44a767e7eeabb456440fe commit r11-9605-g14f79acb6214108ce8e44a767e7eeabb456440fe Author: Jakub Jelinek

[Bug sanitizer/102656] [11/12 Regression] ICE on coroutines on -fsanitize=address -O1 since r11-1613-g788b962aa00959e8

2022-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102656 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9e3bbb4a8024121eb0fa675cb1f074218c1345a6 commit r12-7300-g9e3bbb4a8024121eb0fa675cb1f074218c1345a6 Author: Jakub Jelinek Date: S

[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/104263] [10 Regression] '-fcompare-debug' failure (length) w/ -O2 -fnon-call-exceptions -fno-inline-small-functions since r10-3575-g629387a6586a7531

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104263 Jakub Jelinek changed: What|Removed |Added Summary|[10/11 Regression] |[10 Regression] |'-fc

[Bug tree-optimization/104307] [11 Regression] '-fcompare-debug' failure (length) w/ -mavx512f -O2

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104307 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/104446] [9/10 Regression] ICE in trunc_int_for_mode, at explow.cc:59 since r9-6999

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104446 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11 Regression] ICE in |[9/10 Regression] ICE in

[Bug preprocessor/104147] [9/10 Regression] C preprocessor may remove the standard required whitespace between the preprocessing tokens

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104147 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug sanitizer/104449] [9/10 Regression] ICE: verify_gimple failed: dead statement in EH table with -fexceptions -fsanitize=address -fstack-check=generic

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104449 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11 Regression] ICE: |[9/10 Regression] ICE:

[Bug c/104510] [9/10 Regression] ICE: 'verify_gimple' failed: mismatching comparison operand types in verify_gimple_in_seq()

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104510 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11 Regression] ICE: |[9/10 Regression] ICE:

[Bug rtl-optimization/104544] [10 Regression] '-fcompare-debug' failure (length) w/ -O2

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104544 Jakub Jelinek changed: What|Removed |Added Summary|[10/11 Regression] |[10 Regression] |'-fc

[Bug sanitizer/102656] [11 Regression] ICE on coroutines on -fsanitize=address -O1 since r11-1613-g788b962aa00959e8

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102656 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] ICE on |[11 Regression] ICE on

[Bug tree-optimization/104604] [12 Regression]wrong code with -O2 VRP Complex integer division issue

2022-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104604 Andrew Pinski changed: What|Removed |Added Known to work||11.2.0 Target Milestone|---

[Bug tree-optimization/104601] [11/12 Regression] Invalid branch elimination at -O2

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 --- Comment #6 from Jakub Jelinek --- -O2 -fno-ipa-pure-const helps though and the patch affected both.

[Bug libstdc++/104605] New: _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain

2022-02-19 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104605 Bug ID: 104605 Summary: _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug libstdc++/104605] _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain

2022-02-19 Thread unlvsur at live dot com via Gcc-bugs
ultilib --disable-libssp --disable-libquadmath Thread model: single Supported LTO compression algorithms: zlib gcc version 12.0.1 20220219 (experimental) (GCC)

[Bug tree-optimization/104601] [11/12 Regression] Invalid branch elimination at -O2

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 --- Comment #7 from Jakub Jelinek --- And it ICEs again with -O2 -fno-ipa-pure-const if I add [[gnu::const]] or [[gnu::pure]] attribute to f. The function seems to be const in that it only returns the result and doesn't access any other memory,

[Bug libstdc++/104605] _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain

2022-02-19 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104605 --- Comment #2 from cqwrteur --- I just upload the toolchain to github. https://github.com/tearosccebe/x86_64-elf-baremetal-toolchain

[Bug go/104290] [12 Regression] trunk 20220214 fails to build libgo on i686-gnu

2022-02-19 Thread svante.signell at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 --- Comment #24 from Svante Signell --- Thanks Ian, Hopefully someone knows hot to modify Makefile.tpl/Makefile.def to generate the correct dependencies in Makefile.in. Another patch that is not applied: gcc_config_gnu.h.diff. Who will commit

[Bug libstdc++/104602] std::source_location::current uses cast from void*

2022-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104602 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/104602] std::source_location::current uses cast from void*

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104602 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug libstdc++/104606] New: Regression in comparison operator resolution with std::optional

2022-02-19 Thread julien.philippon at epitech dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 Bug ID: 104606 Summary: Regression in comparison operator resolution with std::optional Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/104606] Regression in comparison operator resolution with std::optional

2022-02-19 Thread julien.philippon at epitech dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 --- Comment #1 from julien.philippon at epitech dot eu --- I forgot to add that the bug triggers only when using C++ 20. When compiling with `g++ comparison_bug.cxx` the code compiles, but when compiling with `g++ -std=c++20 comparison_bug.cxx`

[Bug c/104607] New: Struct padding not initialized when all members are provided initializers

2022-02-19 Thread pascal_cuoq at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104607 Bug ID: 104607 Summary: Struct padding not initialized when all members are provided initializers Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug libstdc++/104605] _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain

2022-02-19 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104605 --- Comment #3 from cqwrteur --- (In reply to cqwrteur from comment #2) > I just upload the toolchain to github. > https://github.com/tearosccebe/x86_64-elf-baremetal-toolchain link dead. sorry. https://bitbucket.org/ejsvifq_mabmip/x86_64-elf-b

[Bug c/104607] Struct padding not initialized when all members are provided initializers

2022-02-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104607 Eric Botcazou changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/104607] Struct padding not initialized when all members are provided initializers

2022-02-19 Thread pascal_cuoq at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104607 --- Comment #2 from Pascal Cuoq --- Well that's a quick resolution to a bug report that contained that actual phrase “and any padding is initialized to zero bits”, and this in a quote from the C11 standard, but I guess one of us can't read then.

[Bug c/104607] Struct padding not initialized when all members are provided initializers

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

[Bug c++/104606] [11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |c++ Target Milestone|---

[Bug c++/104606] [11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 --- Comment #3 from Jakub Jelinek --- With preprocessed source from 11.1 even latest 11.2.1 compiles it fine with -std=c++20 (and also trunk).

[Bug c/104607] Struct padding not initialized when all members are provided initializers

2022-02-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104607 Eric Botcazou changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/104606] [11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug libstdc++/104606] [10/11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 Andrew Pinski changed: What|Removed |Added Known to work||10.3.0 Summary|[11/12 Regres

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #3 from Andrew Pinski --- IR in the bool case: _1 = pb[i_13]; iftmp.0_7 = a[i_13]; iftmp.0_6 = b[i_13]; iftmp.0_3 = _1 ? iftmp.0_7 : iftmp.0_6; c[i_13] = iftmp.0_3; IR in the char case: _1 = pc[i_13]; iftmp.1_7 = a[i_1

[Bug sanitizer/101978] thread sanitizer false positive when condition variable

2022-02-19 Thread danregister at poczta dot fm via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101978 Daniel Adamski changed: What|Removed |Added CC||danregister at poczta dot fm --- Comme

[Bug c++/71789] atomic_int incompatibility warning between C and C++ [-Wlto-type-mismatch]

2022-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71789 --- Comment #3 from Andrew Pinski --- This mentioned in this twitter thread: https://twitter.com/mcclure111/status/1495287879756562436

[Bug libstdc++/104606] [10/11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 --- Comment #6 from Jakub Jelinek --- I've confirmed that removing those 2 lines: template -requires (!__is_optional_v<_Up>) - && three_way_comparable_with<_Tp, _Up> constexpr compare_three_way_result_t<_Tp, _Up> operator<=

[Bug libstdc++/104606] [10/11/12 Regression] comparison operator resolution with std::optional and -std=c++20

2022-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 --- Comment #7 from Jakub Jelinek --- Because what libstdc++ does there seems to match the standard: https://eel.is/c++draft/optional.comp.with.t#25