[Bug tree-optimization/114324] [13/14/15 Regression] AVX2 vectorisation performance regression with gfortran 13/14

2025-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114324 --- Comment #10 from Richard Biener --- With -Ofast there's still grouped stores we fail two-lane SLP discovery for, possibly due to re-association. In particular for example _54 = REALPART_EXPR <(*a_19(D))[_27]>; _55 = IMAGPART_EXPR <(*a_

[Bug target/116010] [15 regression] vectorization regressions on arm and aarch64 since r15-491-gc290e6a0b7a9de

2025-01-29 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116010 --- Comment #12 from rguenther at suse dot de --- On Wed, 29 Jan 2025, thiago.bauermann at linaro dot org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116010 > > --- Comment #11 from Thiago Jung Bauermann org> --- > (In reply to Rich

[Bug middle-end/92023] [12/13/14/15 Regression] Miscompilation when inlining operator delete[]

2025-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92023 --- Comment #10 from Richard Biener --- I think we should try to behave better by default here, for QOI reasons. I'm not sure the implementation is conforming. As for how to improve our standard behavior it might be possible to simply ignore a

[Bug libstdc++/118699] New: [MinGW] std::filesystem::copy doesn't work when the second argument is a directory and the first one is a file

2025-01-29 Thread iamsupermouse at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118699 Bug ID: 118699 Summary: [MinGW] std::filesystem::copy doesn't work when the second argument is a directory and the first one is a file Product: gcc Version: 14.2

[Bug tree-optimization/85803] [12/13/14/15 Regression] DSE removes live global store

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85803 --- Comment #15 from Andrew Pinski --- Starting in GCC 13, `-fnon-call-exceptions -O2` works.

[Bug middle-end/118694] OpenMP: target/metadirective/teams directive nesting gives error

2025-01-29 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 --- Comment #1 from sandra at gcc dot gnu.org --- I see the spec does, in fact, prohibit metadirectives that expand into dynamic selector code here -- it's at the bottom of page 324 of the OpenMP 6.0 document. So the problem is just the late res

[Bug c++/102116] structured binding is returned from a function as rvalue in C++20 mode

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102116 --- Comment #6 from Andrew Pinski --- This was item #5 of https://cplusplus.github.io/CWG/issues/2285.html . The resolution for that is "The remaining items are questions for EWG and new items in "extension" status will be opened for them." I

[Bug c++/118698] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug testsuite/116860] Move optimization from match.pd into tree-ssa-reassoc (optimize_range_tests) where it can be more effective

2025-01-29 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116860 Jeffrey A. Law changed: What|Removed |Added Priority|P1 |P2 Summary|[15 Regression]

[Bug c++/118698] [14/15 Regression] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 --- Comment #7 from Andrew Pinski --- Note the reduced testcase worked in GCC 13 but the original testcase was rejected.

[Bug testsuite/116860] [15 Regression] New test case gcc.dg/tree-ssa/fold-xor-and-or.c from r15-3866-ga88d6c6d777ad7 fails

2025-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116860 --- Comment #9 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:15dba7dfba8b7800ac7b74213171e4df9bc32bb9 commit r15-7281-g15dba7dfba8b7800ac7b74213171e4df9bc32bb9 Author: Jeff Law Date: Wed Jan 29

[Bug c++/118698] [14/15 Regression] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 Andrew Pinski changed: What|Removed |Added Known to fail||14.1.0 Target Milestone|---

[Bug c++/118698] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 Andrew Pinski changed: What|Removed |Added Attachment #60327|0 |1 is obsolete|

[Bug c++/118698] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 Andrew Pinski changed: What|Removed |Added Attachment #60326|0 |1 is obsolete|

[Bug c++/118698] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 --- Comment #3 from Andrew Pinski --- Created attachment 60326 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60326&action=edit Semi reduced

[Bug c++/118698] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 --- Comment #2 from Andrew Pinski --- The ICE: ``` :23:17: internal compiler error: in keep_template_parm, at cp/pt.cc:11099 23 | static_assert( is_foo> ); | ^~~~ 0x290bff5 diagnostic_context::diagnostic_imp

[Bug c++/118698] Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 --- Comment #1 from Andrew Pinski --- Created attachment 60325 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60325&action=edit testcase

[Bug libffi/109447] test case libffi.closures/cls_align_longdouble_split.c fails

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109447 Sam James changed: What|Removed |Added Target Milestone|--- |12.4 Resolution|---

