[Bug tree-optimization/101009] [12 Regression] wrong code with "-O3 -fno-tree-sra"

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 --- Comment #7 from Richard Biener --- So interestingly we do compute a distance vector of zero but we fail to add it, instead we end up returning true from build_classic_dist_vector_1 without setting *init_b to true (the access fns are not POLY

[Bug tree-optimization/101009] [10/11/12 Regression] wrong code with "-O3 -fno-tree-sra"

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 Richard Biener changed: What|Removed |Added Summary|[12 Regression] wrong code |[10/11/12 Regression] wrong

[Bug tree-optimization/97770] [ICELAKE]suboptimal vectorization for vpopcntw/b/q

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97770 --- Comment #20 from Richard Biener --- (In reply to H.J. Lu from comment #19) > (In reply to rguent...@suse.de from comment #18) > > > > That's going to work I guess but it will pessimize general optimization > > which no longer know this is co

Guest article pitch

2021-06-11 Thread Lisa Smith via Gcc-bugs
Hello Do you currently accept guest posts on - lttng.org? I’d be happy to provide you with a high-quality article related to the tech or eCommerce niche. Let me know the requirements. Lisa Smith Don't want emails from us anymore? Reply to this email with the word "UNSUBSCRIBE" in the subject l

[Bug tree-optimization/101009] [10/11/12 Regression] wrong code with "-O3 -fno-tree-sra"

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #7) > @@ -5435,7 +5437,7 @@ build_classic_dist_vector (struct > data_dependence_relation > *ddr, > save_dist_v (ddr, save_v); > } > } > -

[Bug target/101021] PSHUFB is emitted instead of PSHUFD, PSHUFLW and PSHUFHW with -msse4

2021-06-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101021 Uroš Bizjak changed: What|Removed |Added Last reconfirmed||2021-06-11 Ever confirmed|0

[Bug c++/100897] Symmetric transfer does not prevent stack-overflow for C++20 coroutines

2021-06-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100897 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug testsuite/101020] [12 regression] Several test case failures after r12-1316

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101020 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.2

