[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 --- Comment #8 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:9367e3a65f874dffc8f8a3b6760e77fd9ed67117 commit r13-2062-g9367e3a65f874dffc8f8a3b6760e77fd9ed67117 Author: Kewen.Lin Date: Tue Aug

[Bug tree-optimization/106322] [12/13 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #46 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:5239e2bd48fb1e6a1d1b06a1bac49bee0a742e98 commit r13-2061-g5239e2bd48fb1e6a1d1b06a1bac49bee0a742e98 Author: Kewen Lin Date: Tue Aug

[Bug analyzer/106634] New: [13 Regression] ICE in get_region_for_local, at analyzer/region.cc:874

2022-08-15 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106634 Bug ID: 106634 Summary: [13 Regression] ICE in get_region_for_local, at analyzer/region.cc:874 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/106533] loop distribution not distributing inner loop (to memcpy) when perfect loop nest

2022-08-15 Thread vineetg at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106533 --- Comment #7 from Vineet Gupta --- Can this be back-ported to gcc 12 please ?

[Bug analyzer/106620] Incorrectly thinks execution can continue after a return statement

2022-08-15 Thread nrk at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106620 --- Comment #3 from nrk at disroot dot org --- > Feel free to reopen it if you're able to reproduce it with gcc 12 or later Huh, I linked to godbolt specifically because I wanted to test gcc 12 and see if the bug still persists or not since my

[Bug c++/106633] Hidden visibility on forward declarations impacts visibility of default-visibility class methods

2022-08-15 Thread mh+gcc at glandium dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106633 Mike Hommey changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/106633] Hidden visibility on forward declarations impacts visibility of default-visibility class methods

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106633 --- Comment #1 from Andrew Pinski --- I don't think this is a gcc bug but rather gcc 12 fixed a bug

[Bug c++/106633] New: Hidden visibility on forward declarations impacts visibility of default-visibility class methods

2022-08-15 Thread mh+gcc at glandium dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106633 Bug ID: 106633 Summary: Hidden visibility on forward declarations impacts visibility of default-visibility class methods Product: gcc Version: 12.1.0 Status:

[Bug target/106586] riscv32 still broke with zba_zbb_zbc_zbs, ICE in do_SUBST in C++ code

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106586 --- Comment #13 from Andrew Pinski --- All patches I have pushed to refs/users/pinskia/heads/riscvbit this includes all cleanups I did to the backend. I will finish up the patches (add testcases and run the testsuite) in the next few days.

[Bug target/106632] undefined code causes assembler failure

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

[Bug target/106632] New: undefined code causes assembler failure

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106632 Bug ID: 106632 Summary: undefined code causes assembler failure Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: assemble-failure Severity: normal

[Bug target/106586] riscv32 still broke with zba_zbb_zbc_zbs, ICE in do_SUBST in C++ code

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106586 --- Comment #12 from Andrew Pinski --- Created attachment 53463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53463=edit Patch (which might depend on other patches) I have a full fix now. The problem I mentioned is a few different

[Bug target/106586] riscv32 still broke with zba_zbb_zbc_zbs, ICE in do_SUBST in C++ code

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106586 --- Comment #11 from Andrew Pinski --- There was a few issues dealing with not doing trunc_int_for_mode in some cases.

[Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2 since r13-1268-g8c99e307b20c50

2022-08-15 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106630 --- Comment #5 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #4) > > It looks like DOM2, as a side-effect of using the ranger to do cprop, is > > exporting a global range for a_9 > > Where a_9 has a global range of [0,0]. >

[Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2 since r13-1268-g8c99e307b20c50

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106630 --- Comment #4 from Andrew Pinski --- > It looks like DOM2, as a side-effect of using the ranger to do cprop, is > exporting a global range for a_9 > Where a_9 has a global range of [0,0]. Why didn't DOM do a constant prop here since the only

[Bug target/106586] riscv32 still broke with zba_zbb_zbc_zbs, ICE in do_SUBST in C++ code

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106586 --- Comment #10 from Andrew Pinski --- There is still some missing sign extend of the const_int. (insn 17 16 18 4 (set (reg:SI 77) (mem/u/c:SI (lo_sum:SI (reg/f:SI 78) (symbol_ref/u:SI ("*.LC0") [flags 0x82])) [0 S4

[Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2 since r13-1268-g8c99e307b20c50

2022-08-15 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106630 Aldy Hernandez changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug c++/106631] New: Unhelpful diagnostic on variable template specialization with unknown name

2022-08-15 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106631 Bug ID: 106631 Summary: Unhelpful diagnostic on variable template specialization with unknown name Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug bootstrap/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address since r13-2011-g53e3b2bf16

2022-08-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 --- Comment #6 from Martin Liška --- > Which makes some sense as I locally run GNU make with --shuffle enabled by > default: https://savannah.gnu.org/bugs/index.php?62100 Do you have a special patch on top of that? Which exact revision of the

[Bug d/106623] internal compiler error: Segmentation fault at gimple-expr.cc:88

2022-08-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106623 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/106623] internal compiler error: Segmentation fault at gimple-expr.cc:88

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106623 --- Comment #2 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:dc230a0c690794cd45cc4065fa13303fd6cdfc40 commit r12-8688-gdc230a0c690794cd45cc4065fa13303fd6cdfc40 Author: Iain Buclaw

[Bug bootstrap/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address

2022-08-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

[Bug bootstrap/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address

2022-08-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 --- Comment #4 from Sergei Trofimovich --- Bisected locally down to: 53e3b2bf16a486c15c20991c6095f7be09012b55 is the first bad commit commit 53e3b2bf16a486c15c20991c6095f7be09012b55 Author: Martin Liska Date: Tue Aug 9 13:59:36 2022 +0200

[Bug d/106623] internal compiler error: Segmentation fault at gimple-expr.cc:88

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106623 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:e206fecaac29f559f4990312b875604eb1ce3ef3 commit r13-2057-ge206fecaac29f559f4990312b875604eb1ce3ef3 Author: Iain Buclaw Date: Mon

[Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2 since r13-1268-g8c99e307b20c50

2022-08-15 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106630 --- Comment #2 from Aldy Hernandez --- Works with -fno-thread-jumps or with -fdisable-tree-dom3. I haven't investigated whether the threading done in DOM2 is generating invalid IL, but it looks like this match.pd pattern is going around in

[Bug target/106586] riscv32 still broke with zba_zbb_zbc_zbs, ICE in do_SUBST in C++ code

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106586 --- Comment #9 from Andrew Pinski --- Here is a testcase which shows a similar issue where bseti is not used (ignore the 1<<31 being undefined/unspecified issue): int f(int a, int b) { b = 31; int tt = sizeof(b)*8 - 1; return a |

[Bug analyzer/106626] Improvements to wording of -Wanalyzer-out-of-bounds

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106626 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:23e8c0b0d99f585499baddda70af6a8b26f49bea commit r13-2054-g23e8c0b0d99f585499baddda70af6a8b26f49bea Author: David Malcolm Date:

[Bug analyzer/106573] Missing -Wanalyzer-use-of-uninitialized-value on calls handled by state machines

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106573 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ca123e019bb92fd1d6909e8da7f53a4f45922526 commit r13-2053-gca123e019bb92fd1d6909e8da7f53a4f45922526 Author: David Malcolm Date:

[Bug tree-optimization/106621] [13 Regression] ICE in irange_set, at value-range.cc:619

2022-08-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106621 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com

[Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2

2022-08-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106630 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-08-15 CC|

[Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2

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

[Bug tree-optimization/106621] [13 Regression] ICE in irange_set, at value-range.cc:619

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106621 --- Comment #1 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:265cdd067afd56293137ecb3057c5ba28a7c9480 commit r13-2052-g265cdd067afd56293137ecb3057c5ba28a7c9480 Author: Andrew MacLeod Date:

[Bug tree-optimization/106630] New: [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2

2022-08-15 Thread vsevolod.livinskiy at gmail dot com via Gcc-bugs
plus gcc version 13.0.0 20220815 (6624ad73064de241e937e97a28b65c50fe14c78e)

[Bug analyzer/106551] [13 Regression] dup2 causes -fanalyzer ICE in valid_to_unchecked_state, at analyzer/sm-fd.cc:751

2022-08-15 Thread mir at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106551 --- Comment #7 from Immad Mir --- (In reply to CVS Commits from comment #6) The patch was lightly tested on x86_64 Linux.

[Bug analyzer/106551] [13 Regression] dup2 causes -fanalyzer ICE in valid_to_unchecked_state, at analyzer/sm-fd.cc:751

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106551 --- Comment #6 from CVS Commits --- The master branch has been updated by Immad Mir : https://gcc.gnu.org/g:ed7e7620188dc0e653815bdd40d8802bd5446638 commit r13-2051-ged7e7620188dc0e653815bdd40d8802bd5446638 Author: Immad Mir Date: Mon Aug

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 --- Comment #4 from Andrew Pinski --- (In reply to Marek Polacek from comment #3) > Not a bug, this is > https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2450 I > implemented in GCC. Oh I see, I should have looked into the active

[Bug tree-optimization/98954] ((X << CST0) & CST1) == 0 is not optimized to 0 == (X & (CST1 >> CST0))

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98954 --- Comment #7 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:418b71c0d535bf91df78bad2e198c57934682eaa commit r13-2048-g418b71c0d535bf91df78bad2e198c57934682eaa Author: Roger Sayle Date: Mon

[Bug tree-optimization/98956] Failure to optimize out boolean left shift

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98956 --- Comment #5 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:418b71c0d535bf91df78bad2e198c57934682eaa commit r13-2048-g418b71c0d535bf91df78bad2e198c57934682eaa Author: Roger Sayle Date: Mon

[Bug tree-optimization/64992] More optimize opportunity

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 --- Comment #12 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:418b71c0d535bf91df78bad2e198c57934682eaa commit r13-2048-g418b71c0d535bf91df78bad2e198c57934682eaa Author: Roger Sayle Date: Mon

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/71343] missed optimization (can't "prove" shift and multiplication equivalence)

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71343 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:03acd8b6429e22068330dce5abf129291d3f26de commit r13-2047-g03acd8b6429e22068330dce5abf129291d3f26de Author: Roger Sayle Date: Mon

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

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

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 --- Comment #1 from Andrew Pinski --- Created attachment 53462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53462=edit full testcase

[Bug c++/106629] New: GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 Bug ID: 106629 Summary: GCC accepts invalid program involving {1,2,3,4} as template argument Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal

[Bug c/106628] Missed folding with COMPOUND_EXPR due to C frontend bugs

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

[Bug c++/106618] C++ Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106618 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-08-15 Summary|[docs]

[Bug target/106609] [SH] miscompilation of loop involving noreturn call

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106609 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #3 from Andrew

[Bug analyzer/106620] Incorrectly thinks execution can continue after a return statement

2022-08-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106620 --- Comment #2 from David Malcolm --- (In reply to David Malcolm from comment #1) > I've made lots of implementation changes to -fanalyzer in gcc 12 in beyond "and beyond", I meant to say

[Bug analyzer/106620] Incorrectly thinks execution can continue after a return statement

2022-08-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106620 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/106627] Exception from multiversion function cannot be caught

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

[Bug c++/106276] Missing -Wpessimizing-move warning

2022-08-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106276 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/106276] Missing -Wpessimizing-move warning

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106276 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ae3459cd5956fcd29e8aa5408efb707cb7d9b14f commit r13-2045-gae3459cd5956fcd29e8aa5408efb707cb7d9b14f Author: Marek Polacek Date:

[Bug ipa/101839] [10/11/12 Regression] Hang in C++ code with -fdevirtualize

2022-08-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101839 --- Comment #12 from Martin Liška --- (In reply to Jan Hubicka from comment #11) > Fixed on mainline with r:0f2c7ccd14a29a8af8318f50b8296098fb0ab218 g:0f2c7ccd14a29a8af8318f50b8296098fb0ab218

[Bug c/106628] New: Missed folding with COMPOUND_EXPR due to C frontend bugs

2022-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106628 Bug ID: 106628 Summary: Missed folding with COMPOUND_EXPR due to C frontend bugs Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/106591] ASan at -O1 fails to detect a global buffer overflow

2022-08-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106591 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug bootstrap/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address

2022-08-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address

2022-08-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 --- Comment #2 from Sergei Trofimovich --- Used configure options: configure flags: --prefix=/nix/store/fx45rjgwi61c5xx6xyxz9lih1bkyv374-gfortran-13.0.0

[Bug target/106355] Linux s390x -O2 argument passing miscompile

2022-08-15 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355 --- Comment #4 from Stefan Schulze Frielinghaus --- The problem is with sibling call optimization where parameters with BLKmode are not handled correctly. I will prepare a patch and submit it shortly.

[Bug c++/106627] New: Exception from multiversion function cannot be caught

2022-08-15 Thread gcc.gnu at vvalter dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106627 Bug ID: 106627 Summary: Exception from multiversion function cannot be caught Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug analyzer/106626] New: Improvements to wording of -Wanalyzer-out-of-bounds

2022-08-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106626 Bug ID: 106626 Summary: Improvements to wording of -Wanalyzer-out-of-bounds Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/106355] Linux s390x -O2 argument passing miscompile

2022-08-15 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355 Dan Horák changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug analyzer/106625] RFE: support some symbolic values in -Wanalyzer-out-of-bounds

2022-08-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106625 David Malcolm changed: What|Removed |Added CC||tlange at gcc dot gnu.org --- Comment

[Bug analyzer/106625] New: RFE: support some symbolic values in -Wanalyzer-out-of-bounds

2022-08-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106625 Bug ID: 106625 Summary: RFE: support some symbolic values in -Wanalyzer-out-of-bounds Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/81708] The x86 stack canary location should be customizable

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #19 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:4ad200addc3eaf55fba6cc91db3d3b66eabaf3d0 commit r13-2043-g4ad200addc3eaf55fba6cc91db3d3b66eabaf3d0 Author: Alexandre Oliva

