[Bug c++/99403] Add header fix-it hints for std::this_thread::* and std::jthread

2023-08-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99403 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-08-07 Ever confirmed|0

[Bug tree-optimization/94427] 456.hmmer is 8-17% slower when compiled at -Ofast than with GCC 9

2023-08-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94427 --- Comment #5 from Richard Biener --- (In reply to Jan Hubicka from comment #4) > It is the same loop - it was float only in my mind (since the function > return float value :) > > With loop splitting we no longer have the last iteration

[Bug tree-optimization/94427] 456.hmmer is 8-17% slower when compiled at -Ofast than with GCC 9

2023-08-07 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94427 --- Comment #4 from Jan Hubicka --- It is the same loop - it was float only in my mind (since the function return float value :) With loop splitting we no longer have the last iteration check, but we still have the underflow checks that are

[Bug tree-optimization/110897] RISC-V: Fail to vectorize shift

2023-08-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110897 --- Comment #19 from Richard Biener --- (In reply to JuzheZhong from comment #18) > (In reply to JuzheZhong from comment #17) > > Confirm by this try: > > https://godbolt.org/z/q7zx5zG5e > > > > Both ARM SVE trunk GCC and RISC-V GCC failed to

[Bug tree-optimization/94427] 456.hmmer is 8-17% slower when compiled at -Ofast than with GCC 9

2023-08-07 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94427 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/110841] [14 Regression] Dead Code Elimination Regression since r14-2675-gef28aadad6e

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

[Bug c++/110619] Dangling pointer returned from constexpr function converts in nullptr

2023-08-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110619 --- Comment #9 from Jonathan Wakely --- (In reply to Fedor Chelnokov from comment #8) > This program must be rejected because of relational comparison of unrelated > pointers I disagree. If GCC were to define the behaviour of returning invalid

[Bug tree-optimization/49955] Fails to do partial basic-block SLP

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

[Bug tree-optimization/110503] [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

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

[Bug tree-optimization/110361] [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-2020-g16b013c9d9b

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

[Bug ada/110898] compilation of adacl-assert-integer.ads failed

2023-08-07 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110898 --- Comment #3 from Marc Poulhiès --- Yes, I was confused also, as I've never seen this issue when using alire. Maybe check that your alr install is up to date, and if it's the case, report an issue in the corresponding project:

[Bug tree-optimization/106293] [13 regression] 456.hmmer at -Ofast -march=native regressed by 19% on zen2 and zen3 in July 2022

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106293 --- Comment #27 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:73c14db6d1a8c1267137b94c41f2e2c9410dcbb1 commit r14-3015-g73c14db6d1a8c1267137b94c41f2e2c9410dcbb1 Author: Jan Hubicka Date: Mon

[Bug tree-optimization/108360] [13/14 Regression] Dead Code Elimination Regression at -Os since r13-2048-g418b71c0d535bf

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108360 --- Comment #10 from Andrew Pinski --- This is the example code which is not optimized at the gimple level (but is at the RTL level): ``` void gg(); void hh(); void f1(int a, int b) { short t = a == b; t -= 1; unsigned t1 = t; if (t1 <=

[Bug tree-optimization/30049] Variable-length arrays (VLA) should be converted to normal arrays if possible

2023-08-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30049 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment

[Bug tree-optimization/105832] [13/14 Regression] Dead Code Elimination Regression at -O3 (trunk vs. 12.1.0)

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105832 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/110899] RFE: Attributes preserve_most and preserve_all

2023-08-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110899 Richard Biener changed: What|Removed |Added Target||x86_64-*-* aarch64-*-*

[Bug tree-optimization/26731] Jump threading gets in the way of loops

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26731 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2007-07-01 00:14:40 |2023-8-7 --- Comment #7 from Andrew

[Bug tree-optimization/20084] missed optimization with conditional and loads and cross jumping

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

[Bug tree-optimization/18940] Loop is not vectorized when it should be (VRP)

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

[Bug tree-optimization/26731] Jump threading gets in the way of loops

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26731 Bug 26731 depends on bug 18940, which changed state. Bug 18940 Summary: Loop is not vectorized when it should be (VRP) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18940 What|Removed |Added

[Bug c++/110619] Dangling pointer returned from constexpr function converts in nullptr

2023-08-07 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110619 --- Comment #8 from Fedor Chelnokov --- Please note that GCC 13 also accepts invalid program (because dangling pointers were converted in nullptr): constexpr auto f(int a) { return } constexpr auto g(int b) { return }

[Bug tree-optimization/110924] [14 Regression] ICE on valid code at -O{s,2,3} on x86_64-linux-gnu: verify_ssa failed

2023-08-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110924 --- Comment #6 from David Binderman --- Reduced C code is func_4_p_7, func_4_l_3204; func_15() __attribute__((cold)); func_15() { for (;;) ; } func_15_alias() __attribute__((alias("func_15"))); func_4() { func_15_alias(func_4_p_7 &&

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

2023-08-07 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 96695, which changed state. Bug 96695 Summary: Failure to optimize combination of pointer comparison to nullptr and another pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96695 What|Removed

[Bug tree-optimization/96695] Failure to optimize combination of pointer comparison to nullptr and another pointer

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96695 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug tree-optimization/96695] Failure to optimize combination of pointer comparison to nullptr and another pointer

2023-08-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96695 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:58f1e185ff6d108171b9c8ea043796c85a65fcec commit r14-3014-g58f1e185ff6d108171b9c8ea043796c85a65fcec Author: Andrew Pinski Date:

[Bug c/110929] ICE: verify_ssa failed since r14-2946-g46c8c225455

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

[Bug tree-optimization/110924] [14 Regression] ICE on valid code at -O{s,2,3} on x86_64-linux-gnu: verify_ssa failed

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

[Bug c/110929] New: ICE: verify_ssa failed since r14-2946-g46c8c225455

2023-08-07 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110929 Bug ID: 110929 Summary: ICE: verify_ssa failed since r14-2946-g46c8c225455 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/110924] [14 Regression] ICE on valid code at -O{s,2,3} on x86_64-linux-gnu: verify_ssa failed

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

[Bug tree-optimization/110924] [14 Regression] ICE on valid code at -O{s,2,3} on x86_64-linux-gnu: verify_ssa failed

2023-08-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110924 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com ---

[Bug tree-optimization/28794] missed optimization with non-COND_EXPR and vrp and comparisions

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28794 --- Comment #7 from Andrew Pinski --- Created attachment 55700 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55700=edit Patch, still needs testcase

[Bug tree-optimization/103281] [12/13/14 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103281 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/103281] [12/13/14 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103281 Andrew Pinski changed: What|Removed |Added Depends on||28794 --- Comment #10 from Andrew

[Bug tree-optimization/28794] missed optimization with non-COND_EXPR and vrp and comparisions

2023-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28794 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from Andrew

<    1   2