[Bug c++/118698] New: Compiler ICE on concept code accepted by MSVC and clang

2025-01-29 Thread davidhunter22 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 Bug ID: 118698 Summary: Compiler ICE on concept code accepted by MSVC and clang Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/118689] [15 regression] Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118689 Sam James changed: What|Removed |Added Last reconfirmed||2025-01-30 Ever confirmed|0

[Bug target/111635] Objects built with -flto cannot be linked with Xcode

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111635 Sam James changed: What|Removed |Added Resolution|--- |WORKSFORME Status|UNCONFIRMED

[Bug c++/118697] New: static_assert message is not escaped

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118697 Bug ID: 118697 Summary: static_assert message is not escaped Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug c/55678] _Static_assert escapes tick marks just to make me mad

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55678 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Andrew P

[Bug tree-optimization/114324] [13/14/15 Regression] AVX2 vectorisation performance regression with gfortran 13/14

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114324 --- Comment #9 from Andrew Pinski --- GCC 14 seems to have improved things over 13 and the trunk changed again. But I can't tell if it is better than 12 though.

[Bug target/115259] [15 Regressions] GCN vs. "tree-optimization/115144 - improve sinking destination choice"

2025-01-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115259 Thomas Schwinge changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Thomas Schwin

[Bug ipa/105227] [12/13/14/15 Regression] ICE in type_in_anonymous_namespace_p, at ipa-utils.h:233 since r9-2502-g143b379d89b12ccc

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105227 --- Comment #8 from Andrew Pinski --- Created attachment 60323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60323&action=edit Reduced testcase

[Bug fortran/108454] ICE in gfc_trans_common, at fortran/trans-common.cc:1385

2025-01-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108454 --- Comment #3 from anlauf at gcc dot gnu.org --- Created attachment 60322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60322&action=edit Patch part 1 This fixes the memory corruption due to false freeing of the symbol during resolution.

[Bug ipa/101625] [12/13/14/15 Regression] ICE in modref_tree::merge with LTO since r11-3825-g71dbabccbfb295c8

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101625 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0 Summary|[12/13/14/15

[Bug testsuite/100346] [12/13/14/15 regression] printf tests fail after r11-6755

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

[Bug middle-end/98209] [12/13/14/15 Regression] printf with _FORTIFY_SOURCE fails with O1+ when using target attribute/pragma to turn off defaults

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209 --- Comment #21 from Andrew Pinski --- Created attachment 60321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60321&action=edit Testcase Note we don't even need to use `-mno-sse` to see the issue even the attached testcase with `-D_FORTIF

[Bug target/116010] [15 regression] vectorization regressions on arm and aarch64 since r15-491-gc290e6a0b7a9de

2025-01-29 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116010 --- Comment #11 from Thiago Jung Bauermann --- (In reply to Richard Biener from comment #10) > Should be fixed. Thanks! I can confirm that the gfortran.dg/vect/vect-8.f90 failure has been fixed on aarch64-linux-gnu. But unfortunately the gcc.

[Bug tree-optimization/89697] [12/13/14/15 Regression] SRA prevents -Wuninitialized warning

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

[Bug rtl-optimization/86685] [12/13/14/15 Regression] 436.cactusADM regression on aarch64

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86685 --- Comment #10 from Andrew Pinski --- Hmm, now that sched1 is turned off by default for GCC 15, isn't this fixed?

gcc trunk a0a202d07339 Linux/Debian/x86-64/trixie/sid fail to build stage2

2025-01-29 Thread Basile Starynkevitch
Hello on Linux/Debian/x86-64/trixie/sid the gcc trunk (commit a0a202d07339) is on /usr/src/Lang/gcc and built in /usr/src/Lang/_GccTrunk configured as '/usr/src/Lang/gcc/configure' '--enable-shared' '--enable-threads=posix' '-- with-default-libstdcxx-abi=new' '--enable-libstdcxx-backtrace' '--di

[Bug rtl-optimization/77499] [12/13/14/15 Regression] Regression after code-hoisting, due to combine pass failing to evaluate known value range

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77499 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2023-09-02 00:00:00 |2025-1-29 --- Comment #26 from Andrew Pi

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #2 from Jakub Jelinek --- Indeed, it is that commit.

[Bug tree-optimization/76957] [12/13/14/15 Regression] XFAIL: gcc.dg/graphite/scop-dsyr2k.c scan-tree-dump-times graphite "number of SCoPs

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

[Bug tree-optimization/76957] [12/13/14/15 Regression] XFAIL: gcc.dg/graphite/scop-dsyr2k.c scan-tree-dump-times graphite "number of SCoPs

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76957 Andrew Pinski changed: What|Removed |Added Target Milestone|12.5|12.0 --- Comment #21 from Andrew Pinski

[Bug rtl-optimization/116073] [15 regression] invalid rtl sharing compiling compiling FileSystem.mod caused by ext-dce

2025-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073 --- Comment #8 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:62abe069506e67d2668e8de7c5e00c118c60d8a7 commit r15-7279-g62abe069506e67d2668e8de7c5e00c118c60d8a7 Author: Gaius Mulley Date: Wed

[Bug rtl-optimization/116073] [15 regression] invalid rtl sharing compiling compiling FileSystem.mod caused by ext-dce

2025-01-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/118183] Unable to rebuild the bootstrap tools

