[Bug middle-end/114069] Type punning RISC-V and SVE vectors causes ICE at -O1

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114069 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/110163] [14/15 Regression] Comparing against a constant string is inefficient on some targets

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110163 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/103433] ICE in convert_move, at expr.c:219

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103433 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/114069] Type punning RISC-V and SVE vectors causes ICE at -O1

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114069 Bug 114069 depends on bug 103433, which changed state. Bug 103433 Summary: ICE in convert_move, at expr.c:219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103433 What|Removed |Added

[Bug target/111428] RISC-V vector: Flaky segfault in {min|max}val_char_{1|2}.f90

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111428 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-03-03 Status|UNCONFIR

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for x86-64?

2025-03-02 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #14 from Hongtao Liu --- (In reply to H.J. Lu from comment #13) > (In reply to H.J. Lu from comment #11) > > Created attachment 60609 [details] > > An untested patch > > Hongtao, do you have SPEC CPU2017 data on this patch? I haven

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for x86-64?

2025-03-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 --- Comment #15 from H.J. Lu --- (In reply to Hongtao Liu from comment #14) > (In reply to H.J. Lu from comment #13) > > (In reply to H.J. Lu from comment #11) > > > Created attachment 60609 [details] > > > An untested patch > > > > Hongtao, do

[Bug tree-optimization/89967] Inefficient code generation for vld2q_lane_u8 under aarch64

2025-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89967 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > There is also a missing clobber; let me file a bug for that ... It might not matter so I am not filing a bug right now.

[Bug target/119084] LoongArch: __builtin_lsx_vldx can be incorrectly reordered

2025-03-02 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119084 --- Comment #4 from chenglulu --- This is indeed a significant issue. The operation of loading memory does not indicate that it is operating on memory.

[Bug lto/119067] [14/15 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-03-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug rtl-optimization/119071] [12/13/14/15 Regression] Miscompile at -O2

2025-03-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/119069] 519.lbm_r runs 60% slower with -Ofast -flto -march=znver5 on an AMD Zen5 machine than when compiled with GCC 14 (or with -march=znver4)

2025-03-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119069 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 fro

[Bug tree-optimization/119086] New: __builtin_constant_p is missing opportunities

2025-03-02 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119086 Bug ID: 119086 Summary: __builtin_constant_p is missing opportunities Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug fortran/47928] Gfortran intrinsics documentation paragraph ordering illogical

2025-03-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47928 --- Comment #6 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:d8f5e1b0ba01ac65dbae98daa065109f18b87751 commit r15-7781-gd8f5e1b0ba01ac65dbae98daa065109f18b87751 Author: Sandra Loosemore Date

[Bug fortran/47928] Gfortran intrinsics documentation paragraph ordering illogical

2025-03-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47928 --- Comment #8 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:9edd165ea897b49946f68eebeac160f4c55b29b6 commit r15-7783-g9edd165ea897b49946f68eebeac160f4c55b29b6 Author: Sandra Loosemore Date

[Bug fortran/47928] Gfortran intrinsics documentation paragraph ordering illogical

2025-03-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47928 --- Comment #7 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:1f458cfc17775903ab85bda127d0454014f70906 commit r15-7782-g1f458cfc17775903ab85bda127d0454014f70906 Author: Sandra Loosemore Date

[Bug fortran/47928] Gfortran intrinsics documentation paragraph ordering illogical

2025-03-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47928 --- Comment #9 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:43f2bc4aee3f1302e70e41c23770e6fcca4ff5fc commit r15-7784-g43f2bc4aee3f1302e70e41c23770e6fcca4ff5fc Author: Sandra Loosemore Date

[Bug c++/119090] New: [MAME] [Model 1] 3D graphics are full of glitches if built with CXXFLAGS="-march=native -mtune=native"

2025-03-02 Thread redwindwanderer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119090 Bug ID: 119090 Summary: [MAME] [Model 1] 3D graphics are full of glitches if built with CXXFLAGS="-march=native -mtune=native" Product: gcc Version: 14.2.0 Status: UNCON

[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/119075] LWG4140 seems incompletely implemented

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119075 --- Comment #2 from Jonathan Wakely --- I think [member.functions] allows us to define private constructors. The test case above seems extremely contrived and unlikely to reflect any real code.

[Bug libstdc++/119081] libstdc++.modules.json generated with incorrect relative path if configured with '--prefix=/' or '--prefix=' (empty)

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119081 --- Comment #2 from Jonathan Wakely --- In theory you could want /bin/gcc and /include/c++/15.0.0/* and /lib64/libgcc_s.so ... but I don't see why anybody would.

[Bug target/119090] [MAME] [Model 1] 3D graphics are full of glitches if built with CXXFLAGS="-march=native -mtune=native"

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

[Bug libstdc++/119089] FAIL: 23_containers/vector/debug/assign4_backtrace_neg.cc -std=gnu++17 (test for excess errors)

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119089 --- Comment #6 from Jonathan Wakely --- https://sourceware.org/bugzilla/show_bug.cgi?id=32625

[Bug libstdc++/119075] LWG4140 seems incompletely implemented

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119075 --- Comment #3 from Jonathan Wakely --- You can construct a contrived testcase that fails the same way due to the _Bit_reference(_Bit_type*, _Bit_type) constructor: #include #include struct X { X(int, int) { } }; int test2(std::vector::refe

[Bug libstdc++/119089] FAIL: 23_containers/vector/debug/assign4_backtrace_neg.cc -std=gnu++17 (test for excess errors)

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119089 --- Comment #5 from Jonathan Wakely --- Isn't this a glibc change, and you need to regenerate the gcc fixincludes headers after updating glibc?

