[Bug libstdc++/97759] Could std::has_single_bit be faster?

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97759 --- Comment #13 from Andrew Pinski --- For aarch64, we get: is_power2_popcnt(int): fmovs0, w0 cnt v0.8b, v0.8b addvb0, v0.8b fmovw0, s0 cmp w0, 1 csetw0, eq ret

[Bug target/96918] Failure to optimize vector shift left+shift right+or to pshuf

2021-08-02 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96918 --- Comment #10 from Hongtao.liu --- (In reply to Hongtao.liu from comment #9) > Or the backend add combine helper insn to match > > Failed to match this instruction: > (set (reg:V8HI 90) > (rotate:V8HI (reg:V8HI 91) > (const_int 8

[Bug c++/96957] [9/10/11/12 Regression] GCC thinks a non-dependent base is dependent because of template alias

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96957 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-03

[Bug target/96918] Failure to optimize vector shift left+shift right+or to pshuf

2021-08-02 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96918 --- Comment #9 from Hongtao.liu --- Or the backend add combine helper insn to match Failed to match this instruction: (set (reg:V8HI 90) (rotate:V8HI (reg:V8HI 91) (const_int 8 [0x8])))

[Bug c++/98283] decltype(auto) may deduce a static data member to wrong type in a template

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98283 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/81176] decltype(auto) yields reference type for structured binding

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81176 --- Comment #2 from Andrew Pinski --- Seems fixed in GCC 11+.

[Bug c++/96917] decltype(auto) variable initialized with lambda by-reference capture has incorrect type

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 Andrew Pinski changed: What|Removed |Added Blocks||54367 Ever confirmed|0

[Bug target/96918] Failure to optimize vector shift left+shift right+or to pshuf

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

[Bug c++/65608] [meta-bug] friend issues

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 37804, which changed state. Bug 37804 Summary: friend declaration leaks into global scope at template instantiation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37804 What|Removed

[Bug c++/37804] friend declaration leaks into global scope at template instantiation

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37804 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/43694] G++ accepts a template friend with the wrong template parameters

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43694 Andrew Pinski changed: What|Removed |Added CC||anders.granlund.0 at gmail dot com ---

[Bug c++/96852] Missing diagnostic message for friend declaration with wrong number of template arguments.

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96852 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96852] Missing diagnostic message for friend declaration with wrong number of template arguments.

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96852 Andrew Pinski changed: What|Removed |Added Known to fail||4.1.2 --- Comment #1 from Andrew Pinski

[Bug c++/101732] ICE with extern "C" and auto argument

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101732 Andrew Pinski changed: What|Removed |Added CC||hstong at ca dot ibm.com --- Comment

[Bug c++/96529] GCC applies C language linkage to instantiations from abbreviated function templates

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96529 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/101533] [9/10/11/12 Regression] ICE in gen_type_die_with_usage, at dwarf2out.c:25988

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101533 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/101533] [9/10/11/12 Regression] ICE in gen_type_die_with_usage, at dwarf2out.c:25988

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101533 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-03 Known to work|

[Bug c++/101315] C++20 lambdas in unevaluated context: erroneously fails with "incomplete type"

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

[Bug rtl-optimization/95784] Failure to optimize usage of __builtin_add_overflow with return statement properly

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95784 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-03

[Bug target/80566] no use of avx vmovups on ymm registry in set and copy

2021-08-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80566 --- Comment #7 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:585394d30dc975566186a02e75baf301dbbcc9ba commit r12-2681-g585394d30dc975566186a02e75baf301dbbcc9ba Author: H.J. Lu Date: Mon Aug 2

[Bug middle-end/90773] Improve piecewise operation

2021-08-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90773 H.J. Lu changed: What|Removed |Added CC||vincenzo.innocente at cern dot ch ---

[Bug target/80566] no use of avx vmovups on ymm registry in set and copy

2021-08-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80566 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95125] Unoptimal code for vectorized conversions

2021-08-02 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95125 --- Comment #11 from Hongtao.liu --- (In reply to Andrew Pinski from comment #10) > float_double and fix_double don't produce the best code yet. It's because loop vectorizer can only use one vector size, since BB vect supports different vector

[Bug rtl-optimization/101736] Option -fno-reorder-functions breaks exceptions

2021-08-02 Thread rsundahl at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 --- Comment #5 from Roy Sundahl --- (In reply to Andrew Pinski from comment #3) > A workaround is to do -fno-reorder-blocks-and-partition if you do > -fno-reorder-function That worked! Many thanks Andrew for vetting this bug so quickly and

[Bug target/95483] [i386] Missing SIMD functions

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95483 Andrew Pinski changed: What|Removed |Added CC||DrTroll at gmx dot de --- Comment #6

[Bug target/92013] _mm_broadcastsd_pd missing in avx2intrin.h

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92013 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug target/95125] Unoptimal code for vectorized conversions

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95125 --- Comment #10 from Andrew Pinski --- float_double and fix_double don't produce the best code yet.

