[Bug middle-end/104763] [12 Regression] Generate wrong assembly code

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104763 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-03-07 Ever confirmed|0

[Bug middle-end/104763] [12 Regression] Generate wrong assembly code

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104763 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/85803] [9/10/11/12 Regression] DSE removes live global store

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85803 --- Comment #9 from Richard Biener --- One possible mitigation would be to DFS walk the CFG to find the virtual operands "live" at CFG dead-ends (that includes endless loops, see PR104763) and handle those specially, requiring the ref_may_alias_g

[Bug middle-end/104763] [12 Regression] Generate wrong assembly code

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104763 --- Comment #7 from Richard Biener --- Note that the case of an endless loop is somewhat special since the store is dead there since there is no way to reach a load from that point with C standard methods. So one could also argue the optimizati

[Bug tree-optimization/104766] (a * even_cst) & CST does not remove the lower bit from the CST

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104766 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-03-07 Ever confirmed|0

[Bug target/104773] compare with 1 not merged with subtract 1

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104773 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-03-07 Ever confirmed|0

[Bug debug/104778] [12 Regression] ICE in simplify_subreg, at simplify-rtx.cc:7324

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104778 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/101929] [12 Regression] r12-7319 regress x264_r by 4% on CLX.

2022-03-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929 --- Comment #8 from Hongtao.liu --- (In reply to Richard Biener from comment #7) > diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc > index 9188d727e33..7f1f12fb6c6 100644 > --- a/gcc/tree-vect-slp.cc > +++ b/gcc/tree-vect-slp.cc > @@ -2

[Bug target/104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104781 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/104782] [12 regression] ICE: verify_gimple failed in slp (non-trivial conversion in ‘ssa_name’) with -msve-vector-bits=128 since r12-7359-g6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104782 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/104763] [12 Regression] Generate wrong assembly code

2022-03-07 Thread 570070308 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104763 --- Comment #8 from 。 <570070308 at qq dot com> --- (In reply to Richard Biener from comment #7) > Note that the case of an endless loop is somewhat special since the store > is dead there since there is no way to reach a load from that point wit

[Bug target/104779] [12 Regression] ICE: in extract_insn, at recog.cc:2769 (error: unrecognizable insn)

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104779 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3bd11f791e08a5676f176d632c729d147f12dcaa commit r12-7509-g3bd11f791e08a5676f176d632c729d147f12dcaa Author: Jakub Jelinek Date: M

[Bug target/104779] [12 Regression] ICE: in extract_insn, at recog.cc:2769 (error: unrecognizable insn)

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

[Bug middle-end/104800] reodering of potentially trapping operations and volatile stores

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #6 from Richard Biener --- Generally GCCs middle-end considers volatile stores (or loads) to not have any side-effects that are not visible in the IL. That includes (synchronous) raise of signals (and thus effects on control flow),

[Bug c++/104806] Weird error message: did you mean "__dt "

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104806 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-03-07 Status|UNCONFIR

[Bug libstdc++/104807] [12 Regression] x86_64-w64-mingw32 target does not have visibility setting

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104807 Richard Biener changed: What|Removed |Added Summary|x86_64-w64-mingw32 target |[12 Regression] |doe

[Bug target/101929] [12 Regression] r12-7319 regress x264_r by 4% on CLX.

2022-03-07 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929 --- Comment #9 from rguenther at suse dot de --- On Mon, 7 Mar 2022, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929 > > --- Comment #8 from Hongtao.liu --- > (In reply to Richard Biener from comment #7)

[Bug middle-end/104763] [12 Regression] Generate wrong assembly code

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

[Bug ipa/104813] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in adjust_references_in_caller, at ipa-cp.cc:4963

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104813 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Summary|ICE on valid c

[Bug target/99297] wrong diagnostic style in rx.c

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99297 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:024bdd2262c60f35cde8c860040d6d0cbb5c7b6e commit r12-7510-g024bdd2262c60f35cde8c860040d6d0cbb5c7b6e Author: Martin Liska Date: Mon

