[Bug target/100428] New: [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution

2021-05-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 Bug ID: 100428 Summary: [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction- 7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0

[Bug target/100428] [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test

2021-05-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 --- Comment #1 from Tom de Vries --- Likewise, c++: ... FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test ...

[Bug bootstrap/100246] [11/12 Regression] GCC will not bootstrap with clang 3.4/3.5 [xcode 5/6, Darwin 12/13]

2021-05-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100246 --- Comment #3 from Iain Sandoe --- Alan Modra posted the following alternate patch (which I will test with a clang-3.5 bootstrap): diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 97d6f3863cb..cc3b1b6d666 100644 --- a/gcc/con

[Bug libstdc++/100429] New: threading support on windows

2021-05-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100429 Bug ID: 100429 Summary: threading support on windows Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug libstdc++/100429] threading support on windows. _GLIBCXX_HAS_GTHREADS macro is not 1 but libgcc is correct

2021-05-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100429 --- Comment #1 from cqwrteur --- if (TlsSetValue (__key, (void*) __ptr) != 0)

[Bug middle-end/100394] wrong-code with EH and pure/const functions

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100394 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8ebf6b99952ada09bf9ea0144dcd1d46363b0464 commit r12-475-g8ebf6b99952ada09bf9ea0144dcd1d46363b0464 Author: Richard Biener Date:

[Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79333 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d846f225c25c5885250c303c8d118caa08c447ab commit r12-476-gd846f225c25c5885250c303c8d118caa08c447ab Author: Richard Biener Date: T

[Bug middle-end/100394] wrong-code with EH and pure/const functions

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

[Bug c++/100409] C++ FE elides pure throwing call

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100409 --- Comment #2 from Richard Biener --- After the PR100394 fix this is now the prevailing issue.

[Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79333 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug bootstrap/100373] [12 Regression] Darwin, Compare-debug fail after r12-248-gb58dc0b803057

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100373 Richard Biener changed: What|Removed |Added Last reconfirmed|2021-05-01 00:00:00 |2021-05-05 Status|UNCONFIR

[Bug testsuite/100422] [12 regression] g++.dg/gomp/clause-3.C fails after r12-438

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100422 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:af4e4d35f0b84d7c2f57a7b682a09116e9911142 commit r12-477-gaf4e4d35f0b84d7c2f57a7b682a09116e9911142 Author: Tobias Burnus Date: We

[Bug testsuite/100422] [12 regression] g++.dg/gomp/clause-3.C fails after r12-438

2021-05-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100422 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/100417] False positive -Wmaybe-uninitalized with malloc.

2021-05-05 Thread jkb at sanger dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100417 --- Comment #3 from jkb at sanger dot ac.uk --- I'd definitely be in favour of John's rewording of the warning - "data pointed to by ...". This definitely led us up the garden path for a while. While I agree the code could have been written dif

[Bug bootstrap/100373] [12 Regression] Darwin, Compare-debug fail after r12-248-gb58dc0b803057

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100373 --- Comment #9 from Richard Biener --- Created attachment 50756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50756&action=edit patch This patch survives the new testcase with a cc1 cross to darwin and it does produce expected results wh

[Bug tree-optimization/100329] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100329 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a0302c041b108cf680189bd8e79e9d4478c4e22c commit r11-8349-ga0302c041b108cf680189bd8e79e9d4478c4e22c Author: Richard Biener

[Bug tree-optimization/100414] [11 Regression] ICE: in dominated_by_p, at dominance.c:1120 with -O -fno-tree-dce -fno-tree-dse

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100414 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:12ff76b01f07fff049cbfeb0ef536ce42f1f178b commit r11-8350-g12ff76b01f07fff049cbfeb0ef536ce42f1f178b Author: Richard Biener

[Bug ipa/100308] IPA CP ipcp_modif_dom_walker removes calls w/o updating the cgraph

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100308 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d941869a62060182d5ffe265144bdd87d8943c7a commit r11-8351-gd941869a62060182d5ffe265144bdd87d8943c7a Author: Richard Biener

[Bug middle-end/100278] IBM Z: Segmentation fault when building valgrind with -march=z14

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100278 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:3ac56ea477ec72340ebbce44af93c7712b579109 commit r11-8352-g3ac56ea477ec72340ebbce44af93c7712b579109 Author: Richard Biener

[Bug tree-optimization/100253] [10/11 Regression] wrong code with -O2 -fno-tree-bit-ccp -ftree-slp-vectorize (unaligned movdqa)

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100253 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c980fbf5505dc2f50136d501b67dc3fbf4b08b0d commit r11-8353-gc980fbf5505dc2f50136d501b67dc3fbf4b08b0d Author: Richard Biener

[Bug tree-optimization/100329] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100329 Richard Biener changed: What|Removed |Added Known to work||11.1.1 Resolution|---

[Bug tree-optimization/100414] [11 Regression] ICE: in dominated_by_p, at dominance.c:1120 with -O -fno-tree-dce -fno-tree-dse

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

[Bug tree-optimization/98786] [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 10 which are marked as MUST COALESCE.)

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98786 Bug 98786 depends on bug 100414, which changed state. Bug 100414 Summary: [11 Regression] ICE: in dominated_by_p, at dominance.c:1120 with -O -fno-tree-dce -fno-tree-dse https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100414 What|Rem

[Bug c++/100430] New: False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 Bug ID: 100430 Summary: False positive for -Warray-bounds and pointers Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/100230] ASan: alloc-dealloc-mismatch in early-remat.c

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100230 --- Comment #7 from CVS Commits --- The releases/gcc-8 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:1807c381d5dee44f24a07472d350a58f016cd5f5 commit r8-10950-g1807c381d5dee44f24a07472d350a58f016cd5f5 Author: Alex Coplan Date:

[Bug rtl-optimization/100230] ASan: alloc-dealloc-mismatch in early-remat.c

2021-05-05 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100230 Alex Coplan changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug other/86656] [meta-bug] Issues found with -fsanitize=address

