[Bug tree-optimization/113551] [13 Regression] Miscompilation with -O1 -funswitch-loops -fno-strict-overflow

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113551 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/113462] ICE: in handle_cast, at gimple-lower-bitint.cc:1539 at -O with _BitInt() in a struct

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113462 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5015015ae6b29b3f1734c7693ba25b88cdd531a1 commit r14-8349-g5015015ae6b29b3f1734c7693ba25b88cdd531a1 Author: Jakub Jelinek Date: T

[Bug tree-optimization/113551] [13 Regression] Miscompilation with -O1 -funswitch-loops -fno-strict-overflow

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113551 Richard Biener changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Priority|P1

[Bug rust/113553] New: rust fails to build on spar64-linux-gnu

2024-01-23 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113553 Bug ID: 113553 Summary: rust fails to build on spar64-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #12 from JuzheZhong --- (In reply to Richard Biener from comment #11) > (In reply to Tamar Christina from comment #9) > > There is a weird costing going on in the PHI nodes though: > > > > m_108 = PHI 1 times vector_stmt costs 0 in

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #13 from rguenther at suse dot de --- On Tue, 23 Jan 2024, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 > > --- Comment #12 from JuzheZhong --- > (In reply to Richard Biener from comment

[Bug modula2/113554] New: [14 Regression] m2 fails to build on x86_64-linux-gnux32

2024-01-23 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113554 Bug ID: 113554 Summary: [14 Regression] m2 fails to build on x86_64-linux-gnux32 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #14 from JuzheZhong --- I just tried again both GCC-13.2 and GCC-14 with -fno-vect-cost-model. https://godbolt.org/z/enEG3qf5K GCC-14 requires scalar epilogue loop, whereas GCC-13.2 doesn't. I believe it's not cost model issue.

[Bug middle-end/113364] [14 regression] ICE verify_ssa: `definition in block N does not dominate use in block` with `-O3 -march=znver2`

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113364 Richard Biener changed: What|Removed |Added Last reconfirmed|2024-01-13 00:00:00 |2024-1-23 --- Comment #12 from Richard

[Bug middle-end/113364] [14 regression] ICE verify_ssa: `definition in block N does not dominate use in block` with `-O3 -march=znver2`

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113364 --- Comment #13 from Tamar Christina --- Yes I had to rerun my baseline after updating trunk. Will post patch once peak finishes

[Bug ipa/107931] [12/13/14 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #25 from Richard Biener --- Btw, I'd rather go the opposite and make the testcase at hand always invalid and diagnosed which means diagnose taking the address of always-inline declared functions and never emit an out-of-line body for

[Bug middle-end/113364] [14 regression] ICE verify_ssa: `definition in block N does not dominate use in block` with `-O3 -march=znver2`

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113364 --- Comment #14 from Tamar Christina --- Yes I had to rerun my baseline after updating trunk. Will post patch once peak finishes

[Bug c/113555] New: Yet another failure in verify_ssa

2024-01-23 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Today's gcc trunk says: $ ~/gcc/results.20240123.asan.ubsan/bin/gcc -c -O3 -w bug1000.c $ ~/gcc/results.20240123.asan.ubsan/bin/gcc -c -O3 -w -march=znver3 bug1000.c bug1000.c: In fun

[Bug ipa/107931] [12/13/14 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2024-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #26 from Jakub Jelinek --- (In reply to Richard Biener from comment #25) > Btw, I'd rather go the opposite and make the testcase at hand always invalid > and diagnosed which means diagnose taking the address of always-inline > declar

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org --- Comm

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 --- Comment #3 from Tamar Christina --- (In reply to Richard Biener from comment #1) > Hum, the vectorizer looks at the simd specs and if it says 1-lane variants > (simdlen == 1) are available it will happily create them. > My understanding is

[Bug c++/107058] [11/12/13/14 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 since r11-5003-gd50310408f54e380

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107058 Richard Biener changed: What|Removed |Added Component|debug |c++ --- Comment #5 from Richard Biener

[Bug middle-end/113540] missing -Warray-bounds warning with malloc and a simple loop

2024-01-23 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113540 --- Comment #2 from Vincent Lefèvre --- Thanks for the explanations, but why in the following case void foo (void) { volatile char t[4]; for (int i = 0; i <= 4; i++) t[i] = 0; return; } does one get the warning (contrary to the use o

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 --- Comment #4 from Tamar Christina --- (In reply to nsz from comment #2) > is this fortran only? > No it should be C as well, I was just reducing from a Fortran workload that failed so I can see what the vectorizer was doing.

[Bug target/113556] New: gcc.dg/vect/vect-simd-clone-16c.c etc. FAIL

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113556 Bug ID: 113556 Summary: gcc.dg/vect/vect-simd-clone-16c.c etc. FAIL Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targ

[Bug target/113556] gcc.dg/vect/vect-simd-clone-16c.c etc. FAIL

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113556 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/113524] FAIL: gcc.dg/torture/pr113026-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for bogus messages, line 10)

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113524 Rainer Orth changed: What|Removed |Added Target|hppa*-*-linux* |hppa*-*-linux*, |

[Bug tree-optimization/113524] FAIL: gcc.dg/torture/pr113026-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for bogus messages, line 10)

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113524 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/113557] gcc.dg/vect/vect-multi-peel-gaps.c FAILs

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113557 --- Comment #1 from Rainer Orth --- Created attachment 57192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57192&action=edit 32-bit sparc-sun-solaris2.11 vect-multi-peel-gaps.c.179t.vect

