[Bug middle-end/110983] -fpatchable-function-entry is missing in Option Summary page

2023-09-17 Thread sray at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110983 --- Comment #6 from Mao --- (In reply to Andrew Pinski from comment #4) > (In reply to Mao from comment #3) > > Created attachment 55810 [details] > > invoke-doc-patch > > > > I think this can help fix the issue. > > I am not sure how to build

[Bug c/111451] New: RISC-V: Missed optimization of vrgather.vv into vrgatherei16.vv

2023-09-17 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111451 Bug ID: 111451 Summary: RISC-V: Missed optimization of vrgather.vv into vrgatherei16.vv Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/111450] New: RISC-V: Missed optimized for strided load/store with stride = element width

2023-09-17 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111450 Bug ID: 111450 Summary: RISC-V: Missed optimized for strided load/store with stride = element width Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug target/111424] LoongArch: Enable vect test suite

2023-09-17 Thread panchenghui at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111424 --- Comment #1 from Chenghui Pan --- I also addressed some failed testcases with -mlsx/-mlasx enabled and try to resolve them by adding dg-options and etc. or editing target-supports.exp to append loongarch directives. (May submit to maillist

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 Kewen Lin changed: What|Removed |Added Keywords||wrong-code CC|

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #6 from Kewen Lin --- Created attachment 55919 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55919=edit tested patch

[Bug tree-optimization/111303] [14 Regression] ICE: in type, at value-range.h:869

2023-09-17 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111303 --- Comment #9 from Jiu Fu Guo --- (In reply to CVS Commits from comment #7) this comment should be linked to PR111324.

[Bug target/111449] New: memcmp (p,q,16) == 0 can be optimized better on ppc64 with vector comparison instructions

2023-09-17 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111449 Bug ID: 111449 Summary: memcmp (p,q,16) == 0 can be optimized better on ppc64 with vector comparison instructions Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug middle-end/111324] More optimization about "(X * Y) / Y"

2023-09-17 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111324 --- Comment #7 from Jiu Fu Guo --- A comment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111303#c7 should be attached here.

[Bug tree-optimization/111303] [14 Regression] ICE: in type, at value-range.h:869

2023-09-17 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111303 Jiu Fu Guo changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/111324] More optimization about "(X * Y) / Y"

2023-09-17 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111324 Jiu Fu Guo changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/111303] [14 Regression] ICE: in type, at value-range.h:869

2023-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111303 --- Comment #7 from CVS Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:55b22a6f630e76a0be913ced8bf1b017eaffd89b commit r14-4082-g55b22a6f630e76a0be913ced8bf1b017eaffd89b Author: Jiufu Guo Date: Wed Sep

[Bug c++/111448] g++ ICE Segmentation fault in qemu-riscv64-static emulator

2023-09-17 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111448 --- Comment #2 from Levi Zim --- (In reply to Andrew Pinski from comment #1) > I suspect this is a dup of bug 110315. It works on the trunk but fails on > 13.2.0 even on x86_64-linux-gnu. I tested it with gcc 13.1.1 and gcc 12.3.0. gcc

[Bug tree-optimization/110386] [11/12/13/14 Regression] ICE with ABSU in backprop

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110386 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c++/111448] g++ ICE Segmentation fault in qemu-riscv64-static emulator

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111448 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/111448] New: g++ ICE Segmentation fault in qemu-riscv64-static emulator

2023-09-17 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111448 Bug ID: 111448 Summary: g++ ICE Segmentation fault in qemu-riscv64-static emulator Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111442] [14 Regression] ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug libstdc++/111172] Dead code in std::get for variant?

2023-09-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/111436] Wrong code when bit-casting struct through pointer

2023-09-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111436 --- Comment #2 from Jonathan Wakely --- Please re-read the notice that was shown before you created this bug: "Before reporting a bug, please read the bug writing guidelines, please look at the list of most frequently reported bugs, and please

[Bug tree-optimization/111383] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-5138-ge82c382971

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111383 Andrew Pinski changed: What|Removed |Added Depends on||110233 --- Comment #5 from Andrew

[Bug tree-optimization/111365] [13/14 Regression] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 Andrew Pinski changed: What|Removed |Added Target Milestone|14.0|13.3

[Bug tree-optimization/111365] [13/14 Regression] Wrong code at -O3 since r13-1268-g8c99e307b20

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111365 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 See Also|

[Bug sanitizer/111382] Sanitizer says that the right address calculated in parentheses is misaligned.

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