2021-05-05 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656 Bug 86656 depends on bug 100230, which changed state. Bug 100230 Summary: ASan: alloc-dealloc-mismatch in early-remat.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100230 What|Removed |Added ---

[Bug middle-end/100278] IBM Z: Segmentation fault when building valgrind with -march=z14

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100278 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bd475d14d880f17f2491b9488ba776479934a47a commit r10-9799-gbd475d14d880f17f2491b9488ba776479934a47a Author: Richard Biener

[Bug tree-optimization/98786] [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 10 which are marked as MUST COALESCE.)

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98786 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:329f730fd1daa7cdae4a637244d4e215f9bb9a8c commit r10-9800-g329f730fd1daa7cdae4a637244d4e215f9bb9a8c Author: Richard Biener

[Bug tree-optimization/98786] [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 10 which are marked as MUST COALESCE.)

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98786 Richard Biener changed: What|Removed |Added Known to work||10.3.1 Known to fail|

[Bug target/100419] Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.

2021-05-05 Thread sripar01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419 SRINATH PARVATHANENI changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/98786] [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 10 which are marked as MUST COALESCE.)

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98786 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:61cf7ddeae6d13c81498088c1c643ca47fdbde2c commit r9-9512-g61cf7ddeae6d13c81498088c1c643ca47fdbde2c Author: Richard Biener D

[Bug bootstrap/100373] [12 Regression] Darwin, Compare-debug fail after r12-248-gb58dc0b803057

2021-05-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100373 --- Comment #10 from Iain Sandoe --- * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0001016a4bb3 cc1`::gimple_code(g=0x) at gimple.h:1782 1779 static inline

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 --- Comment #4 from Andrew Stubbs --- Alexandre's patch has this: emit_move_insn (rem, plus_constant (ptr_mode, rem, -blksize)); Is that generally a valid thing to do? It seems like other places do similar things...

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/98786] [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 10 which are marked as MUST COALESCE.)

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98786 --- Comment #9 from CVS Commits --- The releases/gcc-8 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1a121f0c20f490ff03f78e7f3f8a22ab9b2bbac9 commit r8-10951-g1a121f0c20f490ff03f78e7f3f8a22ab9b2bbac9 Author: Richard Biener

[Bug tree-optimization/98786] [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 10 which are marked as MUST COALESCE.)

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98786 Richard Biener changed: What|Removed |Added Known to fail||8.4.0 Status|ASSIGNED

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 Richard Biener changed: What|Removed |Added Blocks||56456 Keywords|