[Bug tree-optimization/113557] gcc.dg/vect/vect-multi-peel-gaps.c FAILs

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113557 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/113557] New: gcc.dg/vect/vect-multi-peel-gaps.c FAILs

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113557 Bug ID: 113557 Summary: gcc.dg/vect/vect-multi-peel-gaps.c FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug c++/112820] vtable not emitted correctly from module when compiling with -g

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112820 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:affef534b0335592336c82918f15242576e2ab8f commit r14-8350-gaffef534b0335592336c82918f15242576e2ab8f Author: Nathaniel Shead Date:

[Bug c++/102607] [modules] option -g results in undefined reference to `typeinfo for type`

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102607 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:affef534b0335592336c82918f15242576e2ab8f commit r14-8350-gaffef534b0335592336c82918f15242576e2ab8f Author: Nathaniel Shead Date:

[Bug testsuite/113558] New: [14 regression] gcc.dg/vect/vect-outer-4c-big-array.c etc. FAIL

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113558 Bug ID: 113558 Summary: [14 regression] gcc.dg/vect/vect-outer-4c-big-array.c etc. FAIL Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/113558] [14 regression] gcc.dg/vect/vect-outer-4c-big-array.c etc. FAIL

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113558 --- Comment #1 from Rainer Orth --- Created attachment 57193 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57193&action=edit 32-bit sparc-sun-solaris2.11 vect-outer-4c-big-array.c.179t.vect

[Bug testsuite/113558] [14 regression] gcc.dg/vect/vect-outer-4c-big-array.c etc. FAIL

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113558 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 Tamar Christina changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Tamar Christi