[Bug target/99297] wrong diagnostic style in rx.c

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99297 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 Bug 40883 depends on bug 99297, which changed state. Bug 99297 Summary: wrong diagnostic style in rx.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99297 What|Removed |Added -

[Bug translation/90148] Closing quote in wrong position in plugin.c

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90148 --- Comment #9 from Martin Liška --- (In reply to Roland Illig from comment #2) > From m68k.c: > > error ("%<-mpcrel%> %<-fPIC%> is not currently supported on selected > cpu"); What's bad about this, these are 2 options where we want to quo

[Bug rtl-optimization/104814] New: [10/11/12 Regression] ifcvt: Deleting live variable in IF-CASE-2

2022-03-07 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104814 Bug ID: 104814 Summary: [10/11/12 Regression] ifcvt: Deleting live variable in IF-CASE-2 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug rtl-optimization/104814] [10/11/12 Regression] ifcvt: Deleting live variable in IF-CASE-2

2022-03-07 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104814 --- Comment #1 from Stefan Schulze Frielinghaus --- Created attachment 52571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52571&action=edit dump combine

[Bug translation/90148] Closing quote in wrong position in plugin.c

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90148 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:d73ae7a72a9bcac6a8b031cd902630eaeddf577e commit r12-7511-gd73ae7a72a9bcac6a8b031cd902630eaeddf577e Author: Martin Liska Date: Mon

[Bug translation/90148] Closing quote in wrong position in plugin.c

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90148 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 Bug 40883 depends on bug 90148, which changed state. Bug 90148 Summary: Closing quote in wrong position in plugin.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90148 What|Removed |Added

[Bug c++/104806] Weird error message: did you mean "__dt "

2022-03-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104806 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/104814] [10/11/12 Regression] ifcvt: Deleting live variable in IF-CASE-2

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104814 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4

[Bug translation/90148] Closing quote in wrong position in plugin.c

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

[Bug translation/90148] Closing quote in wrong position in plugin.c

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90148 --- Comment #13 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:93ecb25cc63f92d12821f8e5186bf165a4f54ab3 commit r12-7512-g93ecb25cc63f92d12821f8e5186bf165a4f54ab3 Author: Martin Liska Date: Mon

[Bug target/104775] [9/10/11/12 Regression] Failure to assemble on s390x with -fsanitize=undefined

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104775 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2472dcaa8cb9e02e902f83d419c3ee7e0f3d9041 commit r12-7513-g2472dcaa8cb9e02e902f83d419c3ee7e0f3d9041 Author: Jakub Jelinek Date: M

[Bug target/104775] [9/10/11 Regression] Failure to assemble on s390x with -fsanitize=undefined

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

[Bug target/104815] New: [nvptx] Use bitbucket operand when REG_UNUSED

2022-03-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104815 Bug ID: 104815 Summary: [nvptx] Use bitbucket operand when REG_UNUSED Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Componen

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #6 from Martin Liška --- (In reply to Roland Illig from comment #1) > From arm-builtins.cc: > > "the range of count should be in 0 to 32; > > please check the intrinsic %<_mm_rori_pi16%> in code" > > While here, please double-check

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/104813] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in adjust_references_in_caller, at ipa-cp.cc:4963 since r12-2523-g13586172d0b70c9d

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104813 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE on |[12 Regression] ICE on

[Bug target/104796] ABI change is not mentioned in HTML changelog

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104796 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-03-07 Assignee|unassigned

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:cfb46c944e8a05653c7eedd79116dae9ce7ad91c commit r12-7514-gcfb46c944e8a05653c7eedd79116dae9ce7ad91c Author: Martin Liska Date: Mon

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:fcc48d2ed6b621f7d0c141afed81a4922c056039 commit r12-7515-gfcc48d2ed6b621f7d0c141afed81a4922c056039 Author: Martin Liska Date: Mon

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/104795] inconsistent wording in diagnostics

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104795 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-03-07 Ever confirmed|0

[Bug target/104795] inconsistent wording in diagnostics

2022-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104795 --- Comment #2 from Jonathan Wakely --- It's still there, but split across two lines: ../gcc/config/i386/i386-options.cc: error ("%<-mpreferred-stack-boundary%> is not supported "

