[Bug analyzer/106573] Missing -Wanalyzer-use-of-uninitialized-value on calls handled by state machines

2022-08-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106573 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/106338] RISC-V static-chain register may be clobbered by PLT stubs

2022-08-09 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106338 --- Comment #6 from Kito Cheng --- My understanding is static chain is sort of compiler internal implementation, any register could be picked if that is not used for passing argument, so I would also prefer keep that out psABI spec for now. An

[Bug other/106575] New: new test case gcc.dg/fold-eqandshift-4.c fails

2022-08-09 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106575 Bug ID: 106575 Summary: new test case gcc.dg/fold-eqandshift-4.c fails Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: o

[Bug ipa/101839] [10/11/12/13 Regression] Hang in C++ code with -fdevirtualize

2022-08-09 Thread yinyuefengyi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101839 --- Comment #8 from Xionghu Luo (luoxhu at gcc dot gnu.org) --- The relationship is: A A::type | | | BA BA::type CACA::type | CBA CBA::type class CA and CBA are final, also function CA::type and BA::type are fin

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-08-09 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #14 from Petr Sumbera --- Sorry for late response. Unfortunatelly above patch dosen't make any difference. The problem is still there.

[Bug tree-optimization/106322] [12/13 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-08-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #37 from Kewen Lin --- (In reply to Andrew Pinski from comment #36) > You might need to do -O2 -fPIE -pie to reproduce the issue as debian is > configured with --enable-default-pie Thanks for the hint! I can reproduce this but it ne

[Bug tree-optimization/106322] [12/13 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-08-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #38 from Kewen Lin --- Created attachment 53428 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53428&action=edit untested patch A untested patch which can make it pass.

[Bug tree-optimization/106322] [12/13 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #39 from Andrew Pinski --- Comment on attachment 53428 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53428 untested patch >diff --git a/gcc/internal-fn.cc b/gcc/internal-fn.cc >index d666f67..7d8b4ac2200 100644 >--- a/gcc

[Bug other/106575] new test case gcc.dg/fold-eqandshift-4.c fails with its introduction in r13-2005-g6fc14f1963dfef

2022-08-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106575 --- Comment #1 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:c16d9f78dc81664e3341157c5a6efb85c0c141f4 commit r13-2009-gc16d9f78dc81664e3341157c5a6efb85c0c141f4 Author: Roger Sayle Date: Wed A

[Bug tree-optimization/106322] [12/13 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-08-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #40 from Kewen Lin --- > >diff --git a/gcc/internal-fn.cc b/gcc/internal-fn.cc > >index d666f67..7d8b4ac2200 100644 > >--- a/gcc/internal-fn.cc > >+++ b/gcc/internal-fn.cc > >@@ -3750,7 +3750,12 @@ static bool > > direct_optab_su

<    1   2