2025-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118183 --- Comment #5 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:62abe069506e67d2668e8de7c5e00c118c60d8a7 commit r15-7279-g62abe069506e67d2668e8de7c5e00c118c60d8a7 Author: Gaius Mulley Date: Wed

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 --- Comment #17 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:62abe069506e67d2668e8de7c5e00c118c60d8a7 commit r15-7279-g62abe069506e67d2668e8de7c5e00c118c60d8a7 Author: Gaius Mulley Date: We

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #6 from Andrew Pinski --- Created attachment 60320 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60320&action=edit ICE in gen_movdi instead of gen_movsi

[Bug middle-end/116651] Memory allocation elision for std::vector like cases

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116651 Bug 116651 depends on bug 110137, which changed state. Bug 110137 Summary: implement clang -fassume-sane-operator-new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 What|Removed |Added

[Bug target/118008] [14/15 regression] ICE when bootstrapping with Go on arm (gen_movdi, at config/arm/arm.md:6296)

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118008 --- Comment #12 from Andrew Pinski --- So PR 118695 has a C testcase for a similar ICE. The problem is the code there is undefined while here it might be well defined (but I am not so sure).

[Bug tree-optimization/96945] unused std::vector is not always optimized away

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96945 Bug 96945 depends on bug 110137, which changed state. Bug 110137 Summary: implement clang -fassume-sane-operator-new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 What|Removed |Added --

[Bug middle-end/116868] GCC trunk doesn't eliminate a superfluous new/delete pair

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116868 Bug 116868 depends on bug 110137, which changed state. Bug 110137 Summary: implement clang -fassume-sane-operator-new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 What|Removed |Added

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 Bug 109442 depends on bug 110137, which changed state. Bug 110137 Summary: implement clang -fassume-sane-operator-new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 What|Removed |Added

[Bug c++/110137] implement clang -fassume-sane-operator-new

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 Sam James changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug d/118477] [12/13/14/15 Regression] Race condition in 'd' Make-lang.in

2025-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118477 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d9ac0ad1e9a4ceec2d354ac0368da7462bea5675 commit r15-7278-gd9ac0ad1e9a4ceec2d354ac0368da7462bea5675 Author: Arsen ArsenoviÄ Date:

[Bug target/118696] [15 Regression] qemu miscompilation on s390x

2025-01-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-01-29 CC|

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #5 from Andrew Pinski --- Note this is undefined code at this point. Even the original code was undefined due to the 0 (nullptr) usage

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 Andrew Pinski changed: What|Removed |Added Attachment #60318|0 |1 is obsolete|

[Bug tree-optimization/85175] [12/13/14/15 regression] false-positive -Wformat-overflow= warning with gcc-8 -Os

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

[Bug target/118696] [15 Regression] qemu miscompilation on s390x

2025-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #1 from Jakub Jelinek --- My bet is r15-7053.

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

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

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #2 from Andrew Pinski --- Created attachment 60318 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60318&action=edit Mostly reduced

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #1 from Andrew Pinski --- gcc_checking_assert (aligned_operand (operands[1], SImode));

[Bug target/118696] [15 Regression] qemu miscompilation on s390x

2025-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |15.0 Priority|P3

[Bug target/118696] New: [15 Regression] qemu miscompilation on s390x

2025-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 Bug ID: 118696 Summary: [15 Regression] qemu miscompilation on s390x Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug target/118695] New: ice in gen_movsi, at config/arm/arm.md:6476