[Bug libstdc++/119089] FAIL: 23_containers/vector/debug/assign4_backtrace_neg.cc -std=gnu++17 (test for excess errors)

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119089 --- Comment #7 from Jonathan Wakely --- Or https://sourceware.org/bugzilla/show_bug.cgi?id=32621 rather

[Bug libstdc++/119089] FAIL: 23_containers/vector/debug/assign4_backtrace_neg.cc -std=gnu++17 (test for excess errors)

2025-03-02 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119089 --- Comment #8 from John David Anglin --- (In reply to Jonathan Wakely from comment #5) > Isn't this a glibc change, and you need to regenerate the gcc fixincludes > headers after updating glibc? That could have happened. Will investigate. Th

[Bug libstdc++/119075] LWG4140 seems incompletely implemented

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119075 --- Comment #4 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > Reading pr 115098 seems to this on purpose. It was, but I can't find where we use that default constructor now. Maybe it can be removed now. That doesn't chan

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #23 from Jeffrey A. Law --- This has devolved into a bit of a mess. If we look at the repeating sequence in the original report we get: li a5,16842752 addia5,a5,257 sllia0,a5,32 add

[Bug libstdc++/119075] LWG4140 seems incompletely implemented

2025-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119075 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > You can construct a contrived testcase that fails the same way due to the > _Bit_reference(_Bit_type*, _Bit_type) constructor: > > #include > #include >

[Bug target/119091] New: RISC-V eliminate redundancies in constant synthesis

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119091 Bug ID: 119091 Summary: RISC-V eliminate redundancies in constant synthesis Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug target/109279] RISC-V: complex constants synthesized should be improved

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

[Bug libstdc++/119081] libstdc++.modules.json generated with incorrect relative path if configured with '--prefix=/' or '--prefix=' (empty)

2025-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119081 --- Comment #4 from Andrew Pinski --- (In reply to Cyano Hao from comment #3) > Empty prefix can be used to avoid hard-coded absolute paths so compilers can > be copied/moved anywhere. GCC has relocation support in it and has since at least 201

[Bug target/106585] RISC-V: Miss optimization with code gen for zbs

2025-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106585 Xi Ruoyao changed: What|Removed |Added Summary|RISC-V: Mis-optimized code |RISC-V: Miss optimization

[Bug ipa/119093] New: ICE: in function_and_variable_visibility, at ipa-visibility.cc:715

2025-03-02 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119093 Bug ID: 119093 Summary: ICE: in function_and_variable_visibility, at ipa-visibility.cc:715 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/119084] LoongArch: __builtin_lsx_vldx can be incorrectly reordered

2025-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119084 Xi Ruoyao changed: What|Removed |Added See Also||https://github.com/cisco/op

[Bug c++/119094] New: gcc uses all memory in recursive calls with increasingly complex templates

2025-03-02 Thread sandberg.sven at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119094 Bug ID: 119094 Summary: gcc uses all memory in recursive calls with increasingly complex templates Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: n

[Bug c++/119094] gcc uses all memory in recursive calls with increasingly complex templates

2025-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119094 --- Comment #1 from Andrew Pinski --- This might be a dup.

[Bug target/119084] LoongArch: __builtin_lsx_vldx can be incorrectly reordered

2025-03-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119084 --- Comment #6 from Xi Ruoyao --- https://gcc.gnu.org/pipermail/gcc-patches/2025-March/676725.html

[Bug c++/119076] [15 Regression] ICE with Segmentation fault with modules due to char array in a template

2025-03-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/119085] [12/13/14/15 regression] tree-sra generates wrong code for unions containing structs with holes

2025-03-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 Sam James changed: What|Removed |Added Target Milestone|--- |12.5 Known to fail|

[Bug tree-optimization/119086] __builtin_constant_p is missing opportunities

2025-03-02 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119086 --- Comment #3 from Georg-Johann Lay --- (In reply to Andrew Pinski from comment #2) > See pr 26724 and others. > > *** This bug has been marked as a duplicate of bug 26724 *** Thanks for the pointer. Would you explain how that can be used for

[Bug tree-optimization/119085] [12/13/14/15 regression] tree-sra generates wrong code for unions containing structs with holes (Emacs crashes with -O3) since r10-6321-g636e80eea24b78

2025-03-02 Thread luangruo at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 --- Comment #7 from Po Lu --- "pipcet at protonmail dot com" writes: > I think the problem is that the representative access chosen in > sort_and_splice_var_accesses won't be the union copy (which would copy the > whole storage) but the copy o

[Bug target/119055] [15 Regression] 5-8% slowdown of 456.hmmer since r15-7605-gc5752c1f01316a

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119055 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug libstdc++/119029] [15 regression] abi_check FAILs on Solaris with gld

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1

[Bug rtl-optimization/119046] [15 Regression] Performance drop from not forming lane-wise FMLAs with Eigen library

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119046 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug target/118999] [15 regression] AArch64: Switching off early scheduling (r15-6661-gc5db3f50bdf34e) causes regressions in Snappy workload for -mcpu=neoverse-v2

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118999 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug ipa/119009] [15 regression] AArch64: Commit 'Node clones share order' (r15-6345-g0895aef01c64c3) causes regression in Snappy workload for -mcpu=neoverse-v2 with LTO

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119009 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug driver/43090] Why gcc can't invoke -as and uses 'as' instead?

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43090 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libffi/47248] libffi build failure with ld.gold (works with trunk 20110106, fails with 20110110)

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47248 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/52641] Test cases fail for 16-bit int targets

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/70557] uint64_t zeroing on 32-bit hardware

2025-03-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70557 --- Comment #11 from Jeffrey A. Law --- Siarhei, it's fine to attach potential patches to bugzilla entries, but once you're ready for them to be reviewed and potentially integrated, they really need to be posted to gcc-patches. They are highly

<    1   2