[Bug c/117469] returns_twice on defined functions

2024-11-21 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117469 --- Comment #4 from Alexander Monakov --- The code in comment #3 is invalid: siglongjmp is called when the state saved in env is no longer valid: plat_setjmp has returned (and the stack slot where its return address is stored is overwritten).

[Bug target/80881] Implement Windows native TLS

2024-11-21 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #84 from LIU Hao --- (In reply to Julian Waters from comment #83) > Liu Hao: The registers it's using seem to be all over the place. Prior it > was using rdx for the gs:[88] load and rax for everything else, now it's > either using an

[Bug target/80881] Implement Windows native TLS

2024-11-21 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #83 from Julian Waters --- Liu Hao: The registers it's using seem to be all over the place. Prior it was using rdx for the gs:[88] load and rax for everything else, now it's either using any register it can find, or using rdx to store

[Bug sanitizer/117731] [15 Regression] libsanitizer builds not as c++17 even though it uses c++17 features

2024-11-21 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117731 Haochen Jiang changed: What|Removed |Added CC||haochen.jiang at intel dot com --- Comm

[Bug c/117469] returns_twice on defined functions

2024-11-21 Thread lukeshu at lukeshu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117469 Luke Shumaker changed: What|Removed |Added CC||lukeshu at lukeshu dot com --- Comment

[Bug target/117718] Inefficient address computation for d-form vector loads

2024-11-21 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117718 --- Comment #3 from Michael Meissner --- No, the issue is with DQ addressing (i.e. vector load/store with offset), we can't guarantee that the external address will be properly aligned with the bottom 4 bits must be set to 0. In theory, we have

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-21 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 --- Comment #8 from Hongtao Liu --- > vec_unpacks_hi_v4sf create an unintialized (reg:V4SF 853), I guess it may > confuse LRA to allocate a mem for it. For simple case void foo (double* a, float* b, int n) { for (int i = 0; i != n; i++)

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-21 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 --- Comment #7 from Hongtao Liu --- > Huh. It looks like this is from a V4SF -> 2xV2DF extension via > vec_unpack_{hi,lo}_expr. > > Originally this is > > (insn 1161 1160 1162 58 (set (reg:V4SF 853) > (vec_select:V4SF (vec_concat:V8S

[Bug target/90154] aarch64: insufficient check for aarch64_stack_protector_guard_reg_str

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90154 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic, translation Last reconfirm

[Bug c/87890] inconsistency in handling floating built-ins declared without prototype

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87890 --- Comment #1 from Andrew Pinski --- I think this is the correct behavior (for < C23) as float gets promoted to double for non-prototyped function declarations. In C23 (which is the default now) `()` is the same as `(void)` so there is no issue

[Bug tree-optimization/87303] DFmode FP constants are not correctly truncated when promoted to XFmode

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

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #14

[Bug target/70148] Feature request: allow overriding the SSP canary location

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

[Bug target/81708] The x86 stack canary location should be customizable

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #20 from Andrew Pinski --- *** Bug 70148 has been marked as a duplicate of this bug. ***

[Bug target/99410] Nios II Error: branch offset out of range

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |SUSPENDED Last reconfirmed|

[Bug target/93847] Nios II ICE

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |SUSPENDED Ever confirmed|0

[Bug target/88284] nios2: pessimistic ldw-to-stwio scheduling

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88284 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-22 Status|UNCONFIRME

[Bug tree-optimization/86965] nios2 optimizer forgets about known upper bits of register

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

[Bug target/58205] ../../gcc-4.1/gcc/crtstuff.c:323: internal compiler error

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

[Bug target/70718] multilib_defaults on nios2 refers to -EL

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70718 Andrew Pinski changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #4 from Andrew Pin

[Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919 Andrew Pinski changed: What|Removed |Added Target||ia64-hpux Status|WAITING

[Bug bootstrap/67022] ia64-hpux failed to compile libcpp/charset.c with -O2 optimization

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67022 --- Comment #5 from Andrew Pinski --- ia64-hpux is slated to be removed from GCC in GCC 16 if nobody steps up.

[Bug bootstrap/67022] ia64-hpux failed to compile libcpp/charset.c with -O2 optimization

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67022 Andrew Pinski changed: What|Removed |Added Target||ia64-hpux Status|UNCONFIRMED

[Bug target/36503] x86 can use x >> -y for x >> 32-y

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503 Andrew Pinski changed: What|Removed |Added CC||bisqwit at iki dot fi --- Comment #11 fr

[Bug target/116014] Missed optimization opportunity: inverted shift count

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

[Bug middle-end/112600] Failed to optimize saturating addition using __builtin_add_overflow

2024-11-21 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112600 --- Comment #24 from Li Pan --- (In reply to Uroš Bizjak from comment #22) > (In reply to Li Pan from comment #21) > > > Looks the f2 can vectorized to sat_add from upstream now, may be impacted by > > recent changes. Let me add one test for th

[Bug target/117697] gcc.target/i386/avx10_2-vmovd-1.c etc. FAIL

2024-11-21 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117697 --- Comment #7 from Haochen Jiang --- Testcase fixed on trunk. Since I do not have a Solaris machine, I could not to solve the problem on Solaris/x86 for: > Weirdly, adding -fomit-frame-pointer to the testcases > make no difference on Solaris

[Bug target/117697] gcc.target/i386/avx10_2-vmovd-1.c etc. FAIL

2024-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117697 --- Comment #6 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:45135f9d5f7316d1256813d808b0f37287ba77d3 commit r15-5582-g45135f9d5f7316d1256813d808b0f37287ba77d3 Author: Haochen Jiang Date: T

[Bug c++/117727] __builtin_bit_cast with target type nullptr_t unimplemented

2024-11-21 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #7 from Jian

[Bug tree-optimization/110829] [13/14/15 Regression] FAIL: gcc.dg/pr56837.c scan-tree-dump-times optimized "memset ..c, 68, 16384.;" 1

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

[Bug sanitizer/117732] [15 Regression] libsanitizer contains anonymous structs but built with -pedantic

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117732 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Summary|libsaniti

[Bug sanitizer/117731] [15 Regression] libsanitizer builds not as c++17 even though it uses c++17 features

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

[Bug tree-optimization/117420] [15 regression] wrong code at -O1 on x86_64-linux-gnu since r15-4601-ge2e798b8607401

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117420 --- Comment #8 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #7) > Created attachment 59664 [details] > gcc15-pr117420-1.patch > > First patch I'm going to test tonight. That is what I was thinking it should be changed to when

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

2024-11-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #21 from Jeffrey A. Law --- WRT c#20. Those cases are pretty easy to handle with the additional work Raphael and I have done over the last year. Let me that that.

[Bug target/117666] Audit the aarch64 builtins for adding leaf and/or nothrow attribute

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117666 --- Comment #3 from Andrew Pinski --- A few are handled here: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/669746.html https://gcc.gnu.org/pipermail/gcc-patches/2024-November/669747.html There are at a few more which uses aarch64_get

[Bug target/116594] [meta-bug] xtheadvector brokeness

2024-11-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116594 Bug 116594 depends on bug 116593, which changed state. Bug 116593 Summary: internal compiler error: in get_attr_type, at config/riscv/riscv.md:28048 with -O2 -O3 when compiling for risc-v xtheadvector https://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug target/116593] internal compiler error: in get_attr_type, at config/riscv/riscv.md:28048 with -O2 -O3 when compiling for risc-v xtheadvector

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

[Bug target/117690] [15 Regression] RISC-V: Constant is miscompiled by zba extension

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

[Bug target/117690] [15 Regression] RISC-V: Constant is miscompiled by zba extension

2024-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117690 --- Comment #4 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:9b7917b34fa54d5b4ff0094ef4d949c6ac50f02e commit r15-5578-g9b7917b34fa54d5b4ff0094ef4d949c6ac50f02e Author: Jeff Law Date: Thu Nov 21

[Bug middle-end/117733] RISC-V SPEC2017 503.bwaves Inefficient fortran multi-dimensional array access

2024-11-21 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117733 --- Comment #1 from Vineet Gupta --- Tree vec pass is introducing the following MASK_LEN_LOAD and COND_LEN_ADD constructs. vect__31.15_91 = .MASK_LEN_LOAD (vectp_q.13_99, 64B, { -1, -1, -1, -1 }, _92(D), loop_len_97, 0); vectp_q.13_90 = vec

[Bug middle-end/117733] New: RISC-V SPEC2017 503.bwaves Inefficient fortran multi-dimensional array access

2024-11-21 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117733 Bug ID: 117733 Summary: RISC-V SPEC2017 503.bwaves Inefficient fortran multi-dimensional array access Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug fortran/117730] Wrong code with non_overridable typebound procedure

2024-11-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug c/114816] Non-standard behavior with void arguments

