[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|Wrong code with -O

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #2 from Andrew Pinski --- Here is a slightly more reduced testcase (without the reasonable values): static inline const unsigned &max1(const unsigned &t, const unsigned &t1) { return t > t1 ? t : t1; } extern int var_20, var_22;

[Bug target/100799] Stackoverflow in optimized code on PPC

2021-10-05 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 --- Comment #5 from Peter Bergner --- So I took dgebal.f and ran delta on it to try and reduce it to something manageable (I wish creduce worked on fortran files!) and got the following which still shows us accessing above the stack. SUBR

[Bug target/101104] test case gcc.c-torture/execute/ieee/cdivchkld.c fails

2021-10-05 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101104 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/94853] [10/11/12 regression] excess errors in gfortran.dg/analyzer/pr93993.f90 since r10-8012

2021-10-05 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94853 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment #

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

2021-10-05 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 --- Comment #4 from Peter Bergner --- (In reply to Segher Boessenkool from comment #3) > (In reply to Paul Clarke from comment #2) > > "-many" is supposed to make those black boxes just work. This worked before > > recent changes to binutils/GC

[Bug tree-optimization/102359] ICE gimplification failed since r12-3433-ga25e0b5e6ac8a77a

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102359 --- Comment #3 from CVS Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:433516e1c6b1f8eeceeceb83cec5ea02a14065dc commit r12-4200-g433516e1c6b1f8eeceeceb83cec5ea02a14065dc Author: qing zhao Date: Tue Oct 5

[Bug tree-optimization/102359] ICE gimplification failed since r12-3433-ga25e0b5e6ac8a77a

2021-10-05 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102359 qinzhao at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Andrew Pinski changed: What|Removed |Added Known to work||11.2.0 --- Comment #3 from Andrew Pinsk

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

2021-10-05 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 --- Comment #5 from Segher Boessenkool --- (In reply to Peter Bergner from comment #4) > (In reply to Segher Boessenkool from comment #3) > > (In reply to Paul Clarke from comment #2) > > > "-many" is supposed to make those black boxes just work

[Bug target/102625] New: [meta-bug] -mcmodel=large can't link

2021-10-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102625 Bug ID: 102625 Summary: [meta-bug] -mcmodel=large can't link Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal Priority: P3

[Bug target/55522] -funsafe-math-optimizations is unexpectedly harmful, especially w/ -shared

2021-10-05 Thread ilya.konstantinov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 Ilya Konstantinov changed: What|Removed |Added CC||ilya.konstantinov at gmail dot com

[Bug target/90698] Darwin X86 backend lacks support for mcmodel={medium, large, kernel}

2021-10-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90698 --- Comment #13 from Eric Gallager --- For the purposes of clarifying the "lacks support" wording, where exactly does the failure occur if one tries to enable it? That is, in which step?

[Bug middle-end/93644] [10/11/12 Regression] spurious -Wreturn-local-addr with PHI of PHI

2021-10-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 --- Comment #18 from Eric Gallager --- This affects musl's getcwd implementation, btw: https://git.musl-libc.org/cgit/musl/tree/src/unistd/getcwd.c?id=v1.2.2

[Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc'

2021-10-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49244 --- Comment #25 from H.J. Lu --- (In reply to Jakub Jelinek from comment #24) > I wanted to look at #c20, but at least my i9-7960X for e.g. lock; btsl $65, > var > acts the same as lock; btsl $1, var rather than lock; btsl $1, var+8, > so maybe #

[Bug c++/98712] Incorrect defaulted operator== at compile time and runtime when declared constexpr and inheriting (c++20)

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98712 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:09d886e671f2230acca082e6579a69b8df8fb202 commit r12-4202-g09d886e671f2230acca082e6579a69b8df8fb202 Author: Jakub Jelinek Date: Fr

[Bug c++/102490] Erroneous optimization of default constexpr operator== of struct with bitfields

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102490 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:09d886e671f2230acca082e6579a69b8df8fb202 commit r12-4202-g09d886e671f2230acca082e6579a69b8df8fb202 Author: Jakub Jelinek Date: F

[Bug other/102605] address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-05 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 --- Comment #4 from rguenther at suse dot de --- On Tue, 5 Oct 2021, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 > > --- Comment #2 from Aldy Hernandez --- > (In reply to Richard Biener from comment #

[Bug c++/102626] New: [c++20] compiler crash when invoking constexpr function in the constructor of template class

2021-10-05 Thread royalbee at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102626 Bug ID: 102626 Summary: [c++20] compiler crash when invoking constexpr function in the constructor of template class Product: gcc Version: 10.0 Status: UNCONFIRMED

<    1   2