[Bug middle-end/111427] [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111427 Andrew Pinski changed: What|Removed |Added Component|other |middle-end Keywords|

[Bug c++/103524] [meta-bug] modules issue

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 111447, which changed state. Bug 111447 Summary: Program crashes when an include is present in global module fragment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111447 What|Removed

[Bug c++/99569] segfault when running a module

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99569 Andrew Pinski changed: What|Removed |Added CC||adamstepniak41 at gmail dot com ---

[Bug c++/111447] Program crashes when an include is present in global module fragment

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

[Bug c++/111447] New: Program crashes when an include is present in global module fragment

2023-09-17 Thread adamstepniak41 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111447 Bug ID: 111447 Summary: Program crashes when an include is present in global module fragment Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug ada/81114] GNAT mishandles filenames with UTF8 chars on case-insensitive filesystems

2023-09-17 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81114 --- Comment #6 from simon at pushface dot org --- (In reply to simon from comment #1) > Further: > > $ GNAT_FILE_NAME_CASE_SENSITIVE=1 gnatmake -c p*.ads > gcc -c páck3.ads > páck3.ads:1:10: warning: file name does not match unit name, should be

[Bug modula2/108143] LONGREAL and powerpc64le-linux

2023-09-17 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108143 --- Comment #10 from Gaius Mulley --- Created attachment 55917 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55917=edit Work in progress fix Here is a patch set (which needs some tidying up). It introduces a configure for LONGREAL as

[Bug middle-end/111446] genmatch should warn/error out on recusive match patterns

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

[Bug middle-end/111446] New: genmatch should warn/error out on recusive match patterns

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111446 Bug ID: 111446 Summary: genmatch should warn/error out on recusive match patterns Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/111043] [14 regression] ICE in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1068

2023-09-17 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111043 --- Comment #7 from David Binderman --- A third reproducer, with -O3 required: long g_18; int g_170, g_759, g_1114; extern void safe_lshift_func_uint64_t_u_u(); void func_35() { int __trans_tmp_1; for (; g_759 >= 0; g_759 = g_759 -

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

2023-09-17 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 94920, which changed state. Bug 94920 Summary: Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94920 What

[Bug tree-optimization/94920] Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0

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

[Bug tree-optimization/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/111445] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-1077-g57bf3751511

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111445 Andrew Pinski changed: What|Removed |Added Summary|Wrong code at -Os on|[12/13/14 Regression] Wrong

[Bug tree-optimization/111435] [14 Regression] gimple_zero_one_valued_p() infinite recursion

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111435 Andrew Pinski changed: What|Removed |Added CC||shaohua.li at inf dot ethz.ch ---

[Bug c/111443] ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be

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

[Bug driver/86030] specs file processing does not create response files for input directories

2023-09-17 Thread john.soo+gcc-bugzilla at arista dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030 --- Comment #19 from John Soo --- I verified the proposed patch sent argv through @file, but COLLECT_GCC_OPTIONS still caused E2BIG. In the failing execve, COLLECT_GCC_OPTIONS was 134227 characters long.

[Bug tree-optimization/111445] New: Wrong code at -Os on x86_64-linux-gnu since r12-1077-g57bf3751511

2023-09-17 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111445 Bug ID: 111445 Summary: Wrong code at -Os on x86_64-linux-gnu since r12-1077-g57bf3751511 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111444] New: Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2023-09-17 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 Bug ID: 111444 Summary: Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/111443] New: ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be

2023-09-17 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111443 Bug ID: 111443 Summary: ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/111435] [14 Regression] gimple_zero_one_valued_p() infinite recursion

2023-09-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111435 --- Comment #10 from Sergei Trofimovich --- The proposed patch fixes my modified i686-linux gcc bootstrap as well. Thank you!

[Bug analyzer/111441] internal compiler error: in fold_binary_loc, at fold-const.cc:11580

2023-09-17 Thread dale.mengli.ming at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111441 --- Comment #3 from mengli ming --- Um..regarding the warning about "stack-based buffer over-read", it's a FP.

[Bug analyzer/111441] internal compiler error: in fold_binary_loc, at fold-const.cc:11580

2023-09-17 Thread dale.mengli.ming at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111441 --- Comment #2 from mengli ming --- (In reply to Andrew Pinski from comment #1) > Created attachment 55916 [details] > testcase > > Please next time attach or place the testcase inline instead of just linking > to godbolt . Thanks for the

[Bug tree-optimization/111442] [14 Regression] ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442 Andrew Pinski changed: What|Removed |Added Summary|ICE on valid code at|[14 Regression] ICE on

[Bug analyzer/111441] internal compiler error: in fold_binary_loc, at fold-const.cc:11580

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111441 --- Comment #1 from Andrew Pinski --- Created attachment 55916 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55916=edit testcase Please next time attach or place the testcase inline instead of just linking to godbolt .