[Bug middle-end/101521] -ftrapv should become something like -fsanitize=undefined -fsanitize-undefined-trap-on-error

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101521 Andrew Pinski changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug target/94934] Failure to inline addv

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94934 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/80566] no use of avx vmovups on ymm registry in set and copy

2021-08-02 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80566 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com,

[Bug target/89028] 8-byte loop isn't vectorized

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89028 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/80566] no use of avx vmovups on ymm registry in set and copy

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80566 --- Comment #4 from Andrew Pinski --- Note clang uses them.

[Bug target/80566] no use of avx vmovups on ymm registry in set and copy

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

[Bug tree-optimization/80634] strangely missed vectorization optimizations

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80634 Andrew Pinski changed: What|Removed |Added CC||drraph at gmail dot com --- Comment #7

[Bug target/79491] Possibly inefficient code for the inner product of two vectors

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79491 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/94956] Unable to remove impossible ffs() test for zero

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94956 Andrew Pinski changed: What|Removed |Added CC||fuz at fuz dot su --- Comment #8 from

[Bug target/68294] gcc cannot deduce (a | b) != 0 from (a != 0 && b != 0)

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68294 Andrew Pinski changed: What|Removed |Added Known to work||11.1.0 Status|UNCONFIRMED

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #14 from Andrew

[Bug target/89822] self mov on x86_64 and not optimized-out sub on ARM/ARM64 in a jump table switch

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89822 --- Comment #3 from Andrew Pinski --- Oh the sub issue for aarch64 is solved in GCC 7+.

[Bug target/89822] self mov on x86_64 and not optimized-out sub on ARM/ARM64 in a jump table switch

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89822 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/31782] Invalid assembly code on initial dollar signs

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31782 Andrew Pinski changed: What|Removed |Added CC||greened at obbligato dot org ---

[Bug target/45591] gcc generates illegal asm at -O2 with -fdollars-in-identifiers

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45591 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/89189] missed optimization for 16/8-bit vector shuffle

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89189 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization

[Bug target/87104] missed &, == optimization makes Emacs ~0.4% slower on x86-64

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

[Bug target/87077] missed optimization for horizontal add for x86 SSE

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

[Bug target/86722] ifcvt produces x&0 that is never cleaned up

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86722 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Last

[Bug inline-asm/36639] pointer referenced in asm statement not regarded as VUSE

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36639 Andrew Pinski changed: What|Removed |Added CC||moinakb001 at gmail dot com --- Comment

[Bug inline-asm/101738] Variable value is not set when address passed as register in inline assembly at O2

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101738 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew

[Bug inline-asm/101738] Variable value is not set when address passed as register in inline assembly at O2

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101738 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 86557, which changed state. Bug 86557 Summary: missed vectorization with std::vector compared to icc 18 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86557 What|Removed |Added

[Bug target/86557] missed vectorization with std::vector compared to icc 18

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

[Bug inline-asm/101738] Variable value is not set when address passed as register in inline assembly at O2

2021-08-02 Thread moinakb001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101738 --- Comment #1 from Moinak Bhattacharyya --- Note: clang does not have this problem, generating: ``` test: mov dword ptr [rsp - 4], 305419896 lea rax, [rsp - 4] .asm_label: ret ```

[Bug inline-asm/101738] New: Variable value is not set when address passed as register in inline assembly at O2

2021-08-02 Thread moinakb001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101738 Bug ID: 101738 Summary: Variable value is not set when address passed as register in inline assembly at O2 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/94795] Failure to use fast sbb method on x86 for spreading any set bit to all bits

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94795 Andrew Pinski changed: What|Removed |Added CC||vegard.nossum at oracle dot com ---

[Bug tree-optimization/85224] x86_64 missed optimisation opportunity for (-1 * !!x)

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85224 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/85224] x86_64 missed optimisation opportunity for (-1 * !!x)

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

[Bug target/82812] ICE in emit_move_insn, at expr.c:3706

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82812 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/84781] [missed optimization] ignore bitmask after movemask

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84781 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug tree-optimization/83031] Tail call optimization not used in cases when first part of the result is returned from function

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

[Bug target/81602] Unnecessary zero-extension after 16 bit popcnt

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

