[Bug c++/99582] New: No intrinsics to access rcl or rcr instruction on x86_64

2021-03-13 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99582 Bug ID: 99582 Summary: No intrinsics to access rcl or rcr instruction on x86_64 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priori

[Bug libstdc++/99533] "operation not permitted" error on recursive_directory_iterator despite skip_permission_denied

2021-03-13 Thread ssh at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99533 --- Comment #5 from Steffen Schuemann --- Thank you for looking into this and sorry for the namespace issue, I was to greedy when deleting the preprocessor parts that switched between my implementation and std::filesystem. First of all, I'm with

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2021-03-13 Thread wuyongwei at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #28 from Yongwei Wu --- OK, somewhat answering myself. I was not aware of the fact that 128-bit atomic read has to be implemented using cmpxchg16b as well, thus defeating some non-CAS usage scenarios. The natural question is: which u

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2021-03-13 Thread wuyongwei at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 Yongwei Wu changed: What|Removed |Added CC||wuyongwei at gmail dot com --- Comment #27

[Bug target/94649] 16-byte aligned atomic_compare_exchange doesn not generate cmpxcg16b on x86_64

2021-03-13 Thread wuyongwei at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94649 Yongwei Wu changed: What|Removed |Added CC||wuyongwei at gmail dot com --- Comment #3 f

[Bug c/67629] bogus -Wreturn-type in a function with tautological if-else

2021-03-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67629 Eric Gallager changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug middle-end/99578] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-03-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 Martin Sebor changed: What|Removed |Added Component|c |middle-end Keywords|

[Bug tree-optimization/99580] False positive -Warray-bounds with -O2

2021-03-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99580 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Ever confirmed|0

[Bug tree-optimization/99489] [11 Regression] internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name()

2021-03-13 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99489 --- Comment #10 from Khem Raj --- (In reply to Martin Sebor from comment #9) > Fixed in r11-7658. I validated the fix as well.

[Bug c/99578] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #3 from Arnd Bergmann --- After some more analysis, I found that the -Wstringop-overread warning only happens here (and presumably in all the other cases I found) because I disabled -Warray-bounds for gcc-11. I'm still looking at -Wa

[Bug rtl-optimization/99581] New: internal compiler error: during RTL pass: final - void QTWTF::TCMalloc_PageHeap::scavengerThread()

2021-03-13 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99581 Bug ID: 99581 Summary: internal compiler error: during RTL pass: final - void QTWTF::TCMalloc_PageHeap::scavengerThread() Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/83258] Rejecting function pointer non-type template parameter without linkage

2021-03-13 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83258 --- Comment #10 from Johel Ernesto Guerrero Peña --- Another workaround, extended from Bug 92320's example. See https://godbolt.org/z/69onWf. You can wrap the closure object in a template function which itself invokes the closure object and conve

[Bug c++/97700] Bogus error when a class containing a function pointer is used as a non-type template parameter

2021-03-13 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97700 --- Comment #3 from Johel Ernesto Guerrero Peña --- This seems to be a duplicate of Bug 83258.

[Bug c/99578] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #2 from Arnd Bergmann --- Ok, I see. Thanks for the explanation! I found a couple other instances (so far all false positive) and will see if any of them have a sane workaround. I'll probably just turn off both flags globally for the

[Bug c++/99580] New: False positive -Warray-bounds with -O2

2021-03-13 Thread sventeam at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99580 Bug ID: 99580 Summary: False positive -Warray-bounds with -O2 Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/88781] [meta-bug] bogus/missing -Wstringop-truncation warnings

2021-03-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88781 Bug 88781 depends on bug 99489, which changed state. Bug 99489 Summary: [11 Regression] internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99489 What|

[Bug tree-optimization/99489] [11 Regression] internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name()

2021-03-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99489 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/99489] [11 Regression] internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name()

2021-03-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99489 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:77643ac4bbd0ff758edc182a12cb622b74a3c38a commit r11-7658-g77643ac4bbd0ff758edc182a12cb622b74a3c38a Author: Martin Sebor Date: Tue

[Bug rtl-optimization/99567] internal error in extract_constrain_insn with asan-stack

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99567 Arnd Bergmann changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/99578] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-03-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug c++/83258] Rejecting function pointer non-type template parameter without linkage

2021-03-13 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83258 Johel Ernesto Guerrero Peña changed: What|Removed |Added CC||johelegp at gmail dot com

[Bug middle-end/99579] gmon.out not created with -O0 but otherwise is

