[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-22 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 --- Comment #11 from Paul Thomas --- (In reply to Paul Thomas from comment #10) > I guess that I should take it :-) > > Paul I have reverted locally and will do a regression test before pushing, just in case there are subsequent dependencies.

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-22 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 --- Comment #4 from Bernd Edlinger --- The DW_AT_ranges indicates that the subroutine is split over more than one area, in most cases both subroutines do have multiple subranges, but apparently due to slightly different optimization levels only

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:f6b10fe45b9b704fd6a7124ab02c6e6cbd8efce4 commit r15-3098-gf6b10fe45b9b704fd6a7124ab02c6e6cbd8efce4 Author: Andrew Pinski Date: Th

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

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

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 Andrew Pinski changed: What|Removed |Added Assignee|linkw at gcc dot gnu.org |pinskia at gcc dot gnu.org ---

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 --- Comment #3 from Kewen Lin --- (In reply to Andrew Pinski from comment #2) > The easiest fix is todo: > ``` > for (int i = 0; i < N; ++i) > { > a[i] = BASE1 + i * 5; > b[i] = BASE2 - i * 4; > /* b[i] cannot be 0 as tha

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 Kewen Lin changed: What|Removed |Added Target Milestone|--- |15.0 Ever confirmed|0

[Bug fortran/116468] Segmentation fault at intrinsic assignment to allocatable array component of derived type with kind type parameter

2024-08-22 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116468 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 --- Comment #2 from Andrew Pinski --- The easiest fix is todo: ``` for (int i = 0; i < N; ++i) { a[i] = BASE1 + i * 5; b[i] = BASE2 - i * 4; /* b[i] cannot be 0 as that is undefined for `% b[i]`. */ b[i] = b[i] ? b[

[Bug c/96290] nonsensical bounds in VLA types in -Warray-bounds

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96290 --- Comment #2 from Andrew Pinski --- (In reply to Gabriel Ravier from comment #1) > I've encountered a similarly nonsensical error on trunk, though not with > VLAs, instead with a char array of size 0: It is not nonsensical at all. It just has

[Bug fortran/116468] Segmentation fault at intrinsic assignment to allocatable array component of derived type with kind type parameter

2024-08-22 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116468 Jerry DeLisle changed: What|Removed |Added Last reconfirmed||2024-08-23 CC|

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/116468] New: Segmentation fault at intrinsic assignment to allocatable array component of derived type with kind type parameter

2024-08-22 Thread damian at archaeologic dot codes via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116468 Bug ID: 116468 Summary: Segmentation fault at intrinsic assignment to allocatable array component of derived type with kind type parameter Product: gcc Version:

[Bug target/116467] New: missed optimization: zero-extension duplicated on xtensa

2024-08-22 Thread rsaxvc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116467 Bug ID: 116467 Summary: missed optimization: zero-extension duplicated on xtensa Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/55212] [SH] Switch to LRA

2024-08-22 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #185 from Kazumoto Kojima --- Unfortunately, nothing new showed up in running gcc/g++ testsuite for sh-elf+sim with -mlra. OTOH, the segfault can be reproduced on qemu with the patched stage2 compiler built with -g -O2 -mlra -m4. gd

[Bug c++/113454] [14 regression] "assignment of read-only member" error with 483.xalancbmk from SPEC CPU 2006

2024-08-22 Thread edison_chan_gz at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113454 --- Comment #5 from edison --- Thanks for your reply, could you provide the patch for gcc 14.1?

[Bug middle-end/111933] memcpy on Xtensa not optimized when n == sizeof(uint32_t) or sizeof(uint64_t)

2024-08-22 Thread rsaxvc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111933 rsaxvc at gmail dot com changed: What|Removed |Added CC||rsaxvc at gmail dot com --- Co

[Bug middle-end/116465] __builtin_eh_pointer ICEs when passed seemingly any argument

2024-08-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116465 --- Comment #2 from Gabriel Ravier --- Looked into it a bit more and the root cause seems to be that gcc/tree-eh.cc:lower_eh_constructs_2, when attempting to handle the case where the user partakes in a little tomfoolery with its builtins (i.e.

[Bug middle-end/116465] __builtin_eh_pointer ICEs when passed seemingly any argument