[Bug c++/107058] [11/12/13/14 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 since r11-5003-gd50310408f54e380

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107058 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e2f3057fc911f9f55986b3de237b0155c0e09fe8 commit r14-8351-ge2f3057fc911f9f55986b3de237b0155c0e09fe8 Author: Richard Biener Date:

[Bug c++/107058] [11/12/13/14 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 since r11-5003-gd50310408f54e380

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107058 Richard Biener changed: What|Removed |Added Keywords||ice-checking --- Comment #7 from Richa

[Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 Bug ID: 113559 Summary: gm2/isolib/run/pass/seqappend.mod FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug c/113555] Yet another failure in verify_ssa

2024-01-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113555 --- Comment #1 from David Binderman --- Second test case: char LZ4_decompress_generic_source; void LZ4_decompress_generic_endOnInput() { char *ip = &LZ4_decompress_generic_source; while (1) { long length; if (length) { unsigne

[Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs

2024-01-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug debug/7853] gcc reports multiple symbol definitions on the wrong line

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7853 Richard Biener changed: What|Removed |Added Known to work||13.2.1, 4.3.4 Status|NEW

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #15 from rguenther at suse dot de --- On Tue, 23 Jan 2024, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 > > --- Comment #14 from JuzheZhong --- > I just tried again both GCC-13.2 and GCC

[Bug ipa/107931] [12/13/14 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2024-01-23 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #27 from rguenther at suse dot de --- On Tue, 23 Jan 2024, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 > > --- Comment #26 from Jakub Jelinek --- > (In reply to Richard Biener from comment

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #16 from Tamar Christina --- (In reply to rguent...@suse.de from comment #13) > > > You could check if we call this with sane values. > > > > Do you mean it's RISC-V backend cost model issue ? > > I responded to Tamar which means a

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #

[Bug modula2/113511] lack of libm2 ABI compatibility on powerpc platforms

2024-01-23 Thread gaiusmod2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113511 --- Comment #2 from gaiusmod2 at gmail dot com --- "rguenth at gcc dot gnu.org" writes: > There's also the question on compatibility to libgm2 from GCC 13. indeed - I guess the -mabi could be retained for backward compatibility. > I suppose t

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 --- Comment #7 from Richard Biener --- OK, maybe the costing is simply not taking into account that we chose the simdlen == 1 variant which _does_ exist! It's the chosen one: 4052bestn = cgraph_node::get (simd_clone_info[0]); (gdb) p b

[Bug target/113114] [14 Regression] ICE compiling gcc.c-torture/execute/pr59643.cwith -mabi=ilp32; in try_promote_writeback aarch64-ldp-fusion.cc

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113114 --- Comment #9 from GCC Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:20e18106fac2d11ee43683291ff11d76da41d50b commit r14-8353-g20e18106fac2d11ee43683291ff11d76da41d50b Author: Alex Coplan Date: Thu J

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 --- Comment #8 from Richard Biener --- diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index 09749ae3817..1ddbe7a2f6b 100644 --- a/gcc/tree-vect-stmts.cc +++ b/gcc/tree-vect-stmts.cc @@ -4071,7 +4071,7 @@ vectorizable_simd_clone_cal

[Bug target/113114] [14 Regression] ICE compiling gcc.c-torture/execute/pr59643.cwith -mabi=ilp32; in try_promote_writeback aarch64-ldp-fusion.cc

2024-01-23 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113114 Alex Coplan changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/112989] [14 Regression] GC ICE with C++, `#include ` and `-fsanitize=address`

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989 --- Comment #16 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:659a5a908edd84894c2aa7f6f89468217d6894ca commit r14-8354-g659a5a908edd84894c2aa7f6f89468217d6894ca Author: Richard Sandiford D

[Bug tree-optimization/110603] [14 Regression] GCC, ICE: internal compiler error: in verify_range, at value-range.cc:1104 since r14-255

2024-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110603 Jakub Jelinek changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #5 f

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 --- Comment #10 from Richard Biener --- I'll fix the exact_log2 issue.

[Bug testsuite/113418] Use of vect_* target selectors in tests out of vect directories

2024-01-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113418 --- Comment #5 from Xi Ruoyao --- For pr104992.c: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643697.html

[Bug tree-optimization/104992] [missed optimization] x / y * y == x not optimized to x % y == 0

2024-01-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104992 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #5 fr

[Bug debug/8108] Problem in the code generator for C and the linker is extremelly slow

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8108 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/8188] DW_AT_containing_type incorrectly emitted

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8188 Richard Biener changed: What|Removed |Added Last reconfirmed|2005-12-28 06:14:46 |2024-1-23 CC|

[Bug debug/8354] Incorrect DWARF-2/3 emitted for const + array

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8354 Richard Biener changed: What|Removed |Added Last reconfirmed|2005-12-28 06:14:12 |2024-1-23 --- Comment #14 from Richard B

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #17 from Tamar Christina --- Ok, bisected to g:2efe3a7de0107618397264017fb045f237764cc7 is the first bad commit commit 2efe3a7de0107618397264017fb045f237764cc7 Author: Hao Liu Date: Wed Dec 6 14:52:19 2023 +0800 tree-optimiz

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #18 from Richard Biener --- (In reply to Tamar Christina from comment #17) > Ok, bisected to > > g:2efe3a7de0107618397264017fb045f237764cc7 is the first bad commit > commit 2efe3a7de0107618397264017fb045f237764cc7 > Author: Hao Liu

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #19 from Richard Biener --- (In reply to Richard Biener from comment #18) > (In reply to Tamar Christina from comment #17) > > Ok, bisected to > > > > g:2efe3a7de0107618397264017fb045f237764cc7 is the first bad commit > > commit 2ef

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #20 from Richard Biener --- (In reply to Richard Biener from comment #19) > (In reply to Richard Biener from comment #18) > > (In reply to Tamar Christina from comment #17) > > > Ok, bisected to > > > > > > g:2efe3a7de01076183972640

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #21 from Richard Biener --- On aarch64 I can see already GCC 13.2 looking very much different from 12.3, but I can't decipher the code to decide whether 12.3 vectorizes the loop or not. trunk looks similar to 13.2 here, so the bisect

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #22 from Tamar Christina --- for me with `-fno-vect-cost-model` on without this commit we generate https://gist.github.com/Mistuke/d9252bfcb2aa766327c5f377e162f5b7 for the loop and with the commit well.. it doesn't fit on the screen

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 --- Comment #11 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d5d43dc399bb0f15084827c59a025189c630afdd commit r14-8357-gd5d43dc399bb0f15084827c59a025189c630afdd Author: Richard Biener Date:

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #23 from Tamar Christina --- tamar:~/gcc-dsg/test$ extract-toolchain gcc 2efe3a7de01 A 1514 files D 0 files M 0 files Extracted 'origin/manygcc-basepoints-gcc-14-6292-g2f512f6fcdd:2efe3a7de01' > ./bin/gcc -S -o ../

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #24 from JuzheZhong --- (In reply to Richard Biener from comment #19) > (In reply to Richard Biener from comment #18) > > (In reply to Tamar Christina from comment #17) > > > Ok, bisected to > > > > > > g:2efe3a7de0107618397264017fb

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 --- Comment #9 from GCC Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:e0374b028a665a2ea8d6eb2b4e5862774e9e85c2 commit r14-8358-ge0374b028a665a2ea8d6eb2b4e5862774e9e85c2 Author: Alex Coplan Date: Thu J

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 --- Comment #12 from GCC Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:ef86659da9de59896fb0128eef418224299267e9 commit r14-8361-gef86659da9de59896fb0128eef418224299267e9 Author: Alex Coplan Date: Fri

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 --- Comment #10 from GCC Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:fce3994d04fc5d7d1c91f6db5a1f144aa291439a commit r14-8359-gfce3994d04fc5d7d1c91f6db5a1f144aa291439a Author: Alex Coplan Date: Fri

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 --- Comment #11 from GCC Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:6dd613df59060fb54c4e3f66f39cf59bc44d118a commit r14-8360-g6dd613df59060fb54c4e3f66f39cf59bc44d118a Author: Alex Coplan Date: Fri

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #25 from Tamar Christina --- > > void record_nonwrapping_chrec (tree chrec) > > { > > - CHREC_NOWRAP(chrec) = 1; > > + CHREC_NOWRAP(chrec) = 0; > > > >if (dump_file && (dump_flags & TDF_SCEV)) > > { > > Hmmm. With exp

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-23 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 Alex Coplan changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/113560] New: Strange code generated when optimizing a multiplication on x86_64