2024-11-21 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114816 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug c/114816] Non-standard behavior with void arguments

2024-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114816 --- Comment #3 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:338d687e2a32f4e152d26c02319db1cb00401c3f commit r15-5576-g338d687e2a32f4e152d26c02319db1cb00401c3f Author: Joseph Myers Date: Thu

[Bug translation/79423] Translation of warnings breaks IDE parsing of output

2024-11-21 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79423 David Malcolm changed: What|Removed |Added Resolution|--- |WONTFIX Status|ASSIGNED

[Bug c++/105864] storing nullptr_t to memory should not generate any instructions

2024-11-21 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105864 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug c++/87850] Add fix-it hint for "invalid conversion from 'X' to 'X*'"

2024-11-21 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87850 --- Comment #3 from David Malcolm --- v4 patch: https://gcc.gnu.org/legacy-ml/gcc-patches/2018-11/msg02617.html

[Bug c++/87850] Add fix-it hint for "invalid conversion from 'X' to 'X*'"

2024-11-21 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87850 --- Comment #2 from David Malcolm --- v2 patch: https://gcc.gnu.org/legacy-ml/gcc-patches/2018-11/msg01408.html v3 patch: https://gcc.gnu.org/legacy-ml/gcc-patches/2018-11/msg01658.html

[Bug fortran/117730] Wrong code with non_overridable typebound procedure

2024-11-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730 --- Comment #3 from anlauf at gcc dot gnu.org --- Works here also with "-O -flto", fails with "-O0 -flto" (or "-Og -flto").

[Bug fortran/117730] Wrong code with non_overridable typebound procedure

2024-11-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #1) > Harald and Andre: If you have any ideas on how to fix it, please let me know > or take it over. The testcase fails on all branches that I have to hand b

[Bug middle-end/77608] missing protection on trivially detectable runtime buffer overflow

2024-11-21 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77608 Siddhesh Poyarekar changed: What|Removed |Added Status|WAITING |RESOLVED Known to fail|4.9.3,

[Bug bootstrap/117677] [15 Regression] Regression in fail, at selftest.cc:47

2024-11-21 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/117731] [15 Regression] libsanitizer builds not as c++17 even though it uses c++17 features

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117731 Andrew Pinski changed: What|Removed |Added Summary|[15 Regression libsanitizer |[15 Regression] |buil

[Bug sanitizer/117732] libsanitizer contains anonymous structs but built with -pedantic

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

[Bug bootstrap/117677] [15 Regression] Regression in fail, at selftest.cc:47

2024-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677 --- Comment #13 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:4574f15bb305204fb615756148da8f214156c787 commit r15-5575-g4574f15bb305204fb615756148da8f214156c787 Author: David Malcolm Date:

[Bug target/117666] Audit the aarch64 builtins for adding leaf and/or nothrow attribute

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117666 --- Comment #2 from Andrew Pinski --- I have a few patches for some of these builtins now.

[Bug sanitizer/117732] New: libsanitizer contains anonymous structs but built with -pedantic

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117732 Bug ID: 117732 Summary: libsanitizer contains anonymous structs but built with -pedantic Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/117731] New: [15 Regression libsanitizer builds not as c++17 even though it uses c++17 features

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117731 Bug ID: 117731 Summary: [15 Regression libsanitizer builds not as c++17 even though it uses c++17 features Product: gcc Version: 15.0 Status: UNCONFIRMED Keywo

[Bug testsuite/117728] [15 regression] new test case gcc.dg/tree-ssa/satd-hadamard.c from r15-5563-g1c4d39ada33d36 fails

2024-11-21 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117728 Christoph Müllner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/117666] Audit the aarch64 builtins for adding leaf and/or nothrow attribute

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117666 --- Comment #1 from Andrew Pinski --- builtins registered by aarch64_init_data_intrinsics should be const too.

[Bug fortran/84674] [12/13/14/15 Regression] Derived type name change makes a program segfault, removing non_overridable helps

2024-11-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84674 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug fortran/117730] New: Wrong code with non_overridable typebound procedure

2024-11-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730 Bug ID: 117730 Summary: Wrong code with non_overridable typebound procedure Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug c++/117727] __builtin_bit_cast with target type nullptr_t unimplemented

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/117727] __builtin_bit_cast with target type nullptr_t unimplemented

2024-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727 --- Comment #5 from Jakub Jelinek --- (In reply to Timm Bäder from comment #4) > (In reply to Jakub Jelinek from comment #2) > > I thought all the bits of the type are padding bits (given that reads of > > std::nullptr_t typed objects just don'