[Bug tree-optimization/100366] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2021-05-05 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #5 from Marc Glisse --- (In reply to Martin Sebor from comment #2) > The IL looks like the warning is justified: The memcpy call is dead code, we just fail to notice it. >[local count: 230225493]: > # prephitmp_42 = PHI <_6(4

[Bug rtl-optimization/100342] [10/11 Regression] wrong code with -O2 -fno-dse -fno-forward-propagate -mno-sse2

2021-05-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100342 Jakub Jelinek changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment

[Bug tree-optimization/100366] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2021-05-05 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #6 from Marc Glisse --- So, apart from the small missed PHI optimization, this is probably the common issue that since operator new is replacable, we can't really assume that it does not clobber anything, and that hurts optimizations

[Bug tree-optimization/100366] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2021-05-05 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #7 from Marc Glisse --- It seems to help if we save the values before the allocation in vector.tcc, although I cannot promise it won't pessimize something else... And that's just a workaround, not a solution. @@ -766,13 +766,16 @@

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 Andrew Stubbs changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug bootstrap/100431] New: Fixes to enable compiling with -Werror=format-security

2021-05-05 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 Bug ID: 100431 Summary: Fixes to enable compiling with -Werror=format-security Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-05 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #1 from Joey Dumont --- Created attachment 50758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50758&action=edit Workaround for -Wno-format flag injected during build process.

[Bug target/100428] [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test

2021-05-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 Tom de Vries changed: What|Removed |Added Target||nvptx --- Comment #2 from Tom de Vries

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 --- Comment #2 from Jens Maurer --- Why does the warning go away with -O3, then? If it's intentional, it should be consistent once the optimization level is sufficient for the necessary static analysis.

[Bug target/100428] [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test

2021-05-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 --- Comment #3 from Tom de Vries --- The ptx code looks a lot like the cuda reproducer in PR99932 comment 4, so I'm going to retest this once I get a driver where that one is fixed.

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 --- Comment #7 from Tobias Burnus --- (In reply to Jakub Jelinek from comment #5) > - emit_move_insn (rem, plus_constant (ptr_mode, rem, -blksize)); > + rtx rem_minus_blksize = plus_constant (ptr_mode, rem, -blksize); > + emit_mov

[Bug bootstrap/100373] [12 Regression] Darwin, Compare-debug fail after r12-248-gb58dc0b803057

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100373 Richard Biener changed: What|Removed |Added Attachment #50756|0 |1 is obsolete|

[Bug libstdc++/100429] threading support on windows. _GLIBCXX_HAS_GTHREADS macro is not 1 but libgcc is correct

2021-05-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100429 --- Comment #2 from Jonathan Wakely --- (In reply to cqwrteur from comment #0) > It looks like libgcc DOES provide threading support for windows. However, > _GLIBCXX_HAS_GTHREADS does not get defined for libstdc++, I guess it is > another libtoo

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 --- Comment #8 from Jakub Jelinek --- That is weird. I think normally during expansion all the needed clobbers are added while expanding RTL, rather than waiting until the first pass that calls recog (that is during the vregs pass I think). The

[Bug tree-optimization/100366] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2021-05-05 Thread mrsam--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #8 from Sam Varshavchik --- If the warning is spurious, then changing vector.tcc won't, of course, keep it from popping up elsewhere when the same sequence of events get triggered. Here, it drew my attention to the missed micro-opti

[Bug c/100432] New: gcc arm compilation binary output is bigger with -Os than -O2

2021-05-05 Thread xicojovor at dropjar dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100432 Bug ID: 100432 Summary: gcc arm compilation binary output is bigger with -Os than -O2 Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug jit/87808] gcc_lib_dir is missing from libgccjit's search path when driver is not installed

2021-05-05 Thread leonard at lausen dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87808 --- Comment #8 from leonard at lausen dot nl --- Is there any blocker preventing the patch to be merged? This bug can be easily reproduced by masquerading gcc binary with ccache compiler cache. ln -s ccache /usr/local/bin/gcc See https://ccache.d

[Bug target/91598] [8/9 regression] 60% speed drop on neon intrinsic loop

2021-05-05 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 --- Comment #8 from Christophe Lyon --- All intrinsics have been re-implemented, and I can see no asm version in arm_neon.h as of r12-513.

[Bug c++/100433] New: [modules] segfault with optimization greater than -O0

2021-05-05 Thread gavrilikhin.daniil at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100433 Bug ID: 100433 Summary: [modules] segfault with optimization greater than -O0 Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c/90219] Wrong source location for "cannot convert to a pointer type" warning