[Bug rtl-optimization/82259] missed optimization: use LEA to add 1 to flip the low bit when copying before AND with 1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82259 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > Created attachment 51248 [details] > patch for the eq issue > > This is the patch for the eq issue Of course after that we get: (set (reg:QI 92) (xor:QI

[Bug rtl-optimization/82259] missed optimization: use LEA to add 1 to flip the low bit when copying before AND with 1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82259 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization Ever confirmed|0

[Bug target/82259] missed optimization: use LEA to add 1 to flip the low bit when copying before AND with 1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82259 --- Comment #7 from Andrew Pinski --- Created attachment 51248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51248=edit patch for the eq issue This is the patch for the eq issue

[Bug target/82259] missed optimization: use LEA to add 1 to flip the low bit when copying before AND with 1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82259 --- Comment #6 from Andrew Pinski --- (In reply to Uroš Bizjak from comment #2) > A couple of *scc_bt patterns are missing. These are similar to already > existing *jcc_bt patterns. Combine wants: > > Failed to match this instruction: > (set

[Bug tree-optimization/79938] gcc unnecessarily spills xmm register to stack when inserting vector items

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

[Bug target/81113] ICE with AVX structure field

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81113 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Keywords|

[Bug tree-optimization/80634] strangely missed vectorization optimizations

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80634 --- Comment #6 from Andrew Pinski --- Trunk gives: vect_cst__42 = {a_13(D), a_13(D), a_13(D), a_13(D)}; vect__4.7_41 = MEM [(float *)x_12(D)]; vect__7.11_46 = MEM [(float *)y_14(D)]; vect__8.12_47 = .FMA (vect__4.7_41, vect_cst__42,

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 80634, which changed state. Bug 80634 Summary: strangely missed vectorization optimizations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80634 What|Removed |Added

[Bug tree-optimization/80634] strangely missed vectorization optimizations

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80634 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Component|target

[Bug rtl-optimization/70721] Suboptimal code generated when using _mm_min_sd

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70721 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug target/80402] Missed optimization on x86/x86_64

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

[Bug target/79497] global-dynamic vs non-PIC with -mcmodel=large

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79497 Andrew Pinski changed: What|Removed |Added Known to fail||12.0 Ever confirmed|0

[Bug target/58067] ICE in GFortran recog.c:2158

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/58067] ICE in GFortran recog.c:2158

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067 --- Comment #14 from Andrew Pinski --- *** Bug 46250 has been marked as a duplicate of this bug. ***

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #10 from Andrew

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/79497] ICE in extract_insn, at recog.c:2311

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79497 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250 Andrew Pinski changed: What|Removed |Added CC||gerhard.steinmetz.fortran@t

[Bug target/79497] ICE in extract_insn, at recog.c:2311

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79497 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/79497] ICE in extract_insn, at recog.c:2311

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79497 --- Comment #2 from Andrew Pinski --- extern void abort (void); __thread int tls_gd __attribute__((tls_model("global-dynamic"))) = 0; int get_gd (void) { return tls_gd; } int *get_gdp (void) { return _gd; } int main (void) { int val;

[Bug rtl-optimization/101736] Option -fno-reorder-functions breaks exceptions in gcc 8.2.1

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

[Bug rtl-optimization/101736] Option -fno-reorder-functions breaks exceptions in gcc 8.2.1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 --- Comment #3 from Andrew Pinski --- A workaround is to do -fno-reorder-blocks-and-partition if you do -fno-reorder-function

[Bug c++/101736] Option -fno-reorder-functions breaks exceptions in gcc 8.2.1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 --- Comment #2 from Andrew Pinski --- Seems to work in GCC 9 but GCC 9 does not do the partitioning of the function so ...

[Bug target/101737] SH4 -Os causes internal compiler error when building pixman

2021-08-02 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737 --- Comment #1 from Thomas Petazzoni --- This still happens with gcc 11.1.0, with the exact same conditions.

[Bug debug/95601] Remove workaround for GDB PR in pass_partition_blocks::gate

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95601 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/101734] missing warning reading from a write-only object

2021-08-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101734 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2021-08-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug target/101737] New: SH4 -Os causes internal compiler error when building pixman

2021-08-02 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737 Bug ID: 101737 Summary: SH4 -Os causes internal compiler error when building pixman Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/101736] Option -fno-reorder-functions breaks exceptions in gcc 8.2.1

2021-08-02 Thread rsundahl at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 --- Comment #1 from Roy Sundahl --- Created attachment 51246 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51246=edit This is the preprocessed file (.ii)

[Bug c++/101736] New: Option -fno-reorder-functions breaks exceptions in gcc 8.2.1

2021-08-02 Thread rsundahl at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 Bug ID: 101736 Summary: Option -fno-reorder-functions breaks exceptions in gcc 8.2.1 Product: gcc Version: 8.4.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2021-08-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-08-02 Ever

[Bug rtl-optimization/34072] unoptimal byte extraction.

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34072 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Known to work|

[Bug fortran/101735] New: Type parameter inquiries for substrings are rejected

2021-08-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 Bug ID: 101735 Summary: Type parameter inquiries for substrings are rejected Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/101711] Error when gcc cross compile libvtv

2021-08-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711 Eric Gallager changed: What|Removed |Added CC||cmtice at google dot com,

[Bug target/77894] Enable GNU indirect function support by default as it will be used in glibc.

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77894 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Status|NEW

[Bug target/60880] Wrong assert in promote_duplicated_reg in i386.c

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60880 --- Comment #2 from Andrew Pinski --- I can't see how this assert will ever hit. I looked into the code and promote_duplicated_reg_to_size cannot be called with "size_needed > 1 || (desired_align > align && desired_align > 1)" being true with

[Bug target/61563] better 387 code for float x == (int)x

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

[Bug middle-end/101734] missing warning reading from a write-only object

2021-08-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101734 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug middle-end/101734] New: missing warning reading from a write-only object

2021-08-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101734 Bug ID: 101734 Summary: missing warning reading from a write-only object Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/77590] va_arg() returns 0

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77590 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

  1   2   3   >