[Bug target/104796] ABI change is not mentioned in HTML changelog

2022-03-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104796 --- Comment #2 from Jakub Jelinek --- I was waiting if some other target also decides about what to do for PR102024 (that is why that P1 is still open). Because right now it is an ABI change on many targets and it would be nice not to change the

[Bug target/104797] too many parentheses in diagnostic for __delay_cycles

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104797 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:40c1d4a07e5798c01e4364336c9617550744861d commit r12-7516-g40c1d4a07e5798c01e4364336c9617550744861d Author: Martin Liska Date: Mon

[Bug target/104797] too many parentheses in diagnostic for __delay_cycles

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104797 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 Bug 40883 depends on bug 104797, which changed state. Bug 104797 Summary: too many parentheses in diagnostic for __delay_cycles https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104797 What|Removed |Added ---

[Bug c++/104792] Wunused-local-typedefs with typedef/type alias defined in struct that is defined in a function scope

2022-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104792 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/61596] -Wunused-local-typedefs warns incorrectly on a typedef that's referenced indirectly

2022-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61596 Jonathan Wakely changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug c++/104809] Explain ELRoND to translators

2022-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104809 --- Comment #2 from Jonathan Wakely --- (In reply to Roland Illig from comment #0) > From cp/module.cc: > > not Encapsulated Lazy Records of Named Declarations > > Is this message trying to be funny? Yes. The ELROND format is a pun related to

[Bug tree-optimization/104789] [12 Regression] New -Wstringop-overflow false positive since r12-5863-g9354a7d70caef1c9

2022-03-07 Thread rverschelde at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 Rémi Verschelde changed: What|Removed |Added CC||rverschelde at gmail dot com --- Comm

[Bug tree-optimization/85803] [9/10/11/12 Regression] DSE removes live global store

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85803 --- Comment #10 from Richard Biener --- Created attachment 52573 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52573&action=edit prototype patch The testcase in the description isn't very good, it instead relies on traps being observable

[Bug tree-optimization/104782] [12 regression] ICE: verify_gimple failed in slp (non-trivial conversion in ‘ssa_name’) with -msve-vector-bits=128 since r12-7359-g6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104782 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:5db1d7f143c77543ae7a6c4649af3e611061e0d9 commit r12-7517-g5db1d7f143c77543ae7a6c4649af3e611061e0d9 Author: Richard Biener Date:

[Bug libstdc++/104807] [12 Regression] x86_64-w64-mingw32 target does not have visibility setting

2022-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104807 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/104782] [12 regression] ICE: verify_gimple failed in slp (non-trivial conversion in ‘ssa_name’) with -msve-vector-bits=128 since r12-7359-g6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104782 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Blocks|

[Bug tree-optimization/101636] [11 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 Bug 101636 depends on bug 104782, which changed state. Bug 104782 Summary: [12 regression] ICE: verify_gimple failed in slp (non-trivial conversion in ‘ssa_name’) with -msve-vector-bits=128 since r12-7359-g6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb

[Bug c/104816] New: -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread joao at overdrivepizza dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 Bug ID: 104816 Summary: -fcf-protection=branch should generate endbr instead of notrack jumps Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug c++/104788] ICE in stmts_are_full_exprs_p

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104788 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | CC|

[Bug tree-optimization/104789] [12 Regression] New -Wstringop-overflow false positive since r12-5863-g9354a7d70caef1c9

2022-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 --- Comment #5 from Andrew Pinski --- (In reply to Rémi Verschelde from comment #4) > I'm not familiar with the term "bounded roo". I reduced the test case as > much as I could to focus on the minimal code that would trigger the warning > which

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread joao at overdrivepizza dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #1 from Joao Moreira --- quick reproducer, just in case: https://godbolt.org/z/EaG3rhrnj

[Bug target/104817] New: mips: ICE with -fzero-call-used-regs=all

2022-03-07 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817 Bug ID: 104817 Summary: mips: ICE with -fzero-call-used-regs=all Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/104817] mips: ICE with -fzero-call-used-regs=all

2022-03-07 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817 --- Comment #1 from Xi Ruoyao --- Not sure if this is an regression: it triggers another ICE with 11.2.0.