2024-01-23 Thread accelerator0099 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113560 Bug ID: 113560 Summary: Strange code generated when optimizing a multiplication on x86_64 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug modula2/113554] [14 Regression] m2 fails to build on x86_64-linux-gnux32

2024-01-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113554 H.J. Lu changed: What|Removed |Added Target Milestone|--- |14.0 Ever confirmed|0

[Bug c/113438] ICE (segfault) in dwarf2out_decl with -g -std=c23 on c23-tag-composite-2.c

2024-01-23 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113438 --- Comment #4 from uecker at gcc dot gnu.org --- Created attachment 57194 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57194&action=edit preliminary patch

[Bug modula2/113554] [14 Regression] m2 fails to build on x86_64-linux-gnux32

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113554 --- Comment #2 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:2bdf138a0d0141065fa9a8efa2ff86f211888a59 commit r14-8362-g2bdf138a0d0141065fa9a8efa2ff86f211888a59 Author: H.J. Lu Date: Tue Jan 23 05

[Bug modula2/113554] [14 Regression] m2 fails to build on x86_64-linux-gnux32

2024-01-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113554 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/113364] [14 regression] ICE verify_ssa: `definition in block N does not dominate use in block` with `-O3 -march=znver2`

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113364 --- Comment #15 from Tamar Christina --- Ok, the fix fixes the ICE but after rebasing to trunk I get a misscompile during bootstrap which miscompiles the x86 backend. This is likely related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113539

[Bug c/100789] [11/12/13/14 Regression] ICE with __transaction_relaxed and left shift signed overflow

2024-01-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100789 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|mpolacek at gcc