2024-08-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116465 --- Comment #1 from Gabriel Ravier --- (PS: I have no idea what this is caused by, somehow an assignment statement with no left hand side appears to be generated ?)

[Bug target/116466] New: The standard instruction pattern of RISC-V addv has generated an unnecessary instruction.

2024-08-22 Thread leidian900 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116466 Bug ID: 116466 Summary: The standard instruction pattern of RISC-V addv has generated an unnecessary instruction. Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug c/116465] New: __builtin_eh_pointer ICEs when passed seemingly any argument

2024-08-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116465 Bug ID: 116465 Summary: __builtin_eh_pointer ICEs when passed seemingly any argument Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c/96290] nonsensical bounds in VLA types in -Warray-bounds

2024-08-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96290 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 --- Comment #5 from Tamar Christina --- Yeah, This is because they generate different gimple sequences and thus different SLP trees. The core of the problem is there's no canonical form here, and a missing gimple simplification rule: _33 = IM

[Bug tree-optimization/101139] Unable to remove double byteswap in fast path

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101139 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Created attachment 57993 [details] > Patch but it does not work for the code in this testcase > > I have to look into why it is not working for the testcase in

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #9 from Alexander Monakov --- Okay, if you take the addition and the branch from the inlined variant: addl %eax, %edx je .L3 and add a 'test' instruction: addl %eax, %edx test %edx, %edx je .L3 then Valgrind doesn't complain. So

[Bug testsuite/116464] [15 regression] new test gcc.dg/torture/pr116420.c from r15-3095-gc9377734b798d8 fails

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116464 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:da043f9c7172bcbfda0cdb570fb3a979a4b1a525 commit r15-3096-gda043f9c7172bcbfda0cdb570fb3a979a4b1a525 Author: Andrew Pinski Date: Th

[Bug testsuite/116464] [15 regression] new test gcc.dg/torture/pr116420.c from r15-3095-gc9377734b798d8 fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116464 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/116464] [15 regression] new test gcc.dg/torture/pr116420.c from r15-3095-gc9377734b798d8 fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116464 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail Status|UNCON

[Bug other/116464] New: [15 regression] new test gcc.dg/torture/pr116420.c from r15-3095-gc9377734b798d8 fails

2024-08-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116464 Bug ID: 116464 Summary: [15 regression] new test gcc.dg/torture/pr116420.c from r15-3095-gc9377734b798d8 fails Product: gcc Version: 15.0 Status: UNCONFIRMED S

[Bug bootstrap/105474] GCC fails to bootstrap with --disable-libstdcxx

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105474 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/63287] __STDCPP_THREADS__ is not defined

2024-08-22 Thread alisdairm at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63287 --- Comment #7 from Alisdair Meredith --- Late comment: according to [intro.multithread.general] it is a requirement for hosted implementations to support more than one thread of execution, but implementation defined for a free-standing implement

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #8 from Alexander Monakov --- Thanks for the reference, but it doesn't help. Something more subtle is going on, because placing the shift-add combo in a separate function makes Valgrind properly compute known bits even without the ma

