[Bug tree-optimization/108500] [11/12 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-02-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 --- Comment #22 from Richard Biener --- (In reply to Vladimir Makarov from comment #20) > (In reply to Richard Biener from comment #14) > > Thanks for the new testcase. With -O0 (and a --enable-checking=release > > built compiler) this builds

[Bug tree-optimization/108737] [13 Regression] Apparent miscompile of infinite loop on gcc trunk in cddce2 pass since r13-3875

2023-02-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108737 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/106722] bogus uninit warning in tree-vect-loop-manip.cc

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106722 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:338739645b8e5bf34636d8d4829d7650001ad08c commit r13-5958-g338739645b8e5bf34636d8d4829d7650001ad08c Author: Richard Biener Date:

[Bug target/100927] [sse2] floating point to integer conversion functions incorrect results w/ NaN constants + optimization

2023-02-12 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100927 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #4

[Bug c/108768] New: bogus -Warray-bounds warnings

2023-02-12 Thread mi+gcc at aldan dot algebra.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108768 Bug ID: 108768 Summary: bogus -Warray-bounds warnings Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug analyzer/108767] New: O2 optimization has side effects on static analysis.

2023-02-12 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108767 Bug ID: 108767 Summary: O2 optimization has side effects on static analysis. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/108272] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:339

2023-02-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108272 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/108348] ICE in gen_movoo, at config/rs6000/mma.md:292

2023-02-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108348 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-02-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/108348] ICE in gen_movoo, at config/rs6000/mma.md:292

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108348 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:7bbed35a05d735387d406afbf866384feaac21e7 commit r10-11212-g7bbed35a05d735387d406afbf866384feaac21e7 Author: Kewen Lin Date:

[Bug target/108272] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:339

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108272 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:ec4d91aa885297c3b5bb4bbfb3133ffe2e5e6a2f commit r10-11211-gec4d91aa885297c3b5bb4bbfb3133ffe2e5e6a2f Author: Kewen Lin Date:

[Bug target/108348] ICE in gen_movoo, at config/rs6000/mma.md:292

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108348 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:0e41d8a77887b838de5493c491f411274376227a commit r11-10522-g0e41d8a77887b838de5493c491f411274376227a Author: Kewen Lin Date:

[Bug target/108272] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:339

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108272 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:79a81d526babb6ffb6d85b4a05b29269470ab49d commit r11-10521-g79a81d526babb6ffb6d85b4a05b29269470ab49d Author: Kewen Lin Date:

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:cb6861acc4074fd2c30a96b52d68c2cd33b9e94d commit r12-9170-gcb6861acc4074fd2c30a96b52d68c2cd33b9e94d Author: Kewen Lin Date:

[Bug target/108272] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:339

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108272 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:e5a63c986978699a25f4bfb9b58a0111951e7d43 commit r12-9168-ge5a63c986978699a25f4bfb9b58a0111951e7d43 Author: Kewen Lin Date:

[Bug target/108348] ICE in gen_movoo, at config/rs6000/mma.md:292

2023-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108348 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:3c7bb6c0b0003f4e1fb52f814ad1a9a7f09573c6 commit r12-9169-g3c7bb6c0b0003f4e1fb52f814ad1a9a7f09573c6 Author: Kewen Lin Date:

[Bug tree-optimization/108752] word_mode vectorization is pessimized by hard limit on nunits

2023-02-12 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108752 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug target/108766] New: unaligned byteswapped 16bit load is just bad

2023-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108766 Bug ID: 108766 Summary: unaligned byteswapped 16bit load is just bad Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug middle-end/108765] ICE with non-local goto

2023-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108765 --- Comment #4 from Andrew Pinski --- >seems to be a separate issue and a new regression. It is not, it is just a reduced testcase and the ICE happens with GCC 6 and above with -fchecking very similar and all.

[Bug middle-end/108765] ICE with non-local goto

2023-02-12 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108765 --- Comment #3 from Martin Uecker --- I see. Thanks. The checking is new? Or just because it is not a release built?

[Bug middle-end/107840] ICE when compiling cursed setjmp/longjmp nested function calls and non-local jumps

2023-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107840 --- Comment #6 from Andrew Pinski --- Reduced testcase: ``` int main() { void foo(void) { __label__ trgt; void jmp(void) { goto trgt; } trgt: ; } foo(); } ```