2021-05-05 Thread tbaeder at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90219 Timm Bäder changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug sanitizer/100379] cyclades.h is removed from linux kernel header files

2021-05-05 Thread vvinayag at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379 vvinayag at arm dot com changed: What|Removed |Added CC||vvinayag at arm dot com --- Co

[Bug target/98218] [TARGET_MMX_WITH_SSE] Miss vec_cmpmn/vcondmn expander for 64bit vector

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98218 --- Comment #4 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:f3661f2d63fbc5fd30c24d22137691e16b0a0a17 commit r12-514-gf3661f2d63fbc5fd30c24d22137691e16b0a0a17 Author: Uros Bizjak Date: Wed May

[Bug fortran/100274] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100274 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a8b79cc939d6786293f654c42a2d1b0ab040de0e commit r12-515-ga8b79cc939d6786293f654c42a2d1b0ab040de0e Author: Harald Anlauf Date: We

[Bug middle-end/48358] TREE_ADDRESSABLE overloading issues

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

[Bug middle-end/48335] [4.6/4.7 Regression] ICE in convert_move

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48335 Bug 48335 depends on bug 48358, which changed state. Bug 48358 Summary: TREE_ADDRESSABLE overloading issues https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48358 What|Removed |Added

[Bug other/98375] [meta bug] GCC 12 pending patches

2021-05-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98375 Bug 98375 depends on bug 98218, which changed state. Bug 98218 Summary: [TARGET_MMX_WITH_SSE] Miss vec_cmpmn/vcondmn expander for 64bit vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98218 What|Removed |Ad

[Bug target/98218] [TARGET_MMX_WITH_SSE] Miss vec_cmpmn/vcondmn expander for 64bit vector

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

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 --- Comment #9 from Andrew Stubbs --- I found a couple of other places to put force_operand and the full case works now. Running more tests

[Bug tree-optimization/44462] Redundant looping pure functions whose return value is dead are not optimized out

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44462 --- Comment #5 from Richard Biener --- So we now (GCC 8+ at least) get : _1 = i_am_pure (5); a_8 = _1 * 2; i_am_pure (8); return a_8; after early DCE. This is because we now do FRE before the first DCE which 4.5 didn't have (4.8 has

[Bug tree-optimization/100434] New: DSE fails to DSE aggregate LHS.

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100434 Bug ID: 100434 Summary: DSE fails to DSE aggregate LHS. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizatio

[Bug tree-optimization/100434] DSE fails to DSE aggregate LHS.

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100434 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Blocks|

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #7 from Liu Hao --- Does this affect other `-mtune=` values too? I am thinking about `--with-tune=ivybridge`.

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #8 from Eric Botcazou --- > Does this affect other `-mtune=` values too? I am thinking about > `--with-tune=ivybridge`. It's accidental, so only testing can give the answer.

[Bug target/100432] gcc arm compilation binary output is bigger with -Os than -O2

2021-05-05 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100432 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug preprocessor/100435] New: oddity in hash table use in libcpp

2021-05-05 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100435 Bug ID: 100435 Summary: oddity in hash table use in libcpp Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocess

[Bug tree-optimization/100417] False positive -Wmaybe-uninitalized with malloc.

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100417 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #9 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:dfd2c92f3f5d204619bd218aa72b162997690796 commit r12-517-gdfd2c92f3f5d204619bd218aa72b162997690796 Author: Eric Botcazou Date: We

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:dcb23f439f3cf5601fb8bf49889accd16f3b30a1 commit r11-8354-gdcb23f439f3cf5601fb8bf49889accd16f3b30a1 Author: Eric Botcazou

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #12 from CVS Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:bb283170e7a1f39bf533651418daf10ad18eccfc commit r12-518-gbb283170e7a1f39bf533651418daf10ad18eccfc Author: Stefan Sch

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:fcad2894215879b740dce74e72247b6efa326397 commit r11-8355-gfcad2894215879b740dce74e72247b6efa326397 Author:

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:a3a6a7f0dcd3e0775c700b4a06320ac911a2c5b5 commit r10-9801-ga3a6a7f0dcd3e0775c700b4a06320ac911a2c5b5 Author:

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #15 from CVS Commits --- The releases/gcc-9 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:d7bd91c7e059ee24bcf991d503bcd9856618a670 commit r9-9513-gd7bd91c7e059ee24bcf991d503bcd9856618a670 Author: St