[Bug tree-optimization/111442] ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442 --- Comment #3 from Andrew Pinski --- What I meant was the match for bit_and case has the same issue as convert. Though I can't don't understand exactly how though but basically any match can't be recusive after all.

[Bug tree-optimization/111442] ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Resolution|DUPLICATE

[Bug tree-optimization/111435] [14 Regression] gimple_zero_one_valued_p() infinite recursion

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111435 Andrew Pinski changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/111442] ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/111440] wrong-code for ternary with reference-compatible arguments due to C++ defect report 2352

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111440 --- Comment #4 from Andrew Pinski --- (In reply to Lénárd Szolnoki from comment #3) > Note that GCC seems to implement CWG2352 outside of ternary operators. Yes that was done in GCC 10 (see PR 91844).

[Bug tree-optimization/111217] variant of cond-bool-2.c fails

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

[Bug c++/111440] wrong-code for ternary with reference-compatible arguments due to C++ defect report 2352

2023-09-17 Thread leni536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111440 --- Comment #3 from Lénárd Szolnoki --- Note that GCC seems to implement CWG2352 outside of ternary operators. https://godbolt.org/z/rnMcPqE7b ``` template void foo(); bool bar() { int * ptr = nullptr; const int * const = ptr;

[Bug tree-optimization/111442] New: ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-17 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20230917 (experimental) (GCC) [543] % [543] % gcctk -Os small.c small.c: In function ‘main

[Bug tree-optimization/111217] variant of cond-bool-2.c fails

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111217 --- Comment #2 from Andrew Pinski --- This works on the trunk at -O2 now (after r14-3982-g9ea74d235c7e78). But it still fails at -O1.

[Bug analyzer/111441] New: internal compiler error: in fold_binary_loc, at fold-const.cc:11580

2023-09-17 Thread dale.mengli.ming at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111441 Bug ID: 111441 Summary: internal compiler error: in fold_binary_loc, at fold-const.cc:11580 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/79045] bool expanded as 2 jumps

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79045 Andrew Pinski changed: What|Removed |Added CC||fent at in dot tum.de --- Comment #5

[Bug target/105670] [x86] suboptimal code for branch over two bools

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

[Bug c++/111440] wrong-code for ternary with reference-compatible arguments

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111440 --- Comment #2 from Andrew Pinski --- clang change: https://github.com/llvm/llvm-project/commit/f041e9ad706aee7987c5299427c33424fcabbd0d

[Bug c++/111440] wrong-code for ternary with reference-compatible arguments

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111440 --- Comment #1 from Andrew Pinski --- Note clang changed between version 9 and 10 for the defect report it seems ...

[Bug c++/111440] New: wrong-code for ternary with reference-compatible arguments

2023-09-17 Thread leni536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111440 Bug ID: 111440 Summary: wrong-code for ternary with reference-compatible arguments Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/111437] Some always inline functions are incorrectly warn of as "might not be inlinable"

2023-09-17 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111437 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug ipa/111437] Some always inline functions are incorrectly warn of as "might not be inlinable"

2023-09-17 Thread gb2985 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111437 zxuiji changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #5 from zxuiji --- (In

[Bug tree-optimization/96487] cddce1 optimizer depends on order of basic blocks

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96487 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/111437] Some always inline functions are incorrectly warn of as "might not be inlinable"

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111437 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ipa/111437] Some always inline functions are incorrectly warn of as "might not be inlinable"

2023-09-17 Thread gb2985 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111437 --- Comment #3 from zxuiji --- (In reply to zxuiji from comment #2) > (In reply to Andrew Pinski from comment #1) > > Can you attach the preprocessed source where the warning is and the exact > > command line you are using to invoke gcc? > > >

[Bug ipa/111437] Some always inline functions are incorrectly warn of as "might not be inlinable"

2023-09-17 Thread gb2985 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111437 --- Comment #2 from zxuiji --- (In reply to Andrew Pinski from comment #1) > Can you attach the preprocessed source where the warning is and the exact > command line you are using to invoke gcc? > > I suspect the issue is that the function can

[Bug tree-optimization/111439] some boolean related transformation to `~(a)`

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111439 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/111439] New: some boolean related transformation to `~(a)`

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111439 Bug ID: 111439 Summary: some boolean related transformation to `~(a)` Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug middle-end/109986] missing fold (~a | b) ^ a => ~(a & b)

2023-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109986 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

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

2023-09-17 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 109986, which changed state. Bug 109986 Summary: missing fold (~a | b) ^ a => ~(a & b) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109986 What|Removed |Added