[Bug middle-end/108765] ICE with non-local goto

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

[Bug middle-end/107840] ICE when compiling cursed setjmp/longjmp nested function calls and non-local jumps

2023-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107840 --- Comment #5 from Andrew Pinski --- *** Bug 108765 has been marked as a duplicate of this bug. ***

[Bug middle-end/108765] ICE with non-local goto

2023-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108765 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0, 6.1.0 Version|13.0

[Bug middle-end/108765] New: ICE with non-local goto

2023-02-12 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108765 Bug ID: 108765 Summary: ICE with non-local goto Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug c/108423] [12/13 Regression] ICE in make_ssa_name_fn with VLA types in arguments and inlining since r12-5338-g4e6bf0b9dd5585df

2023-02-12 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108423 --- Comment #8 from Martin Uecker --- https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611562.html

[Bug c/105660] [12/13 Regression] ICE in warn_parm_array_mismatch when merging two function decls and VLA arguments since r12-1218-gc6503fa93b5565c9

2023-02-12 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105660 --- Comment #11 from Martin Uecker --- PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611817.html

[Bug c++/108761] Add option to produce a unique section for non-COMDAT __attribute__((section("foo"))) object

2023-02-12 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108761 --- Comment #3 from Fangrui Song --- New syntax setting the flags will be useful. Also, currently there is no way to customize the section type.

[Bug objc/108743] -fconstant-cfstrings not supported

2023-02-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108743 --- Comment #8 from Iain Sandoe --- (In reply to Andrew Pinski from comment #7) > Hmm, > https://inbox.sourceware.org/gcc-patches/B4F496F4-F31D-41D2-8942- > 1f0aefbd7...@sandoe-acoustics.co.uk/ > > Seems didn't get installed even though it was

[Bug target/100927] [sse2] floating point to integer conversion functions incorrect results w/ NaN constants + optimization

2023-02-12 Thread michael.crusoe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100927 --- Comment #3 from Michael Crusoe --- Good question, lets check the reference. Summary: it is specified behavior that _mm_cvttpd_epi32 returns Integer Indefinite (8000H) for NaN inputs. All references below are from the December 2022

[Bug target/108764] [RISCV] Cost model for RVB is too aggressive

2023-02-12 Thread sinan.lin at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108764 --- Comment #5 from Sinan --- (In reply to Kito Cheng from comment #3) > > I think one solution is to change the cost model of such complex > > instructions to the sum of the cost for each part. E.g. > > cost for shNadd = COSTS_N_INSNS

[Bug target/108764] [RISCV] Cost model for RVB is too aggressive

2023-02-12 Thread sinan.lin at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108764 --- Comment #4 from Sinan --- (In reply to Andrew Pinski from comment #2) > sllia4,a2,3 > sh3add a5,a2,a0 > > vs > sllia2,a2,3 > add a5,a0,a2 > > I think the first one is better really because you have

[Bug target/108764] [RISCV] Cost model for RVB is too aggressive

2023-02-12 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108764 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #3

[Bug target/100927] [sse2] floating point to integer conversion functions incorrect results w/ NaN constants + optimization

2023-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100927 --- Comment #2 from Andrew Pinski --- Are you sure _mm_cvttpd_epi32 is documented that way? I suspect it is just unspecified behavior.

[Bug target/100927] [sse2] floating point to integer conversion functions incorrect results w/ NaN constants + optimization

2023-02-12 Thread michael.crusoe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100927 Michael Crusoe changed: What|Removed |Added CC||michael.crusoe at gmail dot com ---

[Bug target/108764] [RISCV] Cost model for RVB is too aggressive

2023-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108764 --- Comment #2 from Andrew Pinski --- sllia4,a2,3 sh3add a5,a2,a0 vs sllia2,a2,3 add a5,a0,a2 I think the first one is better really because you have two indepedent instructions and can be issued

[Bug d/108763] va_arg usage in D doesn't compile

2023-02-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108763 --- Comment #6 from ibuclaw at gcc dot gnu.org --- I'll add it as a note to the deviations page. https://gcc.gnu.org/onlinedocs/gdc/Missing-Features.html#Missing-Features I'd actually forgotten about this.

[Bug d/108763] va_arg usage in D doesn't compile

2023-02-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108763 ibuclaw at gcc dot gnu.org changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org