[Bug c++/100261] New: [11/12 Regression] ICE: tree check: expected var_decl or type_decl, have error_mark in emit_tinfo_decl, at cp/rtti.c:1643

2021-04-25 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100261 Bug ID: 100261 Summary: [11/12 Regression] ICE: tree check: expected var_decl or type_decl, have error_mark in emit_tinfo_decl, at cp/rtti.c:1643 Product: gcc

[Bug tree-optimization/100253] [10/11/12 Regression] wrong code with -O2 -fno-tree-bit-ccp -ftree-slp-vectorize (unaligned movdqa)

2021-04-25 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100253 --- Comment #3 from Hongtao.liu --- (In reply to Andrew Pinski from comment #2) > The problem is right away in expand: > ;; vect__36.383_12 = MEM [(char * > {ref-all})_10 + 16B]; > > (insn 23 22 0 (set (reg:V1TI 88 [ vect__36.383 ]) >

[Bug c/100260] New: DSE: join stores

2021-04-25 Thread david.bolvansky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100260 Bug ID: 100260 Summary: DSE: join stores Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c++/100248] ICE with global "default" keyword

2021-04-25 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248 --- Comment #1 from 康桓瑋 --- Reduced to no header: struct S {}; bool operator==(S&&, S&&) = default; :2:29: internal compiler error: Segmentation fault 2 | bool operator==(S&&, S&&) = default; | ^~~

[Bug libstdc++/100259] New: ODR violations in

2021-04-25 Thread aaron at aarongraham dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259 Bug ID: 100259 Summary: ODR violations in Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug middle-end/95922] Failure to optimize `((b ^ a) & c) ^ a` to `(a & ~c) | (b & c)` the right way on architectures with andnot

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95922 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/94806] Failure to optimize unary minus for 128-bit operand

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94806 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/94863] Failure to use blendps over mov when possible

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94863 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/94870] Failure to use movhlps instead of seperated mov+unpckhpd

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94870 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/94930] Failure to optimize out subvsi in expansion of __builtin_memcmp with 1 as the operand with -ftrapv

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94930 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/100257] poor codegen with vcvtph2ps / stride of 6

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100257 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/94898] Failure to optimize compare plus sub of same operands into compare

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94898 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/94916] Failure to optimize pattern into difference or zero selector

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94916 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/95404] Failure to optimize compare to power of 2 and bitwise and to more direct bitwise and

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95404 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/95408] Failure to optimize bitwise and with negated conditional using the same operand to conditional with decremented operand

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95408 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/95738] Failure to optimize comparison of vector after sign xor to unsigned comparison

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95738 Andrew Pinski changed: What|Removed |Added Summary|Failure to optimize |Failure to optimize

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 95914, which changed state. Bug 95914 Summary: Failure to optimize saturated add properly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95914 What|Removed |Added

[Bug target/95914] Failure to optimize saturated add properly

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95914 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Target Milestone|---

[Bug tree-optimization/95923] Failure to optimize bool checks into and

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95923 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/96172] Failure to optimize direct assignment to bitfield through shifts

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96172 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/96702] Failure to optimize comparisons involving result of subtraction

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96702 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/94893] Sign function not getting optimized to simple compare

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

[Bug tree-optimization/94893] Sign function not getting optimized to simple compare

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94893 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/98710] missing optimization (x | c) & ~(y | c) -> x & ~(y | c)

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98710 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug c++/97952] Poor optimization of closure-like construct in C++ as compared to C

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97952 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/100252] Internal compiler error during template instantiation

2021-04-25 Thread sand at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 --- Comment #2 from Jeremy R. --- Even more minimal case: https://godbolt.org/z/M3Tv9oqcn

[Bug target/100257] poor codegen with vcvtph2ps / stride of 6

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100257 --- Comment #1 from Andrew Pinski --- Looks like a few missed optimizations at the tree level (and a target issue of the store): memcpy (, src_33, 6); _1 = pixel.b; _2 = pixel.g; _3 = pixel.r; val_2.0_21 = (short int) _1; val_1.1_22

[Bug target/100258] New: constant store pulled out of the loop causes an extra memory load

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100258 Bug ID: 100258 Summary: constant store pulled out of the loop causes an extra memory load Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/100017] error: 'fenv_t' has not been declared in '::' x86_64-w64-mingw32 host cross toolchain fails to build

