[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-15 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #2 from Haochen Jiang --- I just revised a lot more mnemonics in Binutils first to catch up with Binutils 2.44 freeze this Sunday. Thus, there would be more tests compiling with latest Binutils fail. They are expected. I am working

[Bug c++/118488] New: [OpenMP] Return types and templates with 'declare variant' mishandled

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118488 Bug ID: 118488 Summary: [OpenMP] Return types and templates with 'declare variant' mishandled Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openmp,

[Bug target/118489] New: [15 Regression][avx512] ICE in ix86_expand_vector_bf2sf_with_vec_perm, at config/i386/i386-expand.cc:26917 since r15-4955-g648bd1fcc6acfc

2025-01-15 Thread mjires at gcc dot gnu.org via Gcc-bugs
master/configure --prefix=/home/mjires/built/master --disable-bootstrap --enable-languages=c,c++,fortran,lto --disable-multilib --disable-libsanitizer --enable-checking Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250115 (experimental) (GCC)

[Bug tree-optimization/58483] missing optimization opportunity for const std::vector compared to std::array

2025-01-15 Thread dl.soluz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483 --- Comment #25 from dennis luehring --- (In reply to dennis luehring from comment #24) > > However if I do not rename main to main2 I get in #0 testcase: > > also with main2 it gets optimized with gcc trunk on gcc.godbolt correction: it works

[Bug middle-end/118490] [15 Regression] ICE Indefinite recursion transforming exp-log with -frounding-math since r15-5116-ge232dc3bb5c3e8

2025-01-15 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118490 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug c++/118486] [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118486 --- Comment #3 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:b67a0d6aca0c049e14e44c3f28ce3806680543ef commit r15-6911-gb67a0d6aca0c049e14e44c3f28ce3806680543ef Author: Tobias Burnus Date: W

[Bug target/118485] [15 Regression] gnat fails to build on m68k-linux-gnu-gnu

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118485 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug tree-optimization/118483] Missed optimization due to cast being used more than once

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 --- Comment #3 from Richard Biener --- Created attachment 60162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60162&action=edit patch for adding :S This adds :S and removes the single_use from the offending pattern. We don't seem to sim

[Bug c++/118124] [15 Regression] ICE in in expand_expr_real_2, at expr.cc:9761 on nss-3.101.2

2025-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118124 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f263f2d525eb9a1b60c2a356eb64262819b6bab0 commit r15-6907-gf263f2d525eb9a1b60c2a356eb64262819b6bab0 Author: Jakub Jelinek Date: W

[Bug tree-optimization/115825] [12/13/14 Regression] Loop unrolling increases code size with -Os

2025-01-15 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 --- Comment #22 from Jan Hubicka --- > /* If there is pure/const call in the function, then we can > still optimize the unrolled loop body if it contains some > other interesting code than the calls and code s

[Bug tree-optimization/118476] [12/13/14 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #11 from Richard Biener --- (In reply to Andrew Pinski from comment #10) > (In reply to Andrew Pinski from comment #9) > > > > But this also means there might be some missed optimizations now on the > > trunk due to that. Let me fin

[Bug tree-optimization/118483] Missed optimization due to cast being used more than once

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Ever co

[Bug target/118489] [15 Regression][avx512] ICE in ix86_expand_vector_bf2sf_with_vec_perm, at config/i386/i386-expand.cc:26917 since r15-4955-g648bd1fcc6acfc

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118489 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/118487] [15 Regression] ICE tree check: expected vector_cst, have ssa_name in vector_cst_encoded_nelts, at tree.h:4683 since r15-5563-g1c4d39ada33d36

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118487 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Status|UNCONFIRMED

