[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 H.J. Lu changed: What|Removed |Added Last reconfirmed||2022-02-23 Status|UNCONFIRMED

[Bug analyzer/104434] Analyzer doesn't know about "pure" and "const" functions

2022-02-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104434 --- Comment #3 from David Malcolm --- OpenBLAS issue filed as https://github.com/xianyi/OpenBLAS/issues/3543 suggesting the use of __attribute__((const)) on LAPACKE_lsame.

[Bug c++/104670] ICE when using decltype of a lambda returning a struct inside of a struct

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104670 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-02-23 Status|UNCONFIRM

[Bug tree-optimization/102232] Missed arithmetic fold

2022-02-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/68350] std::uninitialized_copy overly restrictive for trivially_copyable types

2022-02-23 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68350 Barry Revzin changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comment

[Bug c++/104669] [11/12 Regression] ICE in is_function_default_version, at attribs.cc:1219

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104669 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code,

[Bug tree-optimization/104657] array subscript 0 is outside array bounds

2022-02-23 Thread christophm30 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 --- Comment #4 from Christoph Müllner --- Thanks for mentioning the volatile pointer method. However, the pragma-solution results in better code (fewer instructions and does not require a valid stack pointer). I've used the code below to see wh

[Bug fortran/84519] [F2018] STOP and ERROR STOP statements with QUIET specifier

2022-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84519 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.

[Bug tree-optimization/104657] array subscript 0 is outside array bounds

2022-02-23 Thread christophm30 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 --- Comment #5 from Christoph Müllner --- Creating hard-wired object references might be a solution, but there is a lot of existing code out there, that would need to be patched (including all the hassle with support for old and new compilers).

[Bug tree-optimization/104665] Failure to recognize memcpy

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104665 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/104664] ICE: in extract_constrain_insn, at recog.cc:2670 (insn does not satisfy its constraints) with -Og -ffinite-math-only

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104664 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-02-23 Ever confirmed|0

[Bug c++/104661] [C++17+] Catching exception by const value when exception-object has lvalue-reference constructor

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104661 Andrew Pinski changed: What|Removed |Added Summary|Catching exception by const |[C++17+] Catching exception

[Bug c++/104661] [C++17+] Catching exception by const value when exception-object has lvalue-reference constructor

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104661 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug testsuite/102719] [12 regression] several failures after r12-4337

2022-02-23 Thread pc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102719 pc at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/104256] ICE in validate_condition_mode, at config/rs6000/rs6000.cc:11354

2022-02-23 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104256 Michael Meissner changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNE

[Bug target/104335] [12 regression] build failure if go is included in languages after r12-6747

2022-02-23 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104335 Michael Meissner changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment

[Bug target/104663] A 50% C-Ray regression in GCC 12.0 for ADL at -O2

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104663 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu Keywords|

[Bug target/104663] [12 Regression] C-ray 1.1 performance is 50% worse at -O2 in GCC 12 than before on alderlake

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104663 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug analyzer/104434] Analyzer doesn't know about "pure" and "const" functions

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104434 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:aee1adf2cdc1cf4e116e5c05b6e7c92b0fbb264b commit r12-7364-gaee1adf2cdc1cf4e116e5c05b6e7c92b0fbb264b Author: David Malcolm Date: W

[Bug analyzer/104434] Analyzer doesn't know about "pure" and "const" functions

2022-02-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104434 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/98202] C++ cannot parse F128 suffix for float128 literals

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98202 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug preprocessor/104640] incomplete unicode support for User-defined literals

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104640 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-02-24 Status|UNCONFIRM

[Bug target/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2022-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug c++/104642] Add __builtin_trap() for missing return at -O0

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

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2022-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #8 from Jonathan Wakely --- Oh dear, yes, wrong patch. I'll attach the right one in a few hours.

[Bug target/102485] -Wa,-many no longer has any effect

2022-02-23 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 --- Comment #8 from Nicholas Piggin --- (In reply to Segher Boessenkool from comment #7) > > GCC already passes -m to the assembler though. > > That mostly is historic. So? I was pointing out the compiler already tells the assembler what instr

[Bug target/102485] -Wa,-many no longer has any effect

2022-02-23 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 --- Comment #9 from Nicholas Piggin --- And upstream gas still doesn't even warn with -many!!

[Bug target/104666] [12 Regression] ICE in related_vector_mode, at stor-layout.c:537

2022-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug c/104671] New: -Wa,-m no longer has any effect

2022-02-23 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104671 Bug ID: 104671 Summary: -Wa,-m no longer has any effect Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug c/104671] -Wa,-m no longer has any effect

2022-02-23 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104671 --- Comment #1 from Nicholas Piggin --- The comment in recent binutils.git commit cebc89b9328 sheds some more light on this and possibly provides a workaround in binutils for the errant .machine directive. The referenced gcc bug #101393 looks l

[Bug target/104671] -Wa,-m no longer has any effect

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104671 --- Comment #2 from Andrew Pinski --- (In reply to Nicholas Piggin from comment #1) > The comment in recent binutils.git commit cebc89b9328 sheds some more light > on this and possibly provides a workaround in binutils for the errant > .machine

[Bug target/104666] [12 Regression] ICE in related_vector_mode, at stor-layout.c:537

2022-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 --- Comment #2 from Hongtao.liu --- So builtins are registered in the beginning, but isa checking is during pass_expand, and gimple folding is between them, maybe we should restrict builtin gimple folding under their required target.

[Bug target/101323] ICE: Segmentation fault signal terminated program cc1

2022-02-23 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101323 Arseny Solokha changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-02-23 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 --- Comment #6 from Arseny Solokha --- *** Bug 101323 has been marked as a duplicate of this bug. ***

[Bug target/104663] [12 Regression] C-ray 1.1 performance is 50% worse at -O2 in GCC 12 than before on alderlake

2022-02-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104663 --- Comment #3 from Artem S. Tashkinov --- Also -O3 is 50% faster which sounds unreasonable. -O2 with GCC12 is 75% slower than -O3 for GCC 11.

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #10 from Hongtao.liu --- (In reply to H.J. Lu from comment #9) > ix86_gen_scratch_sse_rtx was added to prevent combine from changing > store of vector registers with constant value to store of constant > value. You can change ix86_g

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #11 from H.J. Lu --- Don't worry about vzeroupper. It's ok to have vzeroupper.

[Bug target/104666] [12 Regression] ICE in related_vector_mode, at stor-layout.c:537

2022-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 --- Comment #3 from Hongtao.liu --- (In reply to Hongtao.liu from comment #2) > So builtins are registered in the beginning, but isa checking is during > pass_expand, and gimple folding is between them, maybe we should restrict > builtin gimple

[Bug target/104666] [12 Regression] ICE in related_vector_mode, at stor-layout.c:537

2022-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 --- Comment #4 from Hongtao.liu --- Same ICE exists for __builtin_ia32_blendvpd __builtin_ia32_blendvps __builtin_ia32_blendvpd256 __builtin_ia32_blendvps256 __builtin_ia32_pblendvb128 __builtin_ia32_pblenddvb256

[Bug c++/104672] New: C++ frontend failing when function pointer argument types contain a parameter pack

2022-02-23 Thread eliphat at sjtu dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104672 Bug ID: 104672 Summary: C++ frontend failing when function pointer argument types contain a parameter pack Product: gcc Version: 11.2.1 Status: UNCONFIRMED Sev

<    1   2