[Bug target/104817] mips: ICE with -fzero-call-used-regs=all

2022-03-07 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817 Xi Ruoyao changed: What|Removed |Added Target||mips64 Known to fail|

[Bug tree-optimization/104789] [12 Regression] New -Wstringop-overflow false positive since r12-5863-g9354a7d70caef1c9

2022-03-07 Thread rverschelde at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 --- Comment #6 from Rémi Verschelde --- Indeed if the warning was reworded to make it clear that it's a risk and not a certainty would solve this. Both the reduced test case and the original code are both risky: `components` is an `uint32_t` th

[Bug tree-optimization/98335] [9/10/11/12 Regression] Poor code generation for partial struct initialization

2022-03-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98335 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c++/96329] [11/12 Regression] ICE : tree check: expected string_cst, have error_mark in cp_parser_linkage_specification, at cp/parser.c:14640

2022-03-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96329 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/96437] [10/11/12 Regression] ICE in tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in synthesize_implicit_template_parm, at cp/parser.c:44246

2022-03-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96437 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/96440] [9/10/11/12 Regression] ICE in tree check: expected tree_list, have error_mark in get_attribute_name, at attribs.c:841

2022-03-07 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96440 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c++/104803] if consteval error from branch that isn't evaluated anyway

2022-03-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104803 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/104798] Regression: [[gnu::always_inline]] ignored on lambda, no warning emitted

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104798 Martin Liška changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:b1d8198e7df616ea80cb648a2c831e2c21f4319f commit r12-7518-gb1d8198e7df616ea80cb648a2c831e2c21f4319f Author: Martin Liska Date: Mo

[Bug target/104818] Duplicate word "version" in option -mptx description

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

[Bug fortran/104819] New: Reject NULL without MOLD as actual to an assumed-rank dummy

2022-03-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 Bug ID: 104819 Summary: Reject NULL without MOLD as actual to an assumed-rank dummy Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: accepts-invalid

[Bug target/104818] New: Duplicate word "version" in option -mptx description

2022-03-07 Thread goeran at uddeborg dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104818 Bug ID: 104818 Summary: Duplicate word "version" in option -mptx description Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/104789] [12 Regression] New -Wstringop-overflow false positive since r12-5863-g9354a7d70caef1c9

2022-03-07 Thread rverschelde at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 --- Comment #7 from Rémi Verschelde --- Took me a while, but I was able to make a proper reduced testcase by cutting down the Godot case to the very minimal. It's a bit convoluted (and the code doesn't make any sense anymore), but the complexit

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Severity|normal

[Bug fortran/104696] [OpenMP] Implicit mapping breaks struct mapping

2022-03-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104696 --- Comment #2 from Tobias Burnus --- (In reply to Tobias Burnus from comment #1) > Namely: > test.c-- > struct s { int *d; }; It makes more sense to use 'int d;' to match Fortran. Doing so yields in the gimple dump: #

[Bug ipa/104813] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in adjust_references_in_caller, at ipa-cp.cc:4963 since r12-2523-g13586172d0b70c9d

2022-03-07 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104813 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/104820] New: mips: ICE in int_mode_for_mode, at stor-layout.cc:407 with -fzero-call-used-regs=all -mips4

2022-03-07 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820 Bug ID: 104820 Summary: mips: ICE in int_mode_for_mode, at stor-layout.cc:407 with -fzero-call-used-regs=all -mips4 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #4 from Andrew Cooper --- I've worked around this in Xen with: https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=9d4a44380d273de22d5753883cbf5581795ff24d and https://lore.kernel.org/lkml/yixpv0q88paph...@hirez.programming.kic

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #5 from H.J. Lu --- (In reply to Andrew Cooper from comment #4) > I've worked around this in Xen with: > https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff; > h=9d4a44380d273de22d5753883cbf5581795ff24d and > https://lore.kernel.

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #6 from peterz at infradead dot org --- (In reply to H.J. Lu from comment #5) > (In reply to Andrew Cooper from comment #4) > > I've worked around this in Xen with: > > https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff; > > h=9d4