[Bug rtl-optimization/100342] [10/11 Regression] wrong code with -O2 -fno-dse -fno-forward-propagate -mno-sse2

2021-05-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100342 --- Comment #12 from Jakub Jelinek --- Created attachment 50761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50761&action=edit gcc11-pr100342.patch Untested fix. But what do I know about regcprop?

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #16 from CVS Commits --- The releases/gcc-8 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:06d75273ff7bb7af72ae83abef858c079245b602 commit r8-10952-g06d75273ff7bb7af72ae83abef858c079245b602 Author: S

[Bug target/100402] [10.3 regression] crash with setjmp/longjmp and SEH

2021-05-05 Thread ssbssa at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100402 --- Comment #11 from Hannes Domani --- > Your testcase does not compile with the C compiler: > > Compiling it with the C++ compiler works for me: Sorry about the c/c++ confusion. > Created attachment 50754 [details] > Tentative fix > > Plea

[Bug target/97903] [ARM NEON] Missed optimization in lowering test operation

2021-05-05 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97903 --- Comment #2 from prathamesh3492 at gcc dot gnu.org --- Fixed in https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d9937da063e5847f45f7f1f7a02bed7dbc8fb2f6

[Bug libstdc++/100436] New: std::views::iota(0, true) is well-formed

2021-05-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100436 Bug ID: 100436 Summary: std::views::iota(0, true) is well-formed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc

[Bug libstdc++/100436] std::views::iota(0, true) is well-formed

2021-05-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100436 --- Comment #1 from 康桓瑋 --- Oh, I see, the reason is that std::ranges::__detail::__is_integer_like is set to false since gcc-11.

[Bug libstdc++/100429] threading support on windows. _GLIBCXX_HAS_GTHREADS macro is not 1 but libgcc is correct

2021-05-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100429 cqwrteur changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

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

[Bug c++/100423] Internal compiler error when evaluating a requires-expression referencing variables from outer scope in a function invocation.

2021-05-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100423 Patrick Palka changed: What|Removed |Added Last reconfirmed||2021-05-05 Status|UNCONFIRM

[Bug c++/100421] Internal compiler error when overload resolution fails for prospective destructors.

2021-05-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100421 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug c++/96745] [concepts] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

2021-05-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96745 Patrick Palka changed: What|Removed |Added CC||gcc_report_187375@mailfence

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 --- Comment #4 from Jens Maurer --- Thanks. My take-away from the discussion is that -Warray-bounds triggers when there might be a code path with bad behavior. Whether such a code path is detected depends very much on the details of optimizatio

[Bug middle-end/98503] [11/12 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/100325] missing warning with -O0 on sprintf overflow with pointer plus offset

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:2254b3233b5bfa690e8c6e6fa923e4626a6a93d3 commit r12-523-g2254b3233b5bfa690e8c6e6fa923e4626a6a93d3 Author: Martin Sebor Date: Wed

[Bug middle-end/100325] missing warning with -O0 on sprintf overflow with pointer plus offset

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug tree-optimization/85741] [meta-bug] bogus/missing -Wformat-overflow

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741 Bug 85741 depends on bug 100325, which changed state. Bug 100325 Summary: missing warning with -O0 on sprintf overflow with pointer plus offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 What|Removed |

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2021-05-05 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment #18

[Bug middle-end/98503] [11/12 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

2021-05-05 Thread w at 1wt dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 --- Comment #14 from Willy Tarreau --- (In reply to Martin Sebor from comment #13) > The patch was rejected so we'll have to live with a confusing warning. sadly it's not the first one and I don't count the number of bugs I have introduced in my

  1   2   >