[Bug target/113255] [11/12/13 Regression] wrong code with -O2 -mtune=k8

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113255 --- Comment #14 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec commit r14-8363-g3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec Author: H.J. Lu <(no_default)> Date:

[Bug c++/113544] [14 Regression] bogus incomplete type error with dependent data member in local class in generic lambda since r14-278

2024-01-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113544 Patrick Palka changed: What|Removed |Added Keywords||ice-on-valid-code CC|

[Bug c/113555] Yet another failure in verify_ssa

2024-01-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113555 --- Comment #2 from David Binderman --- For the first source code, the bug seems to exist sometime between 20231119 and 20231227. Git hashes are g:eaeaad3fcac4d7a3 and g:f19ceb2d49afdfa5 Please ignore the second source code - it is a separate

[Bug testsuite/113558] [14 regression] gcc.dg/vect/vect-outer-4c-big-array.c etc. FAIL

2024-01-23 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113558 --- Comment #2 from Robin Dapp --- Created attachment 57195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57195&action=edit Tentative patch Ah, it looks like nothing is being vectorized at all and the second check just happened to match

[Bug c/113561] New: yet more verify_ssa fails

2024-01-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113561 Bug ID: 113561 Summary: yet more verify_ssa fails Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug tree-optimization/113555] Yet another failure in verify_ssa

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113555 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code CC|

[Bug target/113560] Strange code generated when optimizing a multiplication on x86_64

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113560 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status

[Bug tree-optimization/113561] yet more verify_ssa fails

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113561 Richard Biener changed: What|Removed |Added Component|c |tree-optimization See Also|

[Bug tree-optimization/113555] Yet another failure in verify_ssa

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113555 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug debug/10466] Can't debug the first function in a C file that is included in another C file

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10466 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug debug/10499] Debug information for some C++ headers is missing classes (template specific?)

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499 Richard Biener changed: What|Removed |Added CC||jason at gcc dot gnu.org Last reconfi

[Bug debug/12385] Full debug info not emitted for C++ classes with external virtual functions

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12385 Richard Biener changed: What|Removed |Added Known to work||13.2.0 Resolution|---

[Bug debug/10499] Debug information for some C++ headers is missing classes (template specific?)

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499 Bug 10499 depends on bug 12385, which changed state. Bug 12385 Summary: Full debug info not emitted for C++ classes with external virtual functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12385 What|Removed

[Bug debug/19954] Compiler emits incomplete structure type

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19954 Bug 19954 depends on bug 12385, which changed state. Bug 12385 Summary: Full debug info not emitted for C++ classes with external virtual functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12385 What|Removed

[Bug debug/14022] asm() should start a new line table entry

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14022 Richard Biener changed: What|Removed |Added Last reconfirmed|2005-12-20 18:28:59 |2024-1-23 --- Comment #4 from Richard B

[Bug middle-end/113364] [14 regression] ICE verify_ssa: `definition in block N does not dominate use in block` with `-O3 -march=znver2`

2024-01-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113364 --- Comment #16 from Tamar Christina --- Ok, I've submitted the patch since the ICE and miscompare are unrelated. I'll keep this ticket open in any case. The miscompares didn't happen based on commits from ~2 weeks ago, So this will give me a

[Bug debug/14168] Unneeded DIEs output for imported declarations

2024-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14168 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Last recon

[Bug debug/113562] New: [14 Regression] FAIL: gcc.dg/guality/pr54796.c

2024-01-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113562 Bug ID: 113562 Summary: [14 Regression] FAIL: gcc.dg/guality/pr54796.c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

2024-01-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113467 --- Comment #17 from Sam James --- it was educational ;) fwiw, no more miscompilations found yet with this

[Bug libstdc++/113294] constexpr error from accessing inactive union member in basic_string after move assignment

2024-01-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113294 Patrick Palka changed: What|Removed |Added Last reconfirmed||2024-01-23 Status|UNCONFIRM

[Bug target/113356] [14 Regression][aarch64] ICE in try_fuse_pair, at config/aarch64/aarch64-ldp-fusion.cc:2203 since r14-6947-g4b67ec7ff5b1aa

2024-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113356 --- Comment #5 from GCC Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:639ae543449a8d6525303458497bd4b897660ec3 commit r14-8367-g639ae543449a8d6525303458497bd4b897660ec3 Author: Alex Coplan Date: Mon J

  1   2   3   >