2025-01-29 Thread dcb314 at hotmail dot com via Gcc-bugs
member.cpp does this: dcb@raspberrypi:~/llvm/trunk/clang/test $ ~/gcc/results.20250123/bin/g++ -c -O1 ./Analysis/pointer-to-member.cpp dcb@raspberrypi:~/llvm/trunk/clang/test $ ~/gcc/results.20250129/bin/g++ -c -O1 ./Analysis/pointer-to-member.cpp during RTL pass: expand ./Analysis/pointer-to-memb

[Bug target/70682] [12/13/14/15 Regression] -fcompare-debug building LLVM with checking=release compiler on ppc64le

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70682 --- Comment #12 from Andrew Pinski --- hmm, I thought I saw another one like this that Sam had filed even.

[Bug middle-end/118694] New: OpenMP: target/metadirective/teams directive nesting gives error

2025-01-29 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 Bug ID: 118694 Summary: OpenMP: target/metadirective/teams directive nesting gives error Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/67795] Wrong code generated for conditional expression with cast

2025-01-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67795 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug c++/110850] Evaluation order of assignment operands

2025-01-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110850 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/93181] [12/13/14/15 Regression] -Wuninitialized fails to warn about uninitialized value

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93181 --- Comment #10 from Andrew Pinski --- Folding PHI node: p_3 = PHI Queued PHI for removal. Folds to: &a So yes it is 100% a dup.

[Bug c++/102116] structured binding is returned from a function as rvalue in C++20 mode

2025-01-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102116 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 93181, which changed state. Bug 93181 Summary: [12/13/14/15 Regression] -Wuninitialized fails to warn about uninitialized value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93181 What|Removed

[Bug tree-optimization/18501] [12/13/14/15 Regression] Missing 'used uninitialized' warning (CCP)

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 Andrew Pinski changed: What|Removed |Added Status|REOPENED|NEW Last reconfirmed|2021-04-07 00:00:

[Bug middle-end/93181] [12/13/14/15 Regression] -Wuninitialized fails to warn about uninitialized value

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

[Bug tree-optimization/18501] [12/13/14/15 Regression] Missing 'used uninitialized' warning (CCP)

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 Andrew Pinski changed: What|Removed |Added CC||intvnut at gmail dot com --- Comment #10

[Bug middle-end/99959] [12/13/14/15 Regression] missing -Wuninitialized for an esra variable with TREE_NO_WARNING

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

[Bug middle-end/93181] [12/13/14/15 Regression] -Wuninitialized fails to warn about uninitialized value

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93181 Andrew Pinski changed: What|Removed |Added Keywords||false-negative --- Comment #8 from Andre

[Bug middle-end/92023] [12/13/14/15 Regression] Miscompilation when inlining operator delete[]

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

[Bug middle-end/92023] [12/13/14/15 Regression] Miscompilation when inlining operator delete[]

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92023 --- Comment #8 from Andrew Pinski --- I thought we decided you need to mark the implementation of operator new/operator delete as noipa for this kind of things to work?

[Bug rtl-optimization/90255] [12/13/14/15 regression] r266385 caused code size regressions on Arm, thumb and thumb2

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

[Bug rtl-optimization/90255] [12/13/14/15 regression] r266385 caused code size regressions on Arm, thumb and thumb2

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90255 --- Comment #13 from Andrew Pinski --- It looks like GCC 12/13 is better than 11 but was again regressed in GCC 14.

[Bug fortran/118683] UBSAN: Invalid value for type ar_type since r15-7070-g0d1e62b83561ba

2025-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118683 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b53d19a152cacfb4fcd1abb130d24a1c5dcaef15 commit r14-11261-gb53d19a152cacfb4fcd1abb130d24a1c5dcaef15 Author: Harald Anlauf

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

2025-01-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug middle-end/118691] [15 Regression] gcc_r in SPECCPU 2017 miscompare on train dataset

2025-01-29 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118691 Tamar Christina changed: What|Removed |Added Summary|[15 Regression] gcc_r in|[15 Regression] gcc_r in

[Bug rtl-optimization/88596] [12/13/14/15 Regression] ICE: Maximum number of LRA assignment passes is achieved (30)

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88596 --- Comment #18 from Andrew Pinski --- I can't seem to reproduce any of these testcases. Maybe I am doing something wrong.

[Bug libstdc++/118693] istream& getline (istream& is, string& str, char delim) does not return with long input

2025-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118693 --- Comment #8 from Jonathan Wakely --- N.B. you can use xclip (for X11) or wl-paste (for Wayland) to pipe the clipboard contents to the program's standard input, without involving the tty.

[Bug target/118429] [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276) since r15-6551