[Bug c++/117727] __builtin_bit_cast with target type nullptr_t unimplemented

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

[Bug c++/117727] __builtin_bit_cast with target type nullptr_t unimplemented

2024-11-21 Thread tbaeder at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727 --- Comment #4 from Timm Bäder --- (In reply to Jakub Jelinek from comment #2) > I thought all the bits of the type are padding bits (given that reads of > std::nullptr_t typed objects just don't read any of the bits and simply > result in null

[Bug c/115109] Incorrect type of enumeration constant in redeclaration of enumeration constant (C23)

2024-11-21 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115109 uecker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug rtl-optimization/117712] [15 regression] ICE when building x265: internal compiler error: in expand_fix, at optabs.cc:5936 since r15-2890

2024-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117712 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/84674] [12/13/14/15 Regression] Derived type name change makes a program segfault, removing non_overridable helps

2024-11-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84674 --- Comment #14 from Paul Thomas --- (In reply to Libavius from comment #4) > I got a bug, which I think is related to the one described here and wanted > to avoid opening another bug report. This bug is very different to PR84674 itself, which I

[Bug c/115109] Incorrect type of enumeration constant in redeclaration of enumeration constant (C23)

2024-11-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115109 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug fortran/117730] Wrong code with non_overridable typebound procedure

2024-11-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730 Paul Thomas changed: What|Removed |Added CC||anlauf at gcc dot gnu.org,

[Bug c/117724] [15 regression] ICE when building libgit2 (error: ‘TYPE_CANONICAL’ is not compatible)

2024-11-21 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117724 --- Comment #4 from uecker at gcc dot gnu.org --- This seems to be the same underlying issue with FAMs now exposed by the fix to PR117490.

[Bug c/99950] Option -Wchar-subscripts leads to wrong fixes when used with functions from

2024-11-21 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99950 --- Comment #4 from Eric Gallager --- Possibly related texinfo mail: https://lists.gnu.org/archive/html/bug-texinfo/2024-11/msg00069.html

[Bug target/117726] [avr] better optimize multi-byte shifts

2024-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117726 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:873cffc79209119a65aa657b0d427345e52b75c3 commit r15-5569-g873cffc79209119a65aa657b0d427345e52b75c3 Author: Georg-Johann Lay Dat

[Bug c++/117727] __builtin_bit_cast with target type nullptr_t unimplemented

2024-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/116731] Incorrect behavior of -Wrange-loop-construct in GCC 14

2024-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116731] Incorrect behavior of -Wrange-loop-construct in GCC 14

2024-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:179dc0f0fe01012675c1b430591b9891ce96c26e commit r13-9204-g179dc0f0fe01012675c1b430591b9891ce96c26e Author: Marek Polacek

[Bug c++/117727] __builtin_bit_cast with target type nullptr_t unimplemented

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727 --- Comment #1 from Andrew Pinski --- nullptr_t can only contain 0. So it is undefined if converted from a different value. For constexpr it has to be rejected.

[Bug other/117728] [15 regression] new test case gcc.dg/tree-ssa/satd-hadamard.c from r15-5563-g1c4d39ada33d36 fails

2024-11-21 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117728 Christoph Müllner changed: What|Removed |Added Last reconfirmed||2024-11-21 Status|UNCON

[Bug target/117729] New: On power10 consider using vector pair load/store in prologue/epilog in saving vector registers

2024-11-21 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117729 Bug ID: 117729 Summary: On power10 consider using vector pair load/store in prologue/epilog in saving vector registers Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug bootstrap/117677] [15 Regression] Regression in fail, at selftest.cc:47

2024-11-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677 --- Comment #12 from Jeffrey A. Law --- The patch was enough to get m68k past the fail point.

[Bug bootstrap/117677] [15 Regression] Regression in fail, at selftest.cc:47

2024-11-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #11

[Bug rtl-optimization/115521] [14/15 regression] ICE at -O1 with "-fno-tree-ccp -fno-tree-dominator-opts" on x86_64-linux-gnu: in extract_constrain_insn, at recog.cc:2713

2024-11-21 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115521 --- Comment #8 from Vladimir Makarov --- (In reply to Uroš Bizjak from comment #7) > PR117105 exhibits the same underlying probem with much smaller testcase. I started to work on these 2 PRs. I think the fix to be ready on the beginning of the