[Bug bootstrap/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address

2022-08-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 --- Comment #1 from Sergei Trofimovich --- Created attachment 53461 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53461=edit good.log.xz

[Bug bootstrap/106624] New: [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address

2022-08-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 Bug ID: 106624 Summary: [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address

[Bug d/106623] New: internal compiler error: Segmentation fault at gimple-expr.cc:88

2022-08-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106623 Bug ID: 106623 Summary: internal compiler error: Segmentation fault at gimple-expr.cc:88 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/106590] [12/13 Regression] x86-64 miscompilation starting with r12-8233-g1ceddd7497e15d w/ mtune=skylake

2022-08-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106590 --- Comment #9 from Jakub Jelinek --- Fixed on the trunk so far, 12.2 is frozen now and I think the fix needs some time on the trunk before backporting, so probably only will be fixed for 12.3.

[Bug rtl-optimization/106590] [12/13 Regression] x86-64 miscompilation starting with r12-8233-g1ceddd7497e15d w/ mtune=skylake

2022-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106590 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3a74a7bf62f47ed0d19866576378724be932ee17 commit r13-2042-g3a74a7bf62f47ed0d19866576378724be932ee17 Author: Jakub Jelinek Date:

[Bug tree-optimization/106621] [13 Regression] ICE in irange_set, at value-range.cc:619

2022-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106621 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 CC|

[Bug demangler/106622] New: Bug report

2022-08-15 Thread sophrosx at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106622 Bug ID: 106622 Summary: Bug report Product: gcc Version: rust/master Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee:

[Bug sanitizer/106558] ASan failed to detect a global-buffer-overflow

2022-08-15 Thread ygribov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106558 --- Comment #10 from Yury Gribov --- Created attachment 53458 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53458=edit Very draft patch (In reply to Jakub Jelinek from comment #7) > Perhaps either a quick check that for base ptrs that

[Bug tree-optimization/106621] New: [13 Regression] ICE in irange_set, at value-range.cc:619

2022-08-15 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106621 Bug ID: 106621 Summary: [13 Regression] ICE in irange_set, at value-range.cc:619 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug middle-end/106609] [SH] miscompilation of loop involving noreturn call

2022-08-15 Thread sebastien.michelland--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106609 --- Comment #2 from Sébastien Michelland --- Yes there are delay slots for all branches except bt and bf, so here bt.s, jsr and rts all have one. (-fno-delayed-branches avoids them but that doesn't affect the bad optimization in this case.)

[Bug tree-optimization/106617] [13 Regression] gcc is very slow at ternary expressions,

2022-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106617 --- Comment #8 from Richard Biener --- We don't fold because case COMPOUND_EXPR: /* When pedantic, a compound expression can be neither an lvalue nor an integer constant expression. */ if (TREE_SIDE_EFFECTS (arg0) ||

[Bug analyzer/106620] New: Incorrectly thinks execution can continue after a return statement

2022-08-15 Thread nrk at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106620 Bug ID: 106620 Summary: Incorrectly thinks execution can continue after a return statement Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106617] [13 Regression] gcc is very slow at ternary expressions,