[Bug tree-optimization/114074] [12/13/14/15 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r8-343

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114074 Richard Biener changed: What|Removed |Added Keywords||needs-testcase --- Comment #14 from Ri

[Bug middle-end/118490] New: [15 Regression] ICE Indefinite recursion transforming exp-log with -frounding-math since r15-5116-ge232dc3bb5c3e8

2025-01-15 Thread mjires at gcc dot gnu.org via Gcc-bugs
home/mjires/built/master --disable-bootstrap --enable-languages=c,c++,fortran,lto --disable-multilib --disable-libsanitizer --enable-checking Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250115 (experimental) (GCC)

[Bug tree-optimization/118487] [15 Regression] ICE tree check: expected vector_cst, have ssa_name in vector_cst_encoded_nelts, at tree.h:4683 since r15-5563-g1c4d39ada33d36

2025-01-15 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118487 Christoph Müllner changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Christ

[Bug tree-optimization/115494] [14/15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r14-3485

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115494 --- Comment #14 from Richard Biener --- It is somewhat of a representational issue given we translate dependend expressions using leaders in the translated set but the expression sets contain the original defs (which would have been pruned if th

[Bug tree-optimization/118481] missed removing of an if at the gimple level

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118481 --- Comment #2 from Richard Biener --- I think we should be able to VN them the same so that PRE discovers the full redundancy. Oh we do: Value numbering stmt = _4 = VIEW_CONVERT_EXPR(a.0_1); Setting value number of _4 to _4 (changed) ... Valu

[Bug target/118182] RISC-V: Miscompile for 410.bwaves, 416.gamess and 465.tonto from spec2006

2025-01-15 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118182 Kito Cheng changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/118478] [OpenMP][5.0] Use defined assignment for FIRSTPRIVATE etc., if available

2025-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118478 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/118487] New: [15 Regression] ICE tree check: expected vector_cst, have ssa_name in vector_cst_encoded_nelts, at tree.h:4683 since r15-5563-g1c4d39ada33d36

2025-01-15 Thread mjires at gcc dot gnu.org via Gcc-bugs
isable-libsanitizer --enable-checking Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250115 (experimental) (GCC)

[Bug ipa/116068] [15 Regression] ICE: in bitmap_alloc, at bitmap.cc:785 with -Os -flto -ffat-lto-objects -floop-parallelize-all

2025-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116068 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/118387] ICE on spaceship for empty class member: in genericize_spaceship, at cp/method.cc:1101

2025-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118387 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/118483] Missed optimization due to cast being used more than once

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 --- Comment #2 from Richard Biener --- Caused by r6-2364-g2fde61e3caf4c4 We eventually might want to have a "stronger" :s which would allow simplification to a constant/singleton (but allow then unused garbage to be collected on the temporary s

[Bug c++/118124] [15 Regression] ICE in in expand_expr_real_2, at expr.cc:9761 on nss-3.101.2

2025-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118124 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/109849] suboptimal code for vector walking loop

2025-01-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #40 from Jonathan Wakely --- Yes please - thanks for catching it.

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

2025-01-15 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 117079, which changed state. Bug 117079 Summary: [15 Regression] FAIL: gcc.target/i386/pr105493.c since r15-2820-gab18785840d7b8 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117079 What|Removed

[Bug tree-optimization/117079] [15 Regression] FAIL: gcc.target/i386/pr105493.c since r15-2820-gab18785840d7b8

2025-01-15 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117079 Christoph Müllner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/118472] [15 Regression] ICE : tree check: expected none of vector_type, have vector_type in operand_equal_p, at fold-const.cc:3749

2025-01-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118472 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/116586] All uses of absolute timeouts should correctly handle negative times

2025-01-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116586 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/118472] [15 Regression] ICE : tree check: expected none of vector_type, have vector_type in operand_equal_p, at fold-const.cc:3749

2025-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118472 --- Comment #4 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:25eb892a8c1587ab720e92548874f0d600aa842e commit r15-6914-g25eb892a8c1587ab720e92548874f0d600aa842e Author: Tamar Christina Date:

[Bug c++/118463] requires-clause considered ill-formed but not leading to clause failure

2025-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118463 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/67491] [meta-bug] concepts issues