[Bug tree-optimization/101025] [11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 Richard Biener changed: What|Removed |Added Known to work||10.3.0 Assignee|unassigned a

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 Uroš Bizjak changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #1

[Bug tree-optimization/101026] New: [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101026 Bug ID: 101026 Summary: [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-06-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100810 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug tree-optimization/101025] [11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 --- Comment #2 from Richard Biener --- Shorter IL testcase: int a[10]; int b, d, g; volatile char c; short e; volatile int f; int main() { for (; d <= 9; d++) { b = e = 0; for (; e < 4; e++) a[e] = 4; for (; b <= 3;

[Bug tree-optimization/101025] [11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug c++/101027] New: Short-circuit behavior not respected with co_await in while head

2021-06-11 Thread alois1--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101027 Bug ID: 101027 Summary: Short-circuit behavior not respected with co_await in while head Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/101025] [11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 --- Comment #4 from Martin Liška --- So started with r11-4123-g128f43cf679e51564202b41f23fae4146347f93d.

[Bug tree-optimization/101025] [11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 --- Comment #5 from Richard Biener --- The issue is with sm_seq_valid_bb which when processing store sequences from multiple branches of the CFG performs merging in a way that drops refs that still need to be considered for dependence queries.

[Bug tree-optimization/101009] [10/11/12 Regression] wrong code with "-O3 -fno-tree-sra"

2021-06-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 --- Comment #10 from Jakub Jelinek --- (In reply to Richard Biener from comment #8) > With -O2 -fno-tree-sra -fno-tree-pre -ftree-loop-distribution even GCC 10 > miscompiles the code. For dg-torture: That started with r10-141-g051ef623d6e332a6

[Bug tree-optimization/101009] [10/11/12 Regression] wrong code with "-O3 -fno-tree-sra"

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 --- Comment #11 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:336c41dbcb21740f8964021e157bc69ca547059b commit r12-1381-g336c41dbcb21740f8964021e157bc69ca547059b Author: Richard Biener Date:

[Bug tree-optimization/101009] [10/11 Regression] wrong code with "-O3 -fno-tree-sra"

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 Richard Biener changed: What|Removed |Added Known to work||12.0 Summary|[10/11/12 Regr

[Bug tree-optimization/100934] [9/10/11/12 Regression] wrong code at -O3 during unrolling since r9-6299

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug gcov-profile/100788] Internal compiler error related to #line macros(?)

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788 --- Comment #13 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:8bf728aecc4fea46b4490e950b9ae229f90597b0 commit r12-1383-g8bf728aecc4fea46b4490e950b9ae229f90597b0 Author: Martin Liska Date: Tu

[Bug gcov-profile/100788] Internal compiler error related to #line macros(?)

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788 Martin Liška changed: What|Removed |Added Known to work||12.0 --- Comment #14 from Martin Liška

[Bug target/79185] [8 Regression] register allocation in the addition of two 128/9 bit ints

2021-06-11 Thread drraph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79185 --- Comment #17 from Raphael C --- Tested in gcc 11.1 with -O2 ai(__int128, __int128): mov r9, rdi mov rax, rdx mov r8, rsi mov rdx, rcx add rax, r9 adc rdx, r8 ret

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2021-06-11 Thread drraph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #5 from Raphael C --- I can confirm you now get f: mov eax, 1 ret with gcc 8 onwards.

[Bug tree-optimization/101026] [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101026 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-06-11 Target Milestone|---

[Bug target/101021] PSHUFB is emitted instead of PSHUFD, PSHUFLW and PSHUFHW with -msse4

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101021 --- Comment #2 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:1fa991d1d74cb1ce96c48ede70ae0be7a9683ce3 commit r12-1384-g1fa991d1d74cb1ce96c48ede70ae0be7a9683ce3 Author: Uros Bizjak Date: Fri J

[Bug c++/100897] Symmetric transfer does not prevent stack-overflow for C++20 coroutines

2021-06-11 Thread l.v.merzljak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100897 --- Comment #2 from Leonard von Merzljak --- (In reply to Iain Sandoe from comment #1) > for symmetric transfer to work without stack overflow, it relies on an > indirect tailcall. > > For some GCC targets indirect tail-calls are not available

[Bug target/101021] PSHUFB is emitted instead of PSHUFD, PSHUFLW and PSHUFHW with -msse4

2021-06-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101021 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/101028] New: [12 Regression] SLP compile-time hog since r12-1329-gce670e4faafb296d

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101028 Bug ID: 101028 Summary: [12 Regression] SLP compile-time hog since r12-1329-gce670e4faafb296d Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: compile-

[Bug tree-optimization/101028] [12 Regression] SLP compile-time hog since r12-1329-gce670e4faafb296d

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101028 Martin Liška changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug target/101007] [12 Regression] ICE: in extract_insn, at recog.c:2770 (unrecognizable insn) with -mno-sse2

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101007 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a984da88a35b42f444d1f9eeba77aa520b950d35 commit r12-1385-ga984da88a35b42f444d1f9eeba77aa520b950d35 Author: Jakub Jelinek Date: F

[Bug rtl-optimization/101008] ICE: in native_encode_rtx, at simplify-rtx.c:6594 with -O -g

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101008 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4bdcdd8fa8d7659e5a19a930cf2f0332127f8a46 commit r12-1386-g4bdcdd8fa8d7659e5a19a930cf2f0332127f8a46 Author: Jakub Jelinek Date: F

[Bug c++/100897] Symmetric transfer does not prevent stack-overflow for C++20 coroutines

2021-06-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100897 --- Comment #3 from Iain Sandoe --- (In reply to Leonard von Merzljak from comment #2) > (In reply to Iain Sandoe from comment #1) > Thank you for your comment. I tried it out and can confirm that I don't get > a stack-overflow anymore if I omi

[Bug tree-optimization/101026] [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101026 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fbd8a8041292f2ec2c22be43c8d3e74b37b2bc88 commit r12-1387-gfbd8a8041292f2ec2c22be43c8d3e74b37b2bc88 Author: Richard Biener Date:

[Bug target/101017] ICE: Segmentation fault, convert_memory_address_addr_space_1 with vector_size(32) and target_clone arch=core-avx2/default

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101017 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/101024] Missed min expression at phiopt1

2021-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101024 --- Comment #2 from Andrew Pinski --- I have a start but there are a few patterns that need to be moved. An example is from gcc.dg/tree-ssa/pr66726-4.c: #define SAT(x) (x < 0 ? 0 : (x > 255 ? 255 : x)) void foo (unsigned char *p, int i) { *p

[Bug c++/101029] New: unexpected error: non-constant condition for static assertion in gcc 10/11, but not 9 (clang also fine)

2021-06-11 Thread jim.w.walker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101029 Bug ID: 101029 Summary: unexpected error: non-constant condition for static assertion in gcc 10/11, but not 9 (clang also fine) Product: gcc Version: unknown Status: UNC

[Bug c++/101029] unexpected error: non-constant condition for static assertion in gcc 10/11, but not 9 (clang also fine)

2021-06-11 Thread jim.w.walker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101029 --- Comment #1 from Jim Walker --- Adding version output: /opt/gcc-10.2.0/bin/g++ --version g++ (GCC) 10.2.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty;

[Bug target/101007] [12 Regression] ICE: in extract_insn, at recog.c:2770 (unrecognizable insn) with -mno-sse2

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

[Bug rtl-optimization/101008] ICE: in native_encode_rtx, at simplify-rtx.c:6594 with -O -g

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

[Bug c++/101029] unexpected error: non-constant condition for static assertion in gcc 10/11, but not 9 (clang also fine)

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101029 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/101029] unexpected error: non-constant condition for static assertion in gcc 10/11, but not 9 (clang also fine)

2021-06-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101029 --- Comment #3 from Jonathan Wakely --- (In reply to Jim Walker from comment #0) > /opt/gcc-10.2.0/include/c++/10.2.0/type_traits:918:52: error: non-constant > condition for static assertion > 918 | > static_assert(std::__is_complete_or_

[Bug c++/101030] New: gcc internal error with Wconversion

2021-06-11 Thread chrishair85 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101030 Bug ID: 101030 Summary: gcc internal error with Wconversion Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/101028] [12 Regression] SLP compile-time hog since r12-1329-gce670e4faafb296d

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101028 --- Comment #1 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b9ec5ebb605936684e95b8dcc12e43ba7d8f2cb4 commit r12-1388-gb9ec5ebb605936684e95b8dcc12e43ba7d8f2cb4 Author: Richard Biener Date:

[Bug tree-optimization/101028] [12 Regression] SLP compile-time hog since r12-1329-gce670e4faafb296d

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101028 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 101028, which changed state. Bug 101028 Summary: [12 Regression] SLP compile-time hog since r12-1329-gce670e4faafb296d https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101028 What|Removed |

[Bug fortran/100949] [9/10/11/12 Regression] ICE in gfc_conv_expr_present, at fortran/trans-expr.c:1975

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100949 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/101026] [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101026 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/100948] [12 Regression] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9069

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100948 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 Jakub Jelinek changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 --- Comment #4 from Jakub Jelinek --- // { dg-do run { target lp64 } } (or ! ia32 if you want).

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-11 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 --- Comment #5 from Zdenek Sojka --- (In reply to Jakub Jelinek from comment #3) > Here it is: > Thank you, I probably wouldn't be able to get back to this until next week.