[Bug driver/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304 --- Comment #19 from Andrew Pinski --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2024-August/661228.html

[Bug driver/104707] GCC doesn't give default lib path to the linker when multilib is off

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > Testing removal of this part from the driver. Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2024-August/661228.html

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-22 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 --- Comment #2 from Bernd Edlinger --- no forget it, this might make arm unhappy... lets try this instead: --- a/gcc/testsuite/gcc.dg/debug/dwarf2/inline7.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/inline7.c @@ -1,9 +1,9 @@ -/* Verify that both

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #7 from Mark Wielaard --- You could try --expensive-definedness-checks=yes --expensive-definedness-checks= [default: auto] Controls whether Memcheck should employ more precise but also more expensive (ti

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 Andrew Pinski changed: What|Removed |Added Attachment #58978|0 |1 is obsolete|

[Bug c++/113746] [14/15 Regression] ICE: tree check: expected enumeral_type, have error_mark in tsubst_expr, at cp/pt.cc:21458 with missing typename since r14-4796-g3e3d73ed5e85e7

2024-08-22 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113746 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 Andrew Pinski changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 Andrew Pinski changed: What|Removed |Added Attachment #58977|0 |1 is obsolete|

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #6 from Alexander Monakov --- As for Valgrind false positive, it handles this SSSE3 code really well and misses the key point by a very narrow margin. We have found = m1 + (m2 << 16); where both m1 and m2 hold 16-bit masks from p

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-22 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de ---

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 --- Comment #1 from Andrew Pinski --- Created attachment 58977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58977&action=edit Reduced testcase options: `-ftree-vectorize -fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-commo

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116463] New: [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 Bug ID: 116463 Summary: [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug rtl-optimization/116420] [15 Regression] wrong code at -O{2,3} with "-fno-forward-propagate -fno-tree-ch" on x86_64-linux-gnu

2024-08-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116420 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug other/116462] New: [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 Bug ID: 116462 Summary: [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails Product: gcc Version: 15.0 St

[Bug rtl-optimization/116420] [15 Regression] wrong code at -O{2,3} with "-fno-forward-propagate -fno-tree-ch" on x86_64-linux-gnu

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116420 --- Comment #4 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:c9377734b798d8d311dfd3a5618dc49407703b93 commit r15-3095-gc9377734b798d8d311dfd3a5618dc49407703b93 Author: Jeff Law Date: Thu Aug 22

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 Alexander Monakov changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #4 from Andrew Pinski --- (In reply to Alessandro Astone from comment #1) > Cannot attach intermediate files because the size is too large. > Sorry that I don't have a minimal reproducer :/ Is there a place where you could upload th

[Bug libfortran/105361] Incorrect end-of-file condition for derived-type I/O

2024-08-22 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361 Jerry DeLisle changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #18 from Jerry DeL

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker Target Milestone|---

[Bug fortran/106606] Internal compiler error with abstract derived type using recursive class() components. since r7-4096-gbf9f15ee55f5b291

2024-08-22 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106606 Paul Thomas changed: What|Removed |Added CC||vehre at gmx dot de --- Comment #5 from P

[Bug other/116461] New: New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 Bug ID: 116461 Summary: New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

[Bug fortran/106606] Internal compiler error with abstract derived type using recursive class() components. since r7-4096-gbf9f15ee55f5b291

2024-08-22 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106606 --- Comment #4 from Paul Thomas --- Created attachment 58976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58976&action=edit Full testcase that fails in runtime The patch regtests OK but the attached fails in runtime, as it does with ifo

Re: K-12 schools, colleges, universities Contacts 2024

2024-08-22 Thread isabella cooper via Gcc-bugs
Hi there, Want to expand your outreach to K-12 schools, colleges, universities? Our email list of principals, superintendents, and key decision-makers is ideal for you! Our List Includes: * Principals * Superintendents * Board Members * Department Heads List Contains:- First N

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-22 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #29 from andi at firstfloor dot org --- The semantics of -foptimize-sibling-calls do not change. However if your program depends on sbling calls for correctness it should migrate to the new attribute

[Bug target/115921] Missed optimization: and->ashift might be cheaper than ashift->and on typical RISC targets

2024-08-22 Thread Jovan.Vukic--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921 Jovan Vukic changed: What|Removed |Added CC||jovan.vu...@rt-rk.com --- Comment #2 from

[Bug middle-end/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-22 Thread ales.astone at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #3 from Alessandro Astone --- (In reply to Andrew Pinski from comment #2) > Can you try adding -fchecking and seeing if that fails differently? No, it fails in the same way. BTW i realize i didn't specify this other than mentioning

[Bug middle-end/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #2 from Andrew Pinski --- Can you try adding -fchecking and seeing if that fails differently?

[Bug lto/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-22 Thread ales.astone at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #1 from Alessandro Astone --- Cannot attach intermediate files because the size is too large. Sorry that I don't have a minimal reproducer :/

[Bug lto/116460] New: ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-22 Thread ales.astone at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 Bug ID: 116460 Summary: ppc64le: LTO ICE during GIMPLE pass: forwprop Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/116329] no sibcalling for thumb1 (cortex-m0)

2024-08-22 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116329 Richard Earnshaw changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRM

[Bug c/84052] Using Randomizing structure layout plugin in linux kernel compilation doesn't generate proper debuginfo

2024-08-22 Thread ezannoni at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84052 ezannoni changed: What|Removed |Added CC||ezannoni at gmail dot com --- Comment #10 fro

[Bug c++/116439] [14/15 Regression] decltype(auto) in return type of lambda uses the type of the outer scope, not the capture

2024-08-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116439 Patrick Palka changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug rtl-optimization/116420] [15 Regression] wrong code at -O{2,3} with "-fno-forward-propagate -fno-tree-ch" on x86_64-linux-gnu

2024-08-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116420 --- Comment #3 from Jeffrey A. Law --- Fun. The DF framework provides us a way to run dataflow problems on sub-graphs. Naturally a bitmap of interesting blocks is passed into those routines. At a confluence point, the DF framework will not m

[Bug tree-optimization/116348] [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 since r15-2791-g2083389a18d366

2024-08-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116348 --- Comment #10 from Xi Ruoyao --- I've tested the change and it fixes PR116314 case as well. Richard: do you want me to send your change as a patch like before (the PR116142 fix)?

[Bug rtl-optimization/116420] [15 Regression] wrong code at -O{2,3} with "-fno-forward-propagate -fno-tree-ch" on x86_64-linux-gnu

2024-08-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116420 Jeffrey A. Law changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/116459] gcc 12.2.0 optimized out functions which has observable side affect

2024-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 --- Comment #8 from Jonathan Wakely --- (In reply to xiaohuba2021 from comment #0) > struct Matrix { > long long mat[2][2]; > Matrix() { memset(mat, 0, sizeof(mat)); } N.B. there's no miscompilation if you change this to the more idioma

[Bug c++/116459] gcc 12.2.0 optimized out functions which has observable side affect

2024-08-22 Thread xiaohuba2021 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 --- Comment #7 from xiaohuba2021 --- Created attachment 58975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58975&action=edit The miscompiled program

[Bug c++/116459] gcc 12.2.0 optimized out functions which has observable side affect

2024-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 --- Comment #6 from Jonathan Wakely --- Regression started with with r12-2523 and was fixed by r13-7206, which was backported as r12-9476. So this is a dup of either PR ipa/107769 or PR ipa/109318.

[Bug c++/116459] gcc 12.2.0 optimized out functions which has observable side affect

2024-08-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5 fr

[Bug c++/116459] gcc 12.2.0 optimized out functions which has observable side affect

2024-08-22 Thread xiaohuba2021 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 --- Comment #4 from xiaohuba2021 --- Yes, it seems that only 12.1 and 12.2 are affected. But I wonder what's the cause of it, and are there any patches for it?

[Bug c++/116424] [13/14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/116459] gcc 12.2.0 optimized out functions which has observable side affect

2024-08-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 Richard Biener changed: What|Removed |Added Known to fail||12.1.0, 12.2.0 Known to work|

[Bug c++/116459] gcc 12.2.0 optimized out functions which has observable side affect

2024-08-22 Thread xiaohuba2021 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 --- Comment #2 from xiaohuba2021 --- > Uncomment line 20 (mask = 1) or explicitly add operator= for struct Matrix > solves this problem. sorry, the code above produces the correct answer, since line 20 is uncommented. Comment it and it will ou

[Bug c++/116459] gcc 12.0 optimized out functions which has observable side affect

2024-08-22 Thread xiaohuba2021 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 xiaohuba2021 changed: What|Removed |Added CC||xiaohuba2021 at 163 dot com --- Comment

[Bug c++/116459] New: gcc 12.0 optimized out functions which has observable side affect

2024-08-22 Thread xiaohuba2021 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459 Bug ID: 116459 Summary: gcc 12.0 optimized out functions which has observable side affect Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-08-22 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 101390, which changed state. Bug 101390 Summary: Expand vector mod as vector div + multiply-subtract https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101390 What|Removed |Added -

[Bug tree-optimization/101390] Expand vector mod as vector div + multiply-subtract

2024-08-22 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101390 Jennifer Schmitz changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/116365] Add user-friendly arguments to --param aarch64-autovec-preference=N

2024-08-22 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116365 Jennifer Schmitz changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/116361] lto1: fatal error: multiple prevailing defs when using both LTO and OpenMP named critical sections with static libraries

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116361 --- Comment #6 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:a98dd536b1017c2b814a3465206c6c01b2890998 commit r15-3088-ga98dd536b1017c2b814a3465206c6c01b2890998 Author: H.J. Lu Date: Wed Aug 21 07

[Bug middle-end/116454] [12/13/14 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice since r0-77972-g9f5396713d9e18

2024-08-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[12/13/14/15 R

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice since r0-77972-g9f5396713d9e18

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 --- Comment #10 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b07f8a301158e53717b8688cc8ea430b6f02574c commit r15-3087-gb07f8a301158e53717b8688cc8ea430b6f02574c Author: Andrew Pinski Date:

[Bug middle-end/116358] [15 Regression] undefined reference to `__umindi3' at -O3 when compiling with SVE since r15-2890-g72c9b5f438f22c

2024-08-22 Thread tsamismanolis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116358 --- Comment #5 from Manolis Tsamis --- I had some trouble figuring the preferred way to address this. I made a choice by answering these questions: 1) Should the aarch64 min/max expand pattern be improved? This comment hints that we should get

[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-22 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comme

[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-22 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 --- Comment #9 from Paul Thomas --- (In reply to Sam James from comment #7) > The unreliable nature of the failure keeps confusing people. Any chance of a > revert until it can be fixed properly? It is such an unreliable failure that I haven't

[Bug target/116365] Add user-friendly arguments to --param aarch64-autovec-preference=N

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116365 --- Comment #2 from GCC Commits --- The master branch has been updated by Jennifer Schmitz : https://gcc.gnu.org/g:313aa733e22b654ff822b867018b13ceb624c13a commit r15-3085-g313aa733e22b654ff822b867018b13ceb624c13a Author: Jennifer Schmitz Dat

[Bug debug/87440] GCC creates debug that confuses gdb

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87440 --- Comment #7 from GCC Commits --- The master branch has been updated by Bernd Edlinger : https://gcc.gnu.org/g:bcb33b1237042e9540a905d9de19219f876e26c0 commit r15-3083-gbcb33b1237042e9540a905d9de19219f876e26c0 Author: Bernd Edlinger Date:

[Bug debug/37801] DWARF output for inlined functions doesn't always use DW_TAG_inlined_subroutine

2024-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37801 --- Comment #15 from GCC Commits --- The master branch has been updated by Bernd Edlinger : https://gcc.gnu.org/g:bcb33b1237042e9540a905d9de19219f876e26c0 commit r15-3083-gbcb33b1237042e9540a905d9de19219f876e26c0 Author: Bernd Edlinger Date:

[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 --- Comment #8 from Xi Ruoyao --- Raising to P1 because now automatic regression tracker has started to "bisect" on this and blame random people.

[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 Xi Ruoyao changed: What|Removed |Added Priority|P3 |P1

[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 --- Comment #7 from Sam James --- The unreliable nature of the failure keeps confusing people. Any chance of a revert until it can be fixed properly?

[Bug c++/115716] [12/13/14/15 regression] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16364

2024-08-22 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115716 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/116449] Miscompilation and missing bounds check with UBSAN with pointer to member functions and array accesses

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116449 --- Comment #4 from Andrew Pinski --- (In reply to Franz Sirl from comment #3) > Isn't the missing bounds check on parr[c] on purpose? It's added with > -fsanitize=bounds-strict. You might be right, I misread the original qnd gimple dump. But I

[Bug libstdc++/116455] Should std::noop_coroutine() be constexpr?

2024-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116455 --- Comment #7 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > I think the standard does not define it as constexpr which is why it is not > constexpr in libstdc++. Right, the standard does not allow implementations to ad

[Bug c++/116449] Miscompilation and missing bounds check with UBSAN with pointer to member functions and array accesses

2024-08-22 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116449 --- Comment #3 from Franz Sirl --- Isn't the missing bounds check on parr[c] on purpose? It's added with -fsanitize=bounds-strict.

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Host|

[Bug c/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #4 from David Binderman --- (In reply to Alexander Monakov from comment #3) > David, thanks for Cc'ing me and for running Valgrind builds! You are welcome. Its a normal weekly part of gcc testing for me. > "Wobbly values" aside, ju

[Bug c/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #3 from Alexander Monakov --- David, thanks for Cc'ing me and for running Valgrind builds! Richi, I'll check in more detail later today, I think we should unbreak Valgrind builds ASAP by initializing padding under #ifdef ENABLE_VALG

  1   2   >