2025-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 118463, which changed state. Bug 118463 Summary: requires-clause considered ill-formed but not leading to clause failure https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118463 What|Removed

[Bug analyzer/118500] no diagnostics with strsep(3) and [[gnu::malloc(free)]] attribute

2025-01-15 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118500 --- Comment #4 from Alejandro Colomar --- (In reply to Andrew Pinski from comment #1) > I think this need analyzer to handle really. We get a -Wfree-nonheap-object if I change the strsep(3) call by s++. I think we should treat any call that ge

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-15 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug c++/118396] [15 regression] -O1+ leads to reading uninitialized data when virtual destructor is present since r15-6369-gfa99002538bc91

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396 --- Comment #8 from Andrew Pinski --- Created attachment 60165 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60165&action=edit Fixed up removing hard coded size_t, use __SIZE_TYPE__ instead and removed __assert_failure Just some small ch

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-15 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug c++/105220] [CWG2589] concept evaluation and friendship

2025-01-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105220 --- Comment #4 from Jason Merrill --- Further discussion raised that the parameter mapping lives somewhere on the border. Consider https://godbolt.org/z/TEsWhd5oG template concept C = B; struct A { template void f() requires C; }; struct B

[Bug target/118019] RISC-V: Performance regression in hottest function of X264

2025-01-15 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118019 --- Comment #14 from Vineet Gupta --- (In reply to Robin Dapp from comment #7) > > The problem is GCC-15 has performance regression compare to GCC-14 on both > > strict align and we should fix it, we can't specify use no strict align in > > GCC-

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2025-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #25 from GCC Commits --- The master branch has been updated by Eugene Rozenfeld : https://gcc.gnu.org/g:e683c6b029f809c7a1981b4341c95d9652c22e18 commit r15-6933-ge683c6b029f809c7a1981b4341c95d9652c22e18 Author: Eugene Rozenfeld Da

[Bug analyzer/118500] no diagnostics with strsep(3) and [[gnu::malloc(free)]] attribute

2025-01-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118500 --- Comment #2 from Sam James --- With -O0/-O1, we do get -Wanalyzer-malloc-leak. It gets lost with >= -O2 unless we use noinine on my_strdup. Not sure if that's another case of PR100717 and so on (we have a bunch of bugs for attributes being lo

[Bug fortran/118441] [15 Regression] [openmp] ICE with assignment of PACK of string array

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118441 Tobias Burnus changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug analyzer/118500] no diagnostics with strsep(3) and [[gnu::malloc(free)]] attribute

2025-01-15 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118500 --- Comment #3 from Alejandro Colomar --- (In reply to Sam James from comment #2) > With -O0/-O1, we do get -Wanalyzer-malloc-leak. It gets lost with >= -O2 > unless we use noinine on my_strdup. Not sure if that's another case of > PR100717 and

[Bug c++/118396] [15 regression] -O1+ leads to reading uninitialized data when virtual destructor is present since r15-6369-gfa99002538bc91

2025-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396 --- Comment #9 from Marek Polacek --- This difference seems to be the problem: -vector::vector (&items_, (const struct Data &) &TARGET_EXPR >>>) >; +vector::vector (&items_, (const struct Data &) &TARGET_EXPR ) >;

