[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

[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 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/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/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/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/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/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/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/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 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 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 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 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/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 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 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 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 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 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 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 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 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 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/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/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 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 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 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 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 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 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 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 #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 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 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 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 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 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 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 libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2022-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #7 from Rainer Orth --- EWRONGPATCH? I'll give it a whirl on both 11.3 and 11.4 then.

[Bug target/102953] Improvements to CET-IBT and ENDBR generation

2022-02-23 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #25 from Andrew Cooper --- (In reply to H.J. Lu from comment #24) > (In reply to Andrew Cooper from comment #23) > > Apologies for the delay, but I do now have a working prototype of Xen with > > CET-IBT active, using the current ver

[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 --- Comment #1 from Andrew Pinski --- (In reply to krzysio.kurek from comment #0) > Compiled with `-std=c++20` > Past stable releases of GCC report "confused by earlier errors, bailing out" > without crashing instead. Right. That means it was a

[Bug target/95082] LE implementations of vec_cnttz_lsbb and vec_cntlz_lsbb are wrong

2022-02-23 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95082 Bill Schmidt changed: What|Removed |Added Known to fail|11.0| Summary|[11] LE implementatio

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

2022-02-23 Thread krzysio.kurek at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104670 Bug ID: 104670 Summary: ICE when using decltype of a lambda returning a struct inside of a struct Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

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

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104669 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug c++/104668] [12 Regression] ICE in lookup_attribute_spec, at attribs.cc:425

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104668 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c/89408] No constant folding when dereferencing string literals

2022-02-23 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #6 from joseph at codesourcery dot com --- Case labels are required to be integer constant expressions. In most cases where an integer constant expression is required, something that isn't an integer constant expression but folds t

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASS

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:251061b82852bdebc6f13510b415ecb73a2f80ae commit r10-10474-g251061b82852bdebc6f13510b415ecb73a2f80ae Author: Harald Anlauf

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d86949f5f55dbe0eb6f3044366101605882cd58e commit r11-9618-gd86949f5f55dbe0eb6f3044366101605882cd58e Author: Harald Anlauf

[Bug tree-optimization/104515] [11/12 Regression] trivially-destructible destructors interfere with loop optimization - maybe related to lifetime-dse.

2022-02-23 Thread gcc at rabensky dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515 --- Comment #4 from GBE --- The commit that make this issue affect "basic types" as well: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=e443d821386

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

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

[Bug target/102976] MMA test case emits wrong code when building a vector pair

2022-02-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102976 Peter Bergner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[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 --- Comment #1 from Andrew Pinski --- My bet is this is because the vectorizer is enabled now at -O2.

[Bug c++/104667] [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299

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

[Bug c++/104667] [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104667 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-02-23 CC|

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

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104669 Bug ID: 104669 Summary: [11/12 Regression] ICE in is_function_default_version, at attribs.cc:1219 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug c++/104668] New: [12 Regression] ICE in lookup_attribute_spec, at attribs.cc:425

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104668 Bug ID: 104668 Summary: [12 Regression] ICE in lookup_attribute_spec, at attribs.cc:425 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104667] New: [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104667 Bug ID: 104667 Summary: [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: n

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

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 Bug ID: 104666 Summary: [12 Regression] ICE in related_vector_mode, at stor-layout.c:537 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

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

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #27 from Martin Sebor --- *** Bug 104655 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c++/79493] Bad diagnostic when referring to inner type that does not exist

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79493 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/79493] Bad diagnostic when referring to inner type that does not exist

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79493 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:cdcea7c1ef6586bb1eb0144b741969748cbd780b commit r12-7363-gcdcea7c1ef6586bb1eb0144b741969748cbd780b Author: Marek Polacek Date: Wed

[Bug c++/70077] noexcept, inheriting constructors and the invalid use of an incomplete type that is actually complete

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70077 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70077] noexcept, inheriting constructors and the invalid use of an incomplete type that is actually complete

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70077 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9675ecf7f9b340f93c68cf22280f5975a902 commit r12-7362-g9675ecf7f9b340f93c68cf22280f5975a902 Author: Marek Polacek Date: Wed

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

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

[Bug c/89408] No constant folding when dereferencing string literals

2022-02-23 Thread srk31 at srcf dot ucam.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Stephen Kell changed: What|Removed |Added CC||srk31 at srcf dot ucam.org --- Comment #5

[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 Nicholas Piggin changed: What|Removed |Added CC||npiggin at gmail dot com --- Comment

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

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #26 from Jakub Jelinek --- (In reply to Martin Sebor from comment #25) > In my opinion, code that deliberately uses invalid pointers (e.g., hardwired > addresses) should be explicitly annotated, e.g., by some attribute. This > approa

[Bug go/101246] gccgo cross-compiler targeting arm fails to build with gcc 11. Missing structs in runtime.inc. Using uclibc-ng

2022-02-23 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101246 --- Comment #7 from Lance Fredrickson --- So this is the patch I'm using to build gccgo for uclibc arm. https://raw.githubusercontent.com/lancethepants/tomatoware/master/patches/gcc/0006-fix-libgo-uclibc-ng.patch In a seperate discussion you m

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

2022-02-23 Thread monad at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104665 --- Comment #2 from monad at posteo dot net --- The full code including headers is: #include #include #include void serialize_le(std::byte* __restrict dst, const std::uint32_t* __restrict src) { for (int i = 0; i < 32; ++i, ++src) {

[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 #6 from Jonathan Wakely --- This fixes the abi check FAIL on Solaris 11.3, I don't have access to 11.4 to try it.

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

2022-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104665 --- Comment #1 from Jonathan Wakely --- Please include the full code here, including the #include directives. Not just a link to godbolt.org.

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

2022-02-23 Thread monad at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104665 Bug ID: 104665 Summary: Failure to recognize memcpy Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

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

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #25 from Martin Sebor --- (In reply to Jakub Jelinek from comment #24) > (In reply to Martin Sebor from comment #1) > > The warning is by design. > > That just means the design is bad. Especially in the embedded world, using > memor

[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 #5 from Jonathan Wakely --- Created attachment 52501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52501&action=edit Patch to fix abi-check on Solaris 11.3 This patch changes the version of the std::from_chars symbols from G

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

2022-02-23 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #13 from Chengnian Sun --- (In reply to Jakub Jelinek from comment #10) > Because -fcompare-debug tells the driver to compile the TU twice, once > without and once with -gtoggle, and compare the result. > So, if there is a difference

[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 #4 from Jonathan Wakely --- Rainer, is an executable linked against libstdc++.so.6.0.29 on Solaris 11.3 expected to work on an 11.4 machine with libstdc++.so.6.0.30? With a #ifdef kluge in config/abi/pre/gnu.ver we can make the new

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

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

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

2022-02-23 Thread zsojka at seznam dot cz via Gcc-bugs
dcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-7361-20220223135143-gfdc46830f1b-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220223 (experimental) (GCC)

[Bug tree-optimization/103037] [11/12 Regression] Wrong code with -O2 since r11-6100-gd41b097350d3c5d0

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103037 --- Comment #8 from Richard Biener --- More reduced testcase - the min() obfuscation is to avoid recognizing a MIN_EXPR before jump threading gets the chance to disrupt it. A GIMPLE unit testcase for PRE is difficult since we are not supporting

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

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 --- Comment #10 from Jakub Jelinek --- But: --- gcc/tree-ssa-sccvn.cc.jj2022-02-11 00:19:22.432063254 +0100 +++ gcc/tree-ssa-sccvn.cc 2022-02-23 16:16:25.873557626 +0100 @@ -5218,7 +5218,11 @@ visit_reference_op_call (tree lhs, gcall

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

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 --- Comment #9 from Jakub Jelinek --- But --- gcc/tree-ssa-sccvn.cc.jj2022-02-11 00:19:22.432063254 +0100 +++ gcc/tree-ssa-sccvn.cc 2022-02-23 16:07:36.697893998 +0100 @@ -5218,7 +5218,11 @@ visit_reference_op_call (tree lhs, gcall

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

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

[Bug target/103926] "wQ" broken

2022-02-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103926 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2022-02-23 Status|UNCO

[Bug middle-end/81889] [7 Regression] bogus warnings with -Wmaybe-uninitialized -O3

2022-02-23 Thread jasonadamses at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 Jason Adams changed: What|Removed |Added CC||jasonadamses at protonmail dot com --- Co

[Bug rtl-optimization/104663] New: A 50% C-Ray regression in GCC 12.0 for ADL at -O2

2022-02-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104663 Bug ID: 104663 Summary: A 50% C-Ray regression in GCC 12.0 for ADL at -O2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[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 #2 from David Malcolm --- On rereading https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html I think that "pure" isn't strong enough for the above example: the result of a pure function is allowed to change between inv

[Bug go/104660] Makefile.in has embedded dependencies of libatomic and libbacktrace for libgo, causing GNU/Hurd build to fail.

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104660 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ian at airs dot com

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

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

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fdc46830f1b793dc791099acfadc3f0f8cc24c0e commit r12-7361-gfdc46830f1b793dc791099acfadc3f0f8cc24c0e Author: Richard Biener Date:

[Bug target/104662] New: arm: ice in simd_valid_immediate

2022-02-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104662 Bug ID: 104662 Summary: arm: ice in simd_valid_immediate Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/104656] [12 Regression] trunk 20220222 ftbfs for bpf

2022-02-23 Thread jose.marchesi at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656 Jose E. Marchesi changed: What|Removed |Added CC||jose.marchesi at oracle dot com ---

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

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

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

2022-02-23 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104661 Bug ID: 104661 Summary: Catching exception by const value when exception-object has lvalue-reference constructor Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 --- Comment #7 from Paul Menzel --- Thank you for the analysis. Excuse my ignorance, but the referenced bug (possible dup) says it’s a regression in GCC 11, but it does not show up here with GCC 11. Are more issues tracked in bug 99578?

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 --- Comment #6 from Andrew Pinski --- (In reply to Paul Menzel from comment #5) > Created attachment 52498 [details] > Preprocessed file `build/bootblock/cpu/x86/lapic/lapic.i` with `-save-temps` > > Sorry for not sharing the file in the first

[Bug c/104633] [12 Regression] -Winfinite-recursion diagnoses fortify wrappers

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

  1   2   >