[Bug target/104815] [nvptx] Use bitbucket operand when REG_UNUSED

2022-03-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104815 --- Comment #1 from Tom de Vries --- With the tentative patch, I'm running into: ... ptxas 2224-1.o, line 72; error : Result discard mode is not allowed for instruction 'ld' nvptx-as: ptxas terminated with signal 11 [Segmentation fault], c

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #7 from Andrew Cooper --- (In reply to H.J. Lu from comment #5) > Are you suggesting to add an option to generate jump table with ENDBR? Jump tables are a legitimate optimisation. NOTRACK is a weakness in CET protections, and fully

[Bug rtl-optimization/104814] [10/11/12 Regression] ifcvt: Deleting live variable in IF-CASE-2

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

[Bug middle-end/104381] [12 Regression] -gtoggle no longer applied when using optimize attribute since r12-4608-gb4702276615ff8d4

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104381 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:111754595cf8d3a8ae7063a42ac4cea18a304711 commit r12-7521-g111754595cf8d3a8ae7063a42ac4cea18a304711 Author: Martin Liska Date: Fri

[Bug middle-end/104381] [12 Regression] -gtoggle no longer applied when using optimize attribute since r12-4608-gb4702276615ff8d4

2022-03-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104381 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/104821] New: RFE: consolidate analyzer leak diagnostics by considering indirect vs direct leaks

2022-03-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104821 Bug ID: 104821 Summary: RFE: consolidate analyzer leak diagnostics by considering indirect vs direct leaks Product: gcc Version: 12.0 Status: UNCONFIRMED Sever

[Bug c++/104803] if consteval error from branch that isn't evaluated anyway

2022-03-07 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104803 --- Comment #6 from Barry Revzin --- Ugh, sorry. You guys are right. gcc is correct to reject the example. Bad bug report.

[Bug analyzer/104821] RFE: consolidate analyzer leak diagnostics by considering indirect vs direct leaks

2022-03-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104821 --- Comment #1 from David Malcolm --- Example: https://godbolt.org/z/afvEd99qn #include struct s { void *m_a; void *m_b; void *m_c; }; struct s * make_s (size_t sz_a, size_t sz_b, size_t sz_c) { struct s *result = calloc (1, sizeof

[Bug analyzer/104821] RFE: consolidate analyzer leak diagnostics by considering indirect vs direct leaks

2022-03-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104821 --- Comment #2 from David Malcolm --- (In reply to David Malcolm from comment #1) Copy&paste error: result->m_b = malloc (sz_c); should have been: result->m_c = malloc (sz_c);

[Bug c/104822] New: -Wscalar-storage-order warning for initialization from NULL seems useless

2022-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104822 Bug ID: 104822 Summary: -Wscalar-storage-order warning for initialization from NULL seems useless Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diag

[Bug libstdc++/104807] [12 Regression] x86_64-w64-mingw32 target does not have visibility setting

2022-03-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104807 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4cb935cb69f12088975fa7f6907c6ace0580e2dd commit r12-7522-g4cb935cb69f12088975fa7f6907c6ace0580e2dd Author: Jonathan Wakely Date:

[Bug c++/104803] if consteval error from branch that isn't evaluated anyway

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

[Bug debug/104778] [12 Regression] ICE in simplify_subreg, at simplify-rtx.cc:7324

2022-03-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104778 --- Comment #1 from Jakub Jelinek --- Can't reproduce at least with current trunk, both with gcc configured for powerpc64-linux-gnu and additional -m32, or in a cross to powerpc-e300c3-linux-gnu with the given options.

[Bug fortran/104812] Construct-name with same variable name in scope

2022-03-07 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104812 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug rtl-optimization/104198] [12 regression] ifcvt change breaks 64-bit SPARC bootstrap

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

[Bug c++/104823] New: [12 Regression] narrowing conversion inside non-dependent decltype operand silently accepted ever since r12-6075

2022-03-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104823 Bug ID: 104823 Summary: [12 Regression] narrowing conversion inside non-dependent decltype operand silently accepted ever since r12-6075 Product: gcc Version: 12

  1   2   >