[Bug target/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 --- Comment #2 from Andrew Pinski --- Created attachment 60166 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60166&action=edit Reduced further

[Bug tree-optimization/114277] [12/13/14/15 Regression] Missed optimization: x*(x||b) => x

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #9 from Andrew Pinski --- > But reviewing that hunk made me realize that we did have the right bits in > place to test for 0/1 values during expansion. So instead of recognizing the > multiplication as a conditional move, we could

[Bug tree-optimization/102705] [12/13/14/15 Regression] Dead Code Elimination Regression at -O3 since r12-2637-g145bc41dae7c7bfa093d61e77346f98e6a595a0e

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102705 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug rtl-optimization/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 --- Comment #1 from Sam James --- The testcase looks really familiar..

[Bug rtl-optimization/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 Sam James changed: What|Removed |Added Keywords||ice-on-valid-code See Also|

[Bug target/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

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

[Bug tree-optimization/114277] [12/13/14/15 Regression] Missed optimization: x*(x||b) => x

2025-01-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #8 from Jeffrey A. Law --- So I was playing with the patch Raphael and I put together a bit more. A few things to note. First, if we're going to use the match.pd bits in some way, they need to be conditional on GIMPLE. If used on

[Bug c++/118396] [15 regression] -O1+ leads to reading uninitialized data when virtual destructor is present since r15-6369-gfa99002538bc91

2025-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396 --- Comment #10 from Marek Polacek --- We have: TARGET_EXPR so object=D.2996 whose type is Data, so we do not go down the VOID_TYPE_P path in cxx_eval_outermost_constant_expr, and evaluate the whole init to VOID_CST. Obviously, that should

[Bug c++/19501] Redundant "template" keyword rejected

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19501 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-15 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 --- Comment #11 from Peter Bergner --- (In reply to Sam James from comment #8) > I'm still seeing this, but I think it's an actual bug, not a testism. I will restate that Surya's IRA commit is a correct fix, so the missed-optimization bug lies

[Bug rtl-optimization/118502] Add shrink wrapping testcase for vector::push_back

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118502 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-16 Status|UNCONFIRM

[Bug c++/118501] New: aarch64: ICE in simplify_context::simplify_subreg

2025-01-15 Thread gcc at abeckmann dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 Bug ID: 118501 Summary: aarch64: ICE in simplify_context::simplify_subreg Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug d/118495] Unable to build gdc (D compiler) for MinGW-w64

2025-01-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/118483] [12/13/14/15 Regression] Missed optimization due to cast being used more than once

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 Andrew Pinski changed: What|Removed |Added Known to fail||5.1.0 Known to work|

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-15 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #5 from kargls at comcast dot net --- (In reply to Thomas Koenig from comment #3) > (In reply to kargls from comment #2) > > Not Thomas, but ... > > > > https://j3-fortran.org/doc/year/24/24-116.txt > > > > The exponentiation operat

[Bug target/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 --- Comment #4 from Andrew Pinski --- xorsign didn't change But what did change was `struct s1` changed into a V2DF mode. and now a subreg of that causes issues. Maybe this needs to be force_subreg now ...

[Bug target/118501] [14/15 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 --- Comment #5 from Andrew Pinski --- >Note: the code originates from thrust, not from libstdc++! And the reason why it works with libstdc++s' complex definition is because libstdc++ uses _Complex for double types and not arrays or fields.

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-15 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #6 from kargls at comcast dot net --- (In reply to kargls from comment #5) > (In reply to Thomas Koenig from comment #3) > Yes, please lift the restriction. I ran into this issue while > writing a testcase as well. As J3 is not con

[Bug target/118489] [15 Regression][avx512] ICE in ix86_expand_vector_bf2sf_with_vec_perm, at config/i386/i386-expand.cc:26917 since r15-4955-g648bd1fcc6acfc

2025-01-15 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118489 Hongtao Liu changed: What|Removed |Added Last reconfirmed|2025-01-16 00:00:00 | Target Milestone|15.0

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-15 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #3 from Thomas Koenig --- (In reply to kargls from comment #2) > Not Thomas, but ... > > https://j3-fortran.org/doc/year/24/24-116.txt > > The exponentiation operator ** shall not be applied to UNSIGNED values. That was something

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #3) > (In reply to kargls from comment #2) > > Not Thomas, but ... > > > > https://j3-fortran.org/doc/year/24/24-116.txt > > > > The exponentiation operat

[Bug c++/118396] [15 regression] -O1+ leads to reading uninitialized data when virtual destructor is present since r15-6369-gfa99002538bc91

2025-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396 --- Comment #7 from Marek Polacek --- // PR c++/118396 extern "C" void __assert_fail(const char *, const char *); void *operator new(unsigned long, void *__p) { return __p; } struct Foo { virtual ~Foo() = default; }; struct Data { int sta

[Bug tree-optimization/102705] [12/13/14/15 Regression] Dead Code Elimination Regression at -O3 since r12-2637-g145bc41dae7c7bfa093d61e77346f98e6a595a0e

2025-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102705 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:903ab914dd48c3131ded0cf427da50c23168024c commit r15-6929-g903ab914dd48c3131ded0cf427da50c23168024c Author: Andrew Pinski Date: T

[Bug tree-optimization/102705] [12/13/14/15 Regression] Dead Code Elimination Regression at -O3 since r12-2637-g145bc41dae7c7bfa093d61e77346f98e6a595a0e

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102705 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|12.5

[Bug tree-optimization/111148] Missing boolean optimizations due to comparisons

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48 Andrew Pinski changed: What|Removed |Added Depends on||118483 --- Comment #3 from Andrew Pinsk

[Bug target/118489] [15 Regression][avx512] ICE in ix86_expand_vector_bf2sf_with_vec_perm, at config/i386/i386-expand.cc:26917 since r15-4955-g648bd1fcc6acfc

2025-01-15 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118489 Hongtao Liu changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at

[Bug rtl-optimization/118502] New: Add shrink wrapping testcase for vector::push_back

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118502 Bug ID: 118502 Summary: Add shrink wrapping testcase for vector::push_back Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization, needs-

[Bug target/118489] [15 Regression][avx512] ICE in ix86_expand_vector_bf2sf_with_vec_perm, at config/i386/i386-expand.cc:26917 since r15-4955-g648bd1fcc6acfc

2025-01-15 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118489 Hongtao Liu changed: What|Removed |Added Last reconfirmed||2025-01-16 Status|UNCONFIRMED

[Bug tree-optimization/118492] Move retrieval of virtual table pointers out of the loop

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118492 Andrew Pinski changed: What|Removed |Added Keywords||alias --- Comment #1 from Andrew Pinski

[Bug tree-optimization/118483] [12/13/14/15 Regression] Missed optimization due to cast being used more than once

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 --- Comment #9 from Andrew Pinski --- Created attachment 60167 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60167&action=edit patch which I am testing for this

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2025-01-15 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 113026, which changed state. Bug 113026 Summary: Bogus -Wstringop-overflow warning on simple memcpy type loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 What|Removed |Added

[Bug tree-optimization/118492] Move retrieval of virtual table pointers out of the loop

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

[Bug tree-optimization/118503] [15 Regression] gcc-15.0.0_pre20250112 ICE with webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal compiler error: in exact_div, at poly-int.h:2160 1424 | bool JSBig

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118503 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug tree-optimization/118464] [15 Regression] gcc-15.0.0_pre20250112 ICE with opencv-4.10.0 using -O2/-ftree-loop-vectorize: memory_descriptor_ref.cpp:94:19: internal compiler error: in exact_div, at

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118464 --- Comment #11 from Andrew Pinski --- *** Bug 118503 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/118503] New: [15 Regression] gcc-15.0.0_pre20250112 ICE with webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal compiler error: in exact_div, at poly-int.h:2160 1424 | bool

2025-01-15 Thread ted.d.rodgers at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118503 Bug ID: 118503 Summary: [15 Regression] gcc-15.0.0_pre20250112 ICE with webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal compiler error: in exact_div, at poly-int.h:2160 1424

[Bug tree-optimization/118503] [15 Regression] gcc-15.0.0_pre20250112 ICE with webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal compiler error: in exact_div, at poly-int.h:2160 1424 | bool JSBig

2025-01-15 Thread ted.d.rodgers at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118503 --- Comment #1 from Ted Rodgers --- Created attachment 60168 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60168&action=edit reduced UnifiedSource-f2e18ffc-19.cpp.ii

[Bug tree-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/115895] [15 Regression] FAIL: gcc.dg/vect/pr115385.c execution test with -march=znver4 --param partial-vector-usage=2

2025-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115895 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1b5d2ccd060ce983c7459ee165275e0205271396 commit r15-6939-g1b5d2ccd060ce983c7459ee165275e0205271396 Author: Richard Biener Date:

[Bug tree-optimization/115895] [15 Regression] FAIL: gcc.dg/vect/pr115385.c execution test with -march=znver4 --param partial-vector-usage=2

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

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

2025-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115895, which changed state. Bug 115895 Summary: [15 Regression] FAIL: gcc.dg/vect/pr115385.c execution test with -march=znver4 --param partial-vector-usage=2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115895

[Bug tree-optimization/118483] [12/13/14/15 Regression] Missed optimization due to cast being used more than once

2025-01-15 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 --- Comment #10 from rguenther at suse dot de --- On Wed, 15 Jan 2025, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 > > --- Comment #6 from Andrew Pinski --- > I am not sure we need the :S in the end

[Bug tree-optimization/118506] Missing FMA for `(a + 1.0) * b`

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118506 Andrew Pinski changed: What|Removed |Added Depends on||56547 --- Comment #1 from Andrew Pinski

[Bug tree-optimization/118503] [15 Regression] gcc-15.0.0_pre20250112 ICE with webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal compiler error: in exact_div, at poly-int.h:2160 1424 | bool JSBig

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118503 --- Comment #5 from Andrew Pinski --- Created attachment 60169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60169&action=edit Slightly reduced from the reduced testcase

[Bug tree-optimization/118503] [15 Regression] gcc-15.0.0_pre20250112 ICE with webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal compiler error: in exact_div, at poly-int.h:2160 1424 | bool JSBig

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118503 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Created attachment 60169 [details] > Slightly reduced from the reduced testcase Any more manual inlining causes the ICE to go away. Because of the uninitialized

[Bug tree-optimization/118504] New: Bogus -Wstringop-overflow warning on simple memcpy type loop

2025-01-15 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118504 Bug ID: 118504 Summary: Bogus -Wstringop-overflow warning on simple memcpy type loop Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 113026, which changed state. Bug 113026 Summary: Bogus -Wstringop-overflow warning on simple memcpy type loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 What|Removed |Added

[Bug tree-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org

[Bug tree-optimization/118503] [15 Regression] gcc-15.0.0_pre20250112 ICE with webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal compiler error: in exact_div, at poly-int.h:2160 1424 | bool JSBig

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118503 --- Comment #4 from Andrew Pinski --- Note this creduced testcase is full of uninitialized variables.

[Bug tree-optimization/113026] Bogus -Wstringop-overflow warning on simple memcpy type loop

2025-01-15 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 Alexandre Oliva changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/113026] Bogus -Wstringop-overflow warning on simple memcpy type loop

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 Andrew Pinski changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug rtl-optimization/118505] New: [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-15 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 Bug ID: 118505 Summary: [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab Product: gcc Version: 15.0 Status: UNCONFIRMED Seve

[Bug rtl-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-15 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 --- Comment #1 from Dhruv Chawla --- I'm not sure if this is an aarch64-specific issue or a middle-end issue, so I've filed it under aarch64 for now.

[Bug tree-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 --- Comment #3 from Andrew Pinski --- Note there is also a fma forming missing: _69 = s_64 + 1.0e+0; ... _71 = _69 * _70; which is: `(s_64 + 1.0) * _70` which can be rewritten as `s_64 * _70 + _70` That might alone get the performance

[Bug tree-optimization/118506] New: Missing FMA for `(a + 1.0) * b`

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118506 Bug ID: 118506 Summary: Missing FMA for `(a + 1.0) * b` Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Prio

[Bug tree-optimization/67886] Incomplete optimization for virtual function call into freshly constructed object

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67886 --- Comment #4 from Andrew Pinski --- Note in this example the reason why GCC able to optimize this way (even without something like -fstrict-vtable-pointers) is because GCC is able to speculatively devirtualize the inner function call (that mean

  1   2   >