2021-04-25 Thread davem at devkitpro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #12 from Dave Murphy --- Naive patch based on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017#c7 gets my canadian crosses building. diff --git a/libstdc++-v3/include/c_compatibility/fenv.h

[Bug c/100257] New: poor codegen with vcvtph2ps / stride of 6

2021-04-25 Thread witold.baryluk+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100257 Bug ID: 100257 Summary: poor codegen with vcvtph2ps / stride of 6 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/100256] New: spurious stringop-overflow warning with memset(..., sizeof(dest)) on variable-length array at -O3

2021-04-25 Thread gandalf at winds dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100256 Bug ID: 100256 Summary: spurious stringop-overflow warning with memset(..., sizeof(dest)) on variable-length array at -O3 Product: gcc Version: 10.3.0 Status:

[Bug debug/100255] Crosscompiler to ia64-hp-vms: vmsdbgout.c:368:20: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=register]

2021-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100255 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug debug/100255] New: Crosscompiler to ia64-hp-vms: vmsdbgout.c:368:20: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=register]

2021-04-25 Thread jbglaw--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100255 Bug ID: 100255 Summary: Crosscompiler to ia64-hp-vms: vmsdbgout.c:368:20: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=register] Product:

[Bug debug/100254] New: [11/12 Regression] -fcompare-debug failure (length) with -O2 -fno-guess-branch-probability -fipa-pta -fnon-call-exceptions

2021-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100254 Bug ID: 100254 Summary: [11/12 Regression] -fcompare-debug failure (length) with -O2 -fno-guess-branch-probability -fipa-pta -fnon-call-exceptions Product: gcc

[Bug c++/100252] Internal compiler error during template instantiation

2021-04-25 Thread sand at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 --- Comment #1 from Jeremy R. --- A more minimal case: https://godbolt.org/z/jxP9e35bz

[Bug fortran/100245] ICE on automatic reallocation

2021-04-25 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055982.html

[Bug rtl-optimization/96796] [9 Regression] aarch64: ICE during RTL pass: reload

2021-04-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96796 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug target/98302] [9 Regression] Wrong code on aarch64

2021-04-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98302 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/95694] [9 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7

2021-04-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95694 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/99929] [8/9 Backport] SVE: Wrong code at -O2 -ftree-vectorize

2021-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99929 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:1f3c550c9188e1afb30cb9d40c419c3e6ced5cb3 commit r9-9465-g1f3c550c9188e1afb30cb9d40c419c3e6ced5cb3 Author: Richard

[Bug target/98136] [8/9 Regression] [aarch64] Internal compiler error with large classes and virtual methods since r8-5967-gf5470a77425a54efebfe1732488c40f05ef176d0

2021-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98136 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:04aaa315db27726e090ca7c3ca3aed9dd5895701 commit r9-9464-g04aaa315db27726e090ca7c3ca3aed9dd5895701 Author: Richard

[Bug rtl-optimization/96796] [9 Regression] aarch64: ICE during RTL pass: reload

2021-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96796 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:49cc1253d079bbefc18275f29adc526679422176 commit r9-9463-g49cc1253d079bbefc18275f29adc526679422176 Author: Richard

[Bug target/98302] [9 Regression] Wrong code on aarch64

2021-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98302 --- Comment #18 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:3fa4752e29a5b44219837ebad5bb09ec98af156e commit r9-9462-g3fa4752e29a5b44219837ebad5bb09ec98af156e Author: Richard

[Bug tree-optimization/95694] [9 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7

2021-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95694 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:90ce58cf411f06292dc8f96aba61f3e3d07f22e8 commit r9-9461-g90ce58cf411f06292dc8f96aba61f3e3d07f22e8 Author: Richard

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2021-04-25 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #7

[Bug tree-optimization/100253] [10/11/12 Regression] wrong code with -O2 -fno-tree-bit-ccp -ftree-slp-vectorize (unaligned movdqa)

2021-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100253 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug rtl-optimization/100253] [10/11/12 Regression] wrong code with -O2 -fno-tree-bit-ccp -ftree-slp-vectorize (unaligned movdqa)

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