[Bug testsuite/101020] [12 regression] Several test case failures after r12-1316

2021-06-11 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101020 David Edelsohn changed: What|Removed |Added Last reconfirmed||2021-06-11 CC|

[Bug tree-optimization/101031] New: wrong code at -O2 on x86_64-linux-gnu

2021-06-11 Thread qrzhang at gatech dot edu via Gcc-bugs
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: qrzhang at gatech dot edu Target Milestone: --- It appears to be a recent regression. $ gcc-trunk -v Supported LTO compression algorithms: zlib gcc version 12.0.0 20210611 (experimental) [master revision

[Bug tree-optimization/101031] wrong code at -O2 on x86_64-linux-gnu

2021-06-11 Thread qrzhang at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101031 Qirun Zhang changed: What|Removed |Added CC||rguenther at suse dot de --- Comment #1 f

[Bug tree-optimization/101031] [12 Regression] wrong code at -O2 on x86_64-linux-gnu

2021-06-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101031 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Summary|wrong code at -O2

[Bug c++/101029] unexpected error: non-constant condition for static assertion in gcc 10/11, but not 9 (clang also fine)

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101029 --- Comment #4 from Martin Liška --- Created attachment 50985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50985&action=edit test-case I see the following issue when not using an optimization level: $ g++ gcc_issue.cc -c gcc_issue.cc:

[Bug c++/101029] unexpected error: non-constant condition for static assertion in gcc 10/11, but not 9 (clang also fine)

2021-06-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101029 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #5

[Bug target/100217] [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552

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

[Bug tree-optimization/101031] [12 Regression] wrong code at -O2 on x86_64-linux-gnu

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101031 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/101031] [12 Regression] wrong code at -O2 on x86_64-linux-gnu

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101031 --- Comment #3 from Richard Biener --- Simpler IL: int a; char b, e; static char *c = &b; static long d; void f(void); void __attribute__((noipa)) h() { int g = 0; for (; g < 2; ++g) { d = *c; *c = 1; b = 0; } f(); } void __

[Bug c++/100974] [C++23] Implement if consteval

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100974 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:117c64266405e244da4dae3ae7b60905af63b955 commit r12-1390-g117c64266405e244da4dae3ae7b60905af63b955 Author: Jakub Jelinek Date: F

[Bug c++/100974] [C++23] Implement if consteval

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

[Bug c++/98940] Implement C++23 language features

2021-06-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 100974, which changed state. Bug 100974 Summary: [C++23] Implement if consteval https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100974 What|Removed |Added --

[Bug target/101022] rs6000: __builtin_altivec_vcmpequt expands to wrong pattern

2021-06-11 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101022 --- Comment #4 from Bill Schmidt --- Hi Carl -- while you're in there, can you please remove these? +BU_P10_OVERLOAD_2 (VRLQ, "vrlq") +BU_P10_OVERLOAD_2 (VSLQ, "vslq")

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com --- Commen

[Bug target/99939] CMSE: -march=armv8.1-m.main+mve does not support CMSE correctly.

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99939 --- Comment #1 from CVS Commits --- The master branch has been updated by SRINATH PARVATHANENI : https://gcc.gnu.org/g:c5ed0148347beea1bd34795de146a2454c36 commit r12-1391-gc5ed0148347beea1bd34795de146a2454c36 Author: Srinath Parvathane

[Bug fortran/100948] [12 Regression] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9069

2021-06-11 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100948 --- Comment #4 from José Rui Faustino de Sousa --- I am looking into this. I think I already have a patch for the ICE, but there are further problems which I am trying to solve. Best regards, José Rui

[Bug c++/101015] Poor diagnostic for deprecated alias-declaration

2021-06-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101015 --- Comment #2 from Marek Polacek --- This is because dump_decl does the decoration for TYPE_DECL_ALIAS_P: 1228 if (TYPE_DECL_ALIAS_P (t) 1229 && (flags & TFF_DECL_SPECIFIERS 1230 || flags & TFF_CLASS_KEY_OR_ENUM))

[Bug c++/101032] New: Regression on parser with g++11 using experimental c++20 (compiles under c++17)

2021-06-11 Thread kevin.c.eady at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101032 Bug ID: 101032 Summary: Regression on parser with g++11 using experimental c++20 (compiles under c++17) Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severi

[Bug c++/101033] New: Error message for spelling error in copy assignment operator could be improved

2021-06-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101033 Bug ID: 101033 Summary: Error message for spelling error in copy assignment operator could be improved Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/101032] Regression on parser with g++11 using experimental c++20 (compiles under c++17)

