[Bug target/51954] __int128_t (and long long on x86) negation can be optimized

2022-02-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51954 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/104550] bogus warning from -Wuninitialized + -ftrivial-auto-var-init=pattern

2022-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104550 --- Comment #19 from Richard Biener --- (In reply to qinzhao from comment #18) > One question here, for the following testing case: > > [opc@qinzhao-ol7u9 104550]$ cat t1.c > struct vx_audio_level { > int has_monitor_level : 1; > }; > > void

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/51954] __int128_t (and long long on x86) negation can be optimized

2022-02-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51954 --- Comment #7 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #5) > > > > Yes, neg rdx = (0 - rdx) = (0 - (rdx + CF)(last def)) = (sbb 0, rdx) > > And we need an extra register for it. The patch in Comment #6 does a conversion, but

[Bug target/51954] __int128_t (and long long on x86) negation can be optimized

2022-02-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51954 --- Comment #6 from Uroš Bizjak --- Created attachment 52481 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52481&action=edit Proposed patch +;; Convert: +;; mov %esi, %edx +;; negl %eax +;; adcl $0, %edx +;; negl %edx +;; to: +;;

[Bug target/51954] __int128_t (and long long on x86) negation can be optimized

2022-02-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51954 --- Comment #5 from Hongtao.liu --- > > Yes, neg rdx = (0 - rdx) = (0 - (rdx + CF)(last def)) = (sbb 0, rdx) And we need an extra register for it.

[Bug target/51954] __int128_t (and long long on x86) negation can be optimized

2022-02-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51954 --- Comment #4 from Hongtao.liu --- (In reply to Andrew Pinski from comment #2) > We get this now: > > movq%rdi, %rax > movq%rsi, %rdx > negq%rax > adcq$0, %rdx > negq%rdx > > ICC prod

[Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381

2022-02-20 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88197 --- Comment #5 from Arseny Solokha --- I cannot reproduce it anymore w/ gcc 12.0.1 20220220 snapshot (g:e49508ac6b36adb8a2056c5a1fb6e0178de2439d).

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-20 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 --- Comment #25 from Arseny Solokha --- I cannot reproduce it anymore w/ gcc 12.0.1 20220220 snapshot (g:e49508ac6b36adb8a2056c5a1fb6e0178de2439d).

[Bug target/51954] __int128_t (and long long on x86) negation can be optimized

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

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

2022-02-20 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 Component|rtl-optimization|target Status|UNCONFIRMED

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

2022-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94898 --- Comment #3 from Andrew Pinski --- The other transformation of "x_2 >= y_3 && x_2 != y_3" into "x_2 > y_3" is already done by reassociation and has been done since 4.5.0.

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

2022-02-20 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 Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org E

[Bug tree-optimization/101805] Max -> bool0 | bool1 Min -> a & b

2022-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101805 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2022-02-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #31 from Kewen Lin --- Thanks for the comments, Segher and Peter! Your comments answered my question in mind that the current unpack/pack pattern supports are complete or not. IIUC, to cover it for both soft-float and hard-float case

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2022-02-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 --- Comment #4 from Kewen Lin --- (In reply to Segher Boessenkool from comment #3) > Most of those options were removed. Does this problem (adjusted properly, > those options are now enabled iff you use -mcpu=power10 or later) still > happen on

[Bug target/104440] nvptx: FAIL: gcc.c-torture/execute/pr53465.c execution test

2022-02-20 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104440 --- Comment #11 from Tom de Vries --- Posted patch: https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590627.html

[Bug c++/104608] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367

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

[Bug fortran/77693] ICE in rtl_for_decl_init, at dwarf2out.c:17378

2022-02-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|-

[Bug fortran/77693] ICE in rtl_for_decl_init, at dwarf2out.c:17378

2022-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693 --- Comment #8 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e49508ac6b36adb8a2056c5a1fb6e0178de2439d commit r12-7305-ge49508ac6b36adb8a2056c5a1fb6e0178de2439d Author: Harald Anlauf Date: We

[Bug go/104290] [12 Regression] trunk 20220214 fails to build libgo on i686-gnu

2022-02-20 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 --- Comment #25 from Ian Lance Taylor --- > Hopefully someone knows hot to modify Makefile.tpl/Makefile.def to generate > the correct dependencies in Makefile.in. I suggest that you open a separate bug for that, with a complete standalone expl

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |11.3 Status|ASSIG

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #21 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a5088b07e0a547cdacaa6db8ad762fd8c425b1f0 commit r11-9613-ga5088b07e0a547cdacaa6db8ad762fd8c425b1f0 Author: Harald Anlauf

[Bug c++/104608] New: internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367

2022-02-20 Thread trpost at rocketmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104608 Bug ID: 104608 Summary: internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/83907] missing strlen optimization for non-zero memset followed by a nul byte store

2022-02-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83907 Roger Sayle changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug preprocessor/103027] Implement warning for homoglyphs in identifiers

2022-02-20 Thread reini.urban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103027 Reini Urban changed: What|Removed |Added CC||reini.urban at gmail dot com --- Comment

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2022-02-20 Thread j at uriah dot heep.sax.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #18 from Joerg Wunsch --- (In reply to rudi from comment #17) > The issue is still there during the bootstrap build, but maybe > --disable-gcov might help you in your cross compile toolchain too. Yes, --disable-gcov does help as we

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2022-02-20 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #17 from rudi at heitbaum dot com --- Hi Joerg, I saw your comment and took it as a prompt. I fixed the LE toolchain with your patch. I thought about it further and then used --disable-gcov as the gcc:bootstrap - leaving HAVE_SYS_MM

[Bug target/98321] [nvptx] 'atom.add.f32' for atomic add of 32-bit 'float'

2022-02-20 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98321 Tom de Vries changed: What|Removed |Added Severity|normal |enhancement --- Comment #7 from Tom de Vr