2022-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106617 Richard Biener changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug analyzer/106551] [13 Regression] dup2 causes -fanalyzer ICE in valid_to_unchecked_state, at analyzer/sm-fd.cc:751

2022-08-15 Thread mir at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106551 --- Comment #5 from Immad Mir --- Thanks for reporting the ICE, Tim. Dave: I have sent a patch via gcc-patches.

[Bug middle-end/106609] [SH] miscompilation of loop involving noreturn call

2022-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106609 --- Comment #1 from Richard Biener --- .L3:bt.s.L2 dt r1 are there any delay slots in SH? Does -fno-schedule-insns -fno-schedule-insns2 help?

[Bug libstdc++/106608] [12/13 Regression] std::optional requires unavailable dtor

2022-08-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608 Richard Biener changed: What|Removed |Added Summary|[12 Regression] |[12/13 Regression]

[Bug c++/106619] New: Inconsistent __PRETTY_FUNCTION__ output

2022-08-15 Thread kentsangkm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106619 Bug ID: 106619 Summary: Inconsistent __PRETTY_FUNCTION__ output Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug web/106618] New: [docs] Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`

2022-08-15 Thread davidfong19 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106618 Bug ID: 106618 Summary: [docs] Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order` Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/106617] [13 Regression] gcc is very slow at ternary expressions,

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

[Bug tree-optimization/106617] [13 Regression] gcc is very slow at ternary expressions,

2022-08-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106617 --- Comment #6 from Sergei Trofimovich --- Created attachment 53455 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53455=edit ring_buffer.c.gz ring_buffer.c.gz is a preprocessed file from linux-4.19. $ time gcc-12.1.0 -O2 -c

[Bug tree-optimization/106617] [13 Regression] gcc is very slow at ternary expressions,

2022-08-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106617 --- Comment #5 from Sergei Trofimovich --- --enable-checking=release did not help much. Attached example still compiles 3.5 s. verify parts disappeared from profile, but generic_simplify are still there: 11.20% cc1 cc1

[Bug tree-optimization/106322] [12/13 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5

2022-08-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #45 from Kewen Lin