2021-06-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101032 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug tree-optimization/101025] [11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b8b80b8aa3d9a7abbcb59b651ea5e84c2ea12d0b commit r12-1392-gb8b80b8aa3d9a7abbcb59b651ea5e84c2ea12d0b Author: Richard Biener Date:

[Bug tree-optimization/101025] [11 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 Richard Biener changed: What|Removed |Added Known to work||12.0 Summary|[11/12 Regress

[Bug tree-optimization/96392] Optimize x+0.0 if x is an integer

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96392 --- Comment #1 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:5b02ed4b87685c0f7c5da9b46cde3ce56fcfd457 commit r12-1393-g5b02ed4b87685c0f7c5da9b46cde3ce56fcfd457 Author: Roger Sayle Date: Fri Ju

[Bug libstdc++/101034] New: wrong constraint in std::any's constructor

2021-06-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101034 Bug ID: 101034 Summary: wrong constraint in std::any's constructor Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libst

[Bug target/100530] [9/10/11/12 Regression] ICE with -g: in add_dwarf_attr with __seg_gs (Alternative address-space) global variable since r8-4385-ga297ccb52e0c894e

2021-06-11 Thread dcb314 at hotmail dot com via Gcc-bugs
--- Comment #4 from David Binderman --- I see this also with the source code for ./gcc.target/i386/pr100936.c and flag -g: $ /home/dcb/gcc/results.20210611.asan.ubsan/bin/gcc -c -g ./gcc.target/i386/pr100936.c ./gcc.target/i386/pr100936.c:5:1: internal compiler error: in add_dwarf_attr, at dwarf2out.c:4493

[Bug tree-optimization/101025] [11 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-11 Thread qrzhang at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 --- Comment #8 from Qirun Zhang --- (In reply to Richard Biener from comment #7) > Fixed on trunk sofar. Keep more testcases coming ;) (I have a hunch this > code has more issues...) Thanks, Richard. Will do.

[Bug libstdc++/101034] wrong constraint in std::any's constructor

2021-06-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101034 --- Comment #1 from 康桓瑋 --- any#L272 has the same typo: template __emplace_t, initializer_list<_Up>, _Args&&...> emplace(initializer_list<_Up> __il, _Args&&... __args)

[Bug tree-optimization/96392] Optimize x+0.0 if x is an integer

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96392 --- Comment #2 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:a761829ae06a754f72ff957cbedb21f4d98fab70 commit r12-1394-ga761829ae06a754f72ff957cbedb21f4d98fab70 Author: Roger Sayle Date: Fri Ju

[Bug libstdc++/101034] wrong constraint in std::any's constructor

2021-06-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101034 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/101032] Regression on parser with g++11 using experimental c++20 (compiles under c++17)

2021-06-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101032 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/97202] GCC reports an error: expected unqualified-id before ‘short’

2021-06-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97202 Jonathan Wakely changed: What|Removed |Added CC||kevin.c.eady at gmail dot com --- Comm

[Bug c++/97202] GCC reports an error: expected unqualified-id before ‘short’

2021-06-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97202 --- Comment #6 from Jonathan Wakely --- If the invalid special member is defined out of the class body, you get another error: template struct F { F(); }; template inline F::F() { } 101032.C:4:8: error: expected unqualified-id before ‘)’ to

[Bug c++/101033] Error message for spelling error in copy assignment operator could be improved

2021-06-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101033 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Ever confirmed|0

[Bug c++/101033] Error message for spelling error in copy assignment operator could be improved

2021-06-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101033 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error.

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016 --- Comment #1 from CVS Commits --- The master branch has been updated by SRINATH PARVATHANENI : https://gcc.gnu.org/g:b13f297f01c943aa167f7c6eb94bed40dce0d553 commit r12-1395-gb13f297f01c943aa167f7c6eb94bed40dce0d553 Author: Srinath Parvathan

[Bug c/101035] New: ICE: in wide_int_to_tree_1, at tree.c:1751

2021-06-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101035 Bug ID: 101035 Summary: ICE: in wide_int_to_tree_1, at tree.c:1751 Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug d/100999] d: foreach over a tuple doesn't work on 16-bit targets

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100999 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:68f46862d33707450bdf70cfddd91ae2a12527a8 commit r12-1396-g68f46862d33707450bdf70cfddd91ae2a12527a8 Author: Iain Buclaw Date: Fri J

[Bug c/101036] New: ICE: in fold_convert_loc, at fold-const.c:2430

2021-06-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101036 Bug ID: 101036 Summary: ICE: in fold_convert_loc, at fold-const.c:2430 Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug d/100999] d: foreach over a tuple doesn't work on 16-bit targets

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100999 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:a30552af7073aba16af6798a1e6cd0a345b06586 commit r11-8553-ga30552af7073aba16af6798a1e6cd0a345b06586 Author: Iain Buclaw Date