2021-03-13 Thread wsnyder at wsnyder dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99579 Wilson Snyder changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #3 from Wilson Snyder

[Bug middle-end/99579] gmon.out not created with -O0 but otherwise is

2021-03-13 Thread wsnyder at wsnyder dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99579 --- Comment #2 from Wilson Snyder --- So glibc where to report this then?

[Bug middle-end/99579] gmon.out not created with -O0 but otherwise is

2021-03-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99579 Andrew Pinski changed: What|Removed |Added Resolution|--- |WORKSFORME Status|UNCONFIRME

[Bug c++/99579] New: gmon.out not created with -O0 but otherwise is

2021-03-13 Thread wsnyder at wsnyder dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99579 Bug ID: 99579 Summary: gmon.out not created with -O0 but otherwise is Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 H.J. Lu changed: What|Removed |Added Attachment #50369|0 |1 is obsolete|

[Bug rtl-optimization/99567] internal error in extract_constrain_insn with asan-stack

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99567 --- Comment #2 from Arnd Bergmann --- *** Bug 99570 has been marked as a duplicate of this bug. ***

[Bug target/99570] internal error in extract_constrain_insn

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99570 Arnd Bergmann changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug rtl-optimization/99567] internal error in extract_constrain_insn with asan-stack

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99567 --- Comment #1 from Arnd Bergmann --- *** Bug 99574 has been marked as a duplicate of this bug. ***

[Bug target/99574] gcc-11 unrecognizable insn in extract_constrain_insn, at recog.c:2670

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99574 Arnd Bergmann changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c/99578] New: gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 Bug ID: 99578 Summary: gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c/99577] New: Non-constant (but actually constant) initializers referencing other constants no longer diagnosed as of GCC 8

2021-03-13 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99577 Bug ID: 99577 Summary: Non-constant (but actually constant) initializers referencing other constants no longer diagnosed as of GCC 8 Product: gcc Version: 10.2.0

[Bug c++/99576] New: [coroutines] desctructor of a temporary called too early within co_await expression

2021-03-13 Thread lemourin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576 Bug ID: 99576 Summary: [coroutines] desctructor of a temporary called too early within co_await expression Product: gcc Version: 10.2.1 Status: UNCONFIRMED Keyw

[Bug c++/99575] New: [coroutines] unexpected move when co_awaiting a nonmoveable object

2021-03-13 Thread lemourin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99575 Bug ID: 99575 Summary: [coroutines] unexpected move when co_awaiting a nonmoveable object Product: gcc Version: 10.2.1 Status: UNCONFIRMED Keywords: rejects-val

[Bug target/99570] internal error in extract_constrain_insn

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99570 --- Comment #1 from Arnd Bergmann --- I suppose this is a duplicate of #99567 and #99574, these happen with different compiler flags, but the backtrace is always the same.

[Bug target/99574] New: gcc-11 unrecognizable insn in extract_constrain_insn, at recog.c:2670

2021-03-13 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99574 Bug ID: 99574 Summary: gcc-11 unrecognizable insn in extract_constrain_insn, at recog.c:2670 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75

2021-03-13 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug sanitizer/96318] FAIL: c-c++-common/asan/strncpy-overflow-1.c * output pattern test with C on Darwin

2021-03-13 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96318 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Domin

[Bug c++/99573] New: ICE in module: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in start_enum, at cp/decl.c:15663

2021-03-13 Thread niancw29 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99573 Bug ID: 99573 Summary: ICE in module: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in start_enum, at cp/decl.c:15663 Product:

[Bug fortran/99125] [9/10/11 Regression] ICE: gimplification failed (gimplify.c:15068)

2021-03-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99125 --- Comment #6 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:7987beec679898cfa75839551d55ae5234a216bd commit r11-7657-g7987beec679898cfa75839551d55ae5234a216bd Author: Paul Thomas Date: Sat Ma

[Bug libstdc++/99572] New: std::counting_semaphore coalescing wakes

2021-03-13 Thread michaelkuc6 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99572 Bug ID: 99572 Summary: std::counting_semaphore coalescing wakes Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug tree-optimization/99544] [11 Regression] ICE in expand_mult, at expmed.c:3582

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

[Bug tree-optimization/99544] [11 Regression] ICE in expand_mult, at expmed.c:3582

2021-03-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bbdf59fdbc2ce41ccfac807b15cf3fac7b465a56 commit r11-7656-gbbdf59fdbc2ce41ccfac807b15cf3fac7b465a56 Author: Jakub Jelinek Date: Sa