2025-01-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118429 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/118429] [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276) since r15-6551

2025-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118429 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:a0a202d07339ff55793029b5bde152c38b90aaf5 commit r15-7277-ga0a202d07339ff55793029b5bde152c38b90aaf5 Author: Richard Sandiford D

[Bug target/115259] [15 Regressions] GCN vs. "tree-optimization/115144 - improve sinking destination choice"

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

[Bug rtl-optimization/116234] [15 Regression] '-fcompare-debug' failure w/ `-mcpu=phecda -O2 -funroll-all-loops -fno-ivopts` since r15-1619-g3b9b8d6cfdf593

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116234 Sam James changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comment #10

[Bug target/115259] [15 Regressions] GCN vs. "tree-optimization/115144 - improve sinking destination choice"

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115259 --- Comment #2 from Andrew Pinski --- Do these work now?

[Bug target/109093] [15 regression] csmith: a February runtime bug ?

2025-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #33 from Jakub Jelinek --- Anyway, the problem is as described earlier, in r14-4971 we have 2 pushes after movq %rsp, %rbp, in r14-4972 and onwards just one, so leaq-80(%rsp), %rsi is again not sufficiently aligned for the vmovdq

[Bug target/55012] Protected visibility wrongly uses GOT-relative addresses

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55012 Bug 55012 depends on bug 19520, which changed state. Bug 19520 Summary: protected function pointer and copy relocation don't work right https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520 What|Removed |Added ---

[Bug target/19520] protected function pointer and copy relocation don't work right

2025-01-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/104180] [12/13/14/15 Regression] '-fcompare-debug' failure (length) w/ -O1

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

[Bug target/115458] [15 regression] [RISC-V] ICE in lra_split_hard_reg_for, at lra-assigns.cc:1868 unable to find a register to spill since r15-518-g99b1daae18c095

2025-01-29 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115458 --- Comment #11 from Jeffrey A. Law --- Hmm. Are we somehow mis-computing the size of the mask operand thinking it takes v0..v7 in the LMUL8 scenario? If so that would mean this instruction consumes the entire vector register file. In isolati

[Bug ipa/99309] [12/13/14/15 Regression] Segmentation fault with __builtin_constant_p usage at -O2

2025-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99309 --- Comment #16 from Jakub Jelinek --- This stops being miscompiled with r15-6052-g12de1942a0a673f9f2f1c2bfce4279a666061ffc So, just different IL from the FE.

[Bug libstdc++/118693] istream& getline (istream& is, string& str, char delim) does not return with long input

2025-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118693 --- Comment #7 from Jonathan Wakely --- Yes, I can reproduce it just using 'wc' on the command line, without using the std::getline code at all. Running wc on the file directly shows it's 4930 bytes, but copying and pasting that file's contents

[Bug middle-end/100733] [12/13/14/15 Regression] -fcompare-debug failure for pr85213.c at -O1 -fdisable-tree-phiopt2

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

[Bug libstdc++/118693] istream& getline (istream& is, string& str, char delim) does not return with long input

2025-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118693 --- Comment #4 from Jonathan Wakely --- Ah, I can reproduce the problem when the program reads from standard input and pasting the text into the terminal. I think it's a shell problem, e.g. only pasting 4kB characters. Reading directly from a f

[Bug libstdc++/118693] istream& getline (istream& is, string& str, char delim) does not return with long input

2025-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118693 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > https://unix.stackexchange.com/questions/131105/how-to-read-over-4k-input- > without-new-lines-on-a-terminal That is it is a limitation in the TTY part of the k

[Bug libstdc++/118693] istream& getline (istream& is, string& str, char delim) does not return with long input

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

[Bug target/115458] [15 regression] [RISC-V] ICE in lra_split_hard_reg_for, at lra-assigns.cc:1868 unable to find a register to spill since r15-518-g99b1daae18c095

2025-01-29 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115458 --- Comment #10 from Robin Dapp --- It's also odd to see single-register spills for an LMUL8 register group, that doesn't seem right. (insn 174 169 180 2 (set (reg:RVVM1SF 247) (reg:RVVM1SF 112 v16)) "pr115458.c":48:33 2749 {*movrvvm1sf

[Bug libstdc++/118693] istream& getline (istream& is, string& str, char delim) does not return with long input

2025-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118693 --- Comment #3 from Jonathan Wakely --- I can't reproduce it with the stock g++ on Fedora 41 either. [test tmp]$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/14/lto-wrapper OFFLOAD_TARGET

  1   2   3   >