[Bug libstdc++/101037] New: std::atomic_flag deadlock on Windows

2021-06-11 Thread bjornsundin02 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 Bug ID: 101037 Summary: std::atomic_flag deadlock on Windows Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug fortran/100950] ICE in output_constructor_regular_field, at varasm.c:5514

2021-06-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950 --- Comment #11 from anlauf at gcc dot gnu.org --- The variant with typespec and non-constant length is incorrectly rejected: program p integer :: n = 2 print *, [character(n) :: 'a', 'b'] end All versions since at least gcc-7 give: pr1009

[Bug libstdc++/101037] std::atomic_flag deadlock on Windows

2021-06-11 Thread bjornsundin02 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 --- Comment #1 from Björn Sundin --- The preprocessed file was too big. Should I attach the original C++ source or a compressed version of the preprocessed file instead?

[Bug libstdc++/101037] std::atomic_flag deadlock on Windows

2021-06-11 Thread bjornsundin02 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 --- Comment #2 from Björn Sundin --- Created attachment 50987 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50987&action=edit A short ping-pong example program. The preprocessed file was too large so I attached the original C++ source in

[Bug target/92469] ICE: output_operand: invalid use of register 'frame' in 7/8/9/10

2021-06-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #15 from H.J. Lu --- This isn't completely fixed: [hjl@gnu-clx-1 gcc]$ ./xgcc -B./ /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr97032.c -m32 -fdiagnostics-plain-output -O2 -mincoming-stack-boundary=2 -fstack-pro

[Bug c++/96560] Substitution triggers compile-time error when it shouldn't

2021-06-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96560 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b0d73a66ae3962fa83309527d85613d72a6aa43d commit r12-1398-gb0d73a66ae3962fa83309527d85613d72a6aa43d Author: Patrick Palka Date: Fr

  1   2   >