[Bug tree-optimization/117420] [15 regression] wrong code at -O1 on x86_64-linux-gnu since r15-4601-ge2e798b8607401

2024-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117420 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/116590] unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

2024-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116590 --- Comment #6 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:41fb3a5669d3a8c85f9103798f4e7502190cf969 commit r15-5567-g41fb3a5669d3a8c85f9103798f4e7502190cf969 Author: Jeff Law Date: Thu Nov 21

[Bug other/117728] New: [15 regression] new test case gcc.dg/tree-ssa/satd-hadamard.c from r15-5563-g1c4d39ada33d36 fails

2024-11-21 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117728 Bug ID: 117728 Summary: [15 regression] new test case gcc.dg/tree-ssa/satd-hadamard.c from r15-5563-g1c4d39ada33d36 fails Product: gcc Version: 15.0

[Bug target/117722] RISC-V: Failed to vectorize x264_pixel_sad_4x4

2024-11-21 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117722 --- Comment #12 from Li Pan --- (In reply to Robin Dapp from comment #11) > (In reply to Li Pan from comment #9) > > Created attachment 59663 [details] > > before_vs_after when outer loop is 128 > > Ok, that's a different loop then. I'm seeing

[Bug target/117722] RISC-V: Failed to vectorize x264_pixel_sad_4x4

2024-11-21 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117722 --- Comment #11 from Robin Dapp --- (In reply to Li Pan from comment #9) > Created attachment 59663 [details] > before_vs_after when outer loop is 128 Ok, that's a different loop then. I'm seeing vmv1rs in the current version, is that what you

[Bug target/117722] RISC-V: Failed to vectorize x264_pixel_sad_4x4

2024-11-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117722 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #10

[Bug rtl-optimization/116336] [14/15 Regression] LRA causes a compare debug with uninitialized variable since r14-8435-g476226290dba8c

2024-11-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[14/15 Regression] LRA

[Bug c++/117727] New: __builtin_bit_cast with target type nullptr_t unimplemented

2024-11-21 Thread tbaeder at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727 Bug ID: 117727 Summary: __builtin_bit_cast with target type nullptr_t unimplemented Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

[Bug target/117722] RISC-V: Failed to vectorize x264_pixel_sad_4x4

2024-11-21 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117722 --- Comment #9 from Li Pan --- Created attachment 59663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59663&action=edit before_vs_after when outer loop is 128

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|rguenth at gcc

[Bug tree-optimization/117420] [15 regression] wrong code at -O1 on x86_64-linux-gnu since r15-4601-ge2e798b8607401

2024-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117420 --- Comment #6 from Jakub Jelinek --- Anyway, I think --- gcc/match.pd.jj 2024-11-18 12:21:10.449236948 +0100 +++ gcc/match.pd2024-11-21 14:54:55.103437245 +0100 @@ -4952,7 +4952,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) #if GIMPLE

[Bug target/117721] Big endian test suite failures comparing default cpu and --with-cpu=power7

2024-11-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117721 --- Comment #5 from Peter Bergner --- (In reply to Kewen Lin from comment #4) > (In reply to Peter Bergner from comment #3) >> There look to be more effective target tests we need a similar fix for. > > Yes, there is PR113535 opened tracking fo

[Bug c++/117613] [modules] using-directive not exported

2024-11-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117613 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 --- Comment #5 from Richard Biener --- Created attachment 59662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59662&action=edit preprocessed source This is the mgau_eval from the non-LTO slowdown. When you build with -Ofast -g -fopt-inf

[Bug c++/117679] Changing active member in a union with overlapping copying not detected in constant expression

2024-11-21 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117679 --- Comment #3 from Fedor Chelnokov --- Here is a better example. It looks valid (unlike above one) because of creating of copy `A( u.a )`: ``` #include struct A { int c[7]; }; struct X { int x; }; struct B : X, A { using A::operator=; }

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 --- Comment #4 from Richard Biener --- 34.37%419183 sphinx_livepret sphinx_livepretend_peak.amd64-m64-gcc42-nn [.] utt_decode_block.constprop.0 17.28%212804 sphinx_livepret sphinx_livepretend_base.amd64-m64-gcc42-nn [.]

[Bug tree-optimization/117420] [15 regression] wrong code at -O1 on x86_64-linux-gnu since r15-4601-ge2e798b8607401

2024-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117420 Jakub Jelinek changed: What|Removed |Added CC||glisse at gcc dot gnu.org --- Comment #

  1   2   >