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

2024-07-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361 Thomas Schwinge changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug testsuite/116132] New test case gfortran.dg/pr105361.f90 from r15-2320-g3aeb697a2158d3 fails intermittently

2024-07-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116132 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org

[Bug target/115974] sat_add, etc. vector patterns not done for aarch64 (non-sve)

2024-07-31 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115974 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org

[Bug tree-optimization/89749] Very odd vector constructor

2024-07-31 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89749 Hongtao Liu changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug target/113744] Unnecessary "m" constraint in *adddi_4

2024-07-31 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113744 Hongtao Liu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116169] New: [DR882] `int main() = delete` is incorrect accepted

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116169 Bug ID: 116169 Summary: [DR882] `int main() = delete` is incorrect accepted Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal

[Bug tree-optimization/99919] [12/13/14/15 Regression] bogus -Wmaybe-uninitialized with a _Bool bit-field

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99919 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/98254] Failure to optimize simple pattern for __builtin_convertvector

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98254 --- Comment #9 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #6) > V > qux (short *b) > { > W a = *(W *)b; > return __builtin_convertvector (a, V); > } This was fixed on the trunk with r15-1677-gc320a7efcd35ba (and maybe som

[Bug tree-optimization/58497] SLP vectorizes identical operations

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58497 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/56924] Folding of checks into a range check should check upper boundary

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56924 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug target/113744] Unnecessary "m" constraint in *adddi_4

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113744 --- Comment #5 from GCC Commits --- The master branch has been updated by Kong Lingling : https://gcc.gnu.org/g:25dba615e3c191f0a7264538b6d260e91ca2624a commit r15-2471-g25dba615e3c191f0a7264538b6d260e91ca2624a Author: Lingling Kong Date: T

[Bug c/65115] default init_priority attribute

2024-07-31 Thread john.carter at taitradio dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65115 John Carter changed: What|Removed |Added CC||john.carter at taitradio dot com --- Comm

[Bug c++/116167] "static_cast" of member function pointer (non-noexcept) to noexcept erroneously succeeds if not overloaded

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116167 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-01 Keywords|

[Bug c++/116168] Segmentation fault when compiling user-defined partial_ordering

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116168 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic, |

[Bug c++/116168] New: Segmentation fault when compiling user-defined partial_ordering

2024-07-31 Thread daidodo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116168 Bug ID: 116168 Summary: Segmentation fault when compiling user-defined partial_ordering Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/116162] GCC rejects explicitly default move ctor with const X&& parameter

2024-07-31 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116162 --- Comment #4 from Jason Liam --- Yes, this is well-formed because the move ctor here is deleted as per 2.6 as explained in this thread: https://stackoverflow.com/a/78817438/12002570 In C++26, constructors have types through CWG2479 which is D

[Bug target/115981] [14/15 Regression] Redundant vmovaps to itself after vmovups since r14-537

2024-07-31 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115981 --- Comment #4 from Hongtao Liu --- (In reply to Jakub Jelinek from comment #3) > Created attachment 58786 [details] > gcc15-pr115981.patch > > Untested fix. As since that commit it checks swap_commutative_operands_p: > 1) CONST_VECTOR I think

[Bug c++/116167] New: "static_cast" of member function pointer (non-noexcept) to noexcept erroneously succeeds if not overloaded

2024-07-31 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116167 Bug ID: 116167 Summary: "static_cast" of member function pointer (non-noexcept) to noexcept erroneously succeeds if not overloaded Product: gcc Version: 15.0

[Bug testsuite/116163] RFE: add a linting tool for DegaGnu tests

2024-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 --- Comment #6 from Jonathan Wakely --- Although maybe I've disabled it, because at least two of those checks are no longer relevant, and should have been preventing me from committing things if the hook was still using that awk script. It might

[Bug testsuite/116163] RFE: add a linting tool for DegaGnu tests

2024-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 --- Comment #5 from Jonathan Wakely --- I have this awk script as a git pre-commit hook: #!/usr/bin/awk -f # Usage: badtests.awk [-v std_mode=NN] FILE... # Check each FILE for logic errors in dejagnu directives. # This is intended for the libst

[Bug c++/116160] [DR36] Rejects repeated using-declaration `using A::x;` [namespace.udecl]

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116160 --- Comment #4 from Andrew Pinski --- Oh yes GCC does not currently implement P1787R6 (PR 98939) . This explains most of this really. P1787R6 has huge implications across the compiler which is one of the reasons why it has not be done yet.

[Bug testsuite/116163] RFE: add a linting tool for DegaGnu tests

2024-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 --- Comment #4 from Sam James --- * Missing braces (e.g. 'dg-do run }' or 'dg-do run') Problem: Checking for that is noisy because some people have been good and explained workarounds but then they mention 'dg-...' in a comment and it might loo

[Bug tree-optimization/116166] risc-v (last) insn-emit-nn.c build takes hours

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog --- Comment #1 from An

[Bug middle-end/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-31 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 --- Comment #15 from Oleg Endo --- (In reply to Andrew Pinski from comment #14) > Yes I have not submitted this yet because I have been busy with some other > patches. But I should have some time on Friday to work on getting this patch > tested

[Bug tree-optimization/116166] New: risc-v (last) insn-emit-nn.c build takes hours

2024-07-31 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 Bug ID: 116166 Summary: risc-v (last) insn-emit-nn.c build takes hours Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/99082] manual bit-field creation followed by manual extraction does not always produce good code

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99082 --- Comment #3 from Andrew Pinski --- ``` _8 = (unsigned int) _7; _9 = _8 << 16; _10 = _6 | _9; r8_20 = (const uint8_t) _10; ``` Obviously r8_20 should be assigned from (const uint8_t)_6 since _9's lower values are 0. Having a simple pa

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #46 from Bill Wendling --- (In reply to qinzhao from comment #45) > (In reply to Jakub Jelinek from comment #42) > > > > But for the kernel you'll need to have fallback code which will set the > > actual counter manually for compile

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #45 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #42) > > But for the kernel you'll need to have fallback code which will set the > actual counter manually for compilers without support for counted_by >

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #44 from qinzhao at gcc dot gnu.org --- (In reply to uecker from comment #41) > I also do not yet understand why this feature is needed. The count should be > set anyway. Yes. But setting the count in _every_ place where a structure

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #43 from Bill Wendling --- (In reply to qinzhao from comment #40) > Note, our original purpose of adding this new builtin is explicitly > described in description section as: > > with the new builtin, "structs can gain the counted_b

[Bug target/113328] Some fixed length vector constants can be generated using SVE index instruction

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113328 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/116161] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building rapidfuzz

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116161 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > vect_create_addr_base_for_vector_ref(In reply to Jakub Jelinek from comment > #3) > > Seems the mismatches are in some var names, like > Which I think comes from

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #42 from Jakub Jelinek --- (In reply to qinzhao from comment #40) > Note, our original purpose of adding this new builtin is explicitly > described in description section as: > > with the new builtin, "structs can gain the counted_b

[Bug bootstrap/116165] New: thin archive support in gcc/Makefile.in uses T rather than --thin

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116165 Bug ID: 116165 Summary: thin archive support in gcc/Makefile.in uses T rather than --thin Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-imp

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #40 from qinzhao at gcc dot gnu.org --- (In reply to Bill Wendling from comment #39) > > But this all relies upon the 'counted_by' attribute existing. For this > example: > > typeof(*__builtin_get_counted_by(P->FAM)) idx; > > f

[Bug other/116164] New: SARIF output doesn't yet capture fix-it hints on notes

2024-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116164 Bug ID: 116164 Summary: SARIF output doesn't yet capture fix-it hints on notes Product: gcc Version: unknown Status: UNCONFIRMED Keywords: SARIF Severity: normal

[Bug tree-optimization/116161] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building rapidfuzz

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

[Bug testsuite/116163] RFE: add a linting tool for DegaGnu tests

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 --- Comment #3 from Andrew Pinski --- So current things that are known to be used a lot (wrongly): * `dg-run` should be replaced with `dg-do run` (this has showed up more than you think and even in new code; I just happened to have this typo to

[Bug fortran/90608] Inline non-scalar minloc/maxloc calls

2024-07-31 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90608 --- Comment #23 from Mikael Morin --- (In reply to Mikael Morin from comment #21) > > (...) and should be able to submit the first > series (inline minloc without dim argument) this week. > I missed the "this week" mark (again), but I've finall

[Bug testsuite/116163] RFE: add a linting tool for DegaGnu tests

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

[Bug testsuite/116163] RFE: add a linting tool for DegaGnu tests

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

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

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361 --- Comment #12 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:6886f1c164af9381b4dd6c4d5202a3bbca225168 commit r15-2459-g6886f1c164af9381b4dd6c4d5202a3bbca225168 Author: Jerry DeLisle Date:

[Bug libstdc++/88935] std::random_shuffle does not work if the sequence is longer than RAND_MAX elements

2024-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88935 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.0

[Bug testsuite/116163] New: RFE: add a linting tool for DegaGnu tests

2024-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116163 Bug ID: 116163 Summary: RFE: add a linting tool for DegaGnu tests Product: gcc Version: unknown Status: UNCONFIRMED Keywords: internal-improvement Severity: normal

[Bug middle-end/116134] [15 Regression] ICE: 'verify_gimple' failed since r15-2106-g44fcc1ca11e7ea

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

[Bug middle-end/116134] [15 Regression] ICE: 'verify_gimple' failed since r15-2106-g44fcc1ca11e7ea

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116134 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c65653f5685a106661596a413744953ea9cdbc60 commit r15-2458-gc65653f5685a106661596a413744953ea9cdbc60 Author: Andrew Pinski Date: Mo

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #39 from Bill Wendling --- (In reply to qinzhao from comment #38) > (In reply to Bill Wendling from comment #37) > > That does make me wonder at the usefulness of this feature. The user will > > need to set the count whether or not t

[Bug c++/116160] Rejects repeated using-declaration `using A::x;` [namespace.udecl]

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116160 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-31 Status|UNCONFIRM

[Bug c++/116160] Rejects repeated using-declaration `using A::x;` [namespace.udecl]

2024-07-31 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116160 --- Comment #2 from Arthur O'Dwyer --- > I am not sure this [the first case] is valid code though. The Standard contains an example of exactly this situation: https://eel.is/c++draft/namespace.udecl#example-8 using A::x; // OK, hides struct

[Bug libstdc++/110339] Implement C++26 library features

2024-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339 Bug 110339 depends on bug 110356, which changed state. Bug 110356 Summary: [C++26] P2637R3 Member visit https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110356 What|Removed |Added --

[Bug libstdc++/110356] [C++26] P2637R3 Member visit

2024-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110356 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/110339] Implement C++26 library features

2024-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339 Bug 110339 depends on bug 115776, which changed state. Bug 115776 Summary: [C++26] Implement P2757R3 Type checking format args https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115776 What|Removed |Added ---

[Bug libstdc++/115776] [C++26] Implement P2757R3 Type checking format args

2024-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115776 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/105595] Coroutines can trigger -Wsubobject-linkage

2024-07-31 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 --- Comment #4 from Arsen Arsenović --- hm, actually, is this valid code? in https://eel.is/c++draft/basic.def.odr#15 the standard says: For any definable item D with definitions in multiple translation units, - (15.1) if D is a non-inline non

[Bug middle-end/116161] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building rapidfuzz

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

[Bug c++/116162] GCC rejects explicitly default move ctor with const X&& parameter

2024-07-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116162 Jakub Jelinek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/116162] GCC rejects explicitly default move ctor with const X&& parameter

2024-07-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116162 --- Comment #2 from Jakub Jelinek --- Or do you mean instead of error it should be just defined as deleted perhaps with warning per https://eel.is/c++draft/dcl.fct.def#default-2.6 ? In that case, I think clang implements it correctly and while

[Bug target/116104] [15 Regression] GCN vs. "[rtl-optimization/116037] Explicitly track if a destination was skipped in ext-dce"

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

[Bug target/116104] [15 Regression] GCN vs. "[rtl-optimization/116037] Explicitly track if a destination was skipped in ext-dce"

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116104 --- Comment #11 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:69a9ee05c68bd1fe7f5b3be86baacc8f0a599915 commit r15-2456-g69a9ee05c68bd1fe7f5b3be86baacc8f0a599915 Author: Jeff Law Date: Wed Jul 31

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-31 Thread dldudley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #14 from David Dudley --- OK, have the problems with the native compiler worked out. Configuration problem on the host computer. Now, it's building the native compiler using the new compiler with no problem. This is planned to be

[Bug c++/116162] GCC rejects explicitly default move ctor with const X&& parameter

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

[Bug target/115974] sat_add, etc. vector patterns not done for aarch64 (non-sve)

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115974 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug target/115881] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-31 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115881 --- Comment #10 from Sergei Trofimovich --- I confirm the change fixed linux-6.10 build for me. Thank you!

[Bug c++/116162] New: GCC rejects explicitly default move ctor with const X&& parameter

2024-07-31 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116162 Bug ID: 116162 Summary: GCC rejects explicitly default move ctor with const X&& parameter Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/113384] [14/15 Regression] FAIL: gfortran.dg/array_reference_1.f90 -O0 execution test

2024-07-31 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113384 John David Anglin changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug testsuite/116154] gcc.dg/torture/pr67947.c fails on pru-unknown-elf

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116154 --- Comment #8 from GCC Commits --- The master branch has been updated by Dimitar Dimitrov : https://gcc.gnu.org/g:f2fac502097f75e4a098a3321f216523b59030be commit r15-2454-gf2fac502097f75e4a098a3321f216523b59030be Author: Dimitar Dimitrov Dat

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-31 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #38 from qinzhao at gcc dot gnu.org --- (In reply to Bill Wendling from comment #37) > I realized my error after sending this. So yeah it's not going to work. I'm > okay with what's being discussed. I just want to make it clear to the

[Bug middle-end/116161] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building rapidfuzz

2024-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116161 --- Comment #2 from Sam James --- It's so slow to compile that I don't know if I can reduce this. I might just look for other testcases.

[Bug rtl-optimization/116136] [15 Regression] ext-dce exposes latent subreg simplification bug (big-endian) on m68k

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

[Bug c++/116160] Rejects repeated using-declaration `using A::x;` [namespace.udecl]

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116160 Andrew Pinski changed: What|Removed |Added Target Milestone|12.5|---

[Bug rtl-optimization/116136] [15 Regression] ext-dce exposes latent subreg simplification bug (big-endian) on m68k

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116136 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:89ed5ab210b5e30c325b92e9e40c50e337be1b44 commit r15-2452-g89ed5ab210b5e30c325b92e9e40c50e337be1b44 Author: Jeff Law Date: Wed Jul 31

[Bug c++/116160] Rejects repeated using-declaration `using A::x;` [namespace.udecl]

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116160 Andrew Pinski changed: What|Removed |Added Known to fail|4.8.0 | Target Milestone|---

[Bug fortran/113384] [14/15 Regression] FAIL: gfortran.dg/array_reference_1.f90 -O0 execution test

2024-07-31 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113384 --- Comment #5 from John David Anglin --- Created attachment 58788 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58788&action=edit Simplified testcase

[Bug libstdc++/110356] [C++26] P2637R3 Member visit

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110356 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:08782a5d92bacc3af947caf79d19bf25eae02e7b commit r15-2448-g08782a5d92bacc3af947caf79d19bf25eae02e7b Author: Jonathan Wakely Date:

[Bug c++/29028] No warning about unused names introduced with using declarations

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29028 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug libstdc++/110356] [C++26] P2637R3 Member visit

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110356 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f6f2c78d9db37228baa9d1f9926b0c120e24016f commit r15-2447-gf6f2c78d9db37228baa9d1f9926b0c120e24016f Author: Jonathan Wakely Date:

[Bug libstdc++/115776] [C++26] Implement P2757R3 Type checking format args

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115776 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3836df7e895beda1f159620bfd20024136fda9f0 commit r15-2446-g3836df7e895beda1f159620bfd20024136fda9f0 Author: Jonathan Wakely Date:

[Bug middle-end/116161] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building rapidfuzz

2024-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116161 Sam James changed: What|Removed |Added Summary|-fcompare-debug |-fcompare-debug |-gno-sta

[Bug libstdc++/109162] C++23 improvements to std::format

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:74b5101cc9e297f7c530642553e3498d4d705cf4 commit r15-2444-g74b5101cc9e297f7c530642553e3498d4d705cf4 Author: Jonathan Wakely Date:

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug middle-end/116161] New: -fcompare-debug -gno-statement-frontiers failure with -O3 -march=native -fno-vect-cost-model when building rapidfuzz

2024-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116161 Bug ID: 116161 Summary: -fcompare-debug -gno-statement-frontiers failure with -O3 -march=native -fno-vect-cost-model when building rapidfuzz Product: gcc Version

[Bug c++/116160] New: Rejects repeated using-declaration `using A::x;` [namespace.udecl]

2024-07-31 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116160 Bug ID: 116160 Summary: Rejects repeated using-declaration `using A::x;` [namespace.udecl] Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/115576] [14/15 regression] Worse code generated for simple struct conversion since r14-2386-gbdf2737cda53a8

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

[Bug c/116158] __INTn_TYPE__ macros unexpectedly unsigned with -funsigned-bitfields

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

[Bug c/83294] int32_t & related definitions wrong with -funsigned-bitfields

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83294 Andrew Pinski changed: What|Removed |Added CC||mital at mitalashok dot co.uk --- Commen

[Bug target/107757] PPCLE: Inefficient vector constant creation

2024-07-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107757 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug testsuite/116143] [15 regression] gcc.dg/plugin/diagnostic-* test fails intermittently

2024-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116143 --- Comment #5 from David Malcolm --- (In reply to David Malcolm from comment #1) [...snip...] > My guess is that nothing is using class simple_diagnostic_path in cc1, and > thus the code for simple_diagnostic_path is being dropped by the linker

[Bug tree-optimization/116142] vec_widen_smult_{odd,even}_M ineffective for a simple widening dot product (vect_used_by_reduction is not set?)

2024-07-31 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116142 --- Comment #7 from Xi Ruoyao --- (In reply to Richard Biener from comment #6) > Can you check if the following makes things work for you? > > diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc > index 67f6e5df255..7496e31164c 100644

[Bug other/115970] RFE: add support for sending SARIF output to a pipe

2024-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 --- Comment #3 from David Malcolm --- >From what I can tell, in Microsoft's implementation the JSON-RPC messages are being "packaged" or "framed" via LSP's base protocol, as per: https://microsoft.github.io/language-server-protocol/specificatio

[Bug target/69194] [5/6 Regression] internal compiler error: in extract_insn, at recog.c:2286

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69194 --- Comment #8 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:21fc6d35f27cdf4c56e9f093894f6728c55ecb0e commit r15-2440-g21fc6d35f27cdf4c56e9f093894f6728c55ecb0e Author: Sam James Date: Tue Jul 30

[Bug c++/92024] crash in check_local_shadow

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92024 --- Comment #9 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:21fc6d35f27cdf4c56e9f093894f6728c55ecb0e commit r15-2440-g21fc6d35f27cdf4c56e9f093894f6728c55ecb0e Author: Sam James Date: Tue Jul 30

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #22 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:21fc6d35f27cdf4c56e9f093894f6728c55ecb0e commit r15-2440-g21fc6d35f27cdf4c56e9f093894f6728c55ecb0e Author: Sam James Date: Tue Jul

[Bug target/106828] cc1plus: warning: '-fsanitize=address' not supported for this target for loongarch64-linux-gnu

2024-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106828 --- Comment #4 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:d398581485b4141b43b11f27c8eb359a99fe4ca9 commit r15-2441-gd398581485b4141b43b11f27c8eb359a99fe4ca9 Author: Sam James Date: Tue Jul 3

[Bug target/116149] RISC-V: Miscompile at -O3 with zvl256b -mrvv-vector-bits=zvl

2024-07-31 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116149 --- Comment #3 from Robin Dapp --- It looks like the problem is a wrong mode_idx attribute for the wx variants of the adds. The widening adds's mode is the one of the non-widened input operand but for the wx/scalar variants this is a scalar mod

[Bug target/115981] [14/15 Regression] Redundant vmovaps to itself after vmovups since r14-537

2024-07-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115981 --- Comment #3 from Jakub Jelinek --- Created attachment 58786 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58786&action=edit gcc15-pr115981.patch Untested fix. As since that commit it checks swap_commutative_operands_p: 1) CONST_VECTO

[Bug fortran/116040] [13 regression] New test case gfortran.dg/pr113363.f90 from r13-8926-g7c81ff02a943cd ICEs

2024-07-31 Thread paul.richard.thomas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116040 --- Comment #2 from paul.richard.thomas at gmail dot com --- I am away on business right now and cannot deal with this. The plan is to revert the backport. Please feel free to do this because I am likely to be seriously jet lagged over the weeke

[Bug middle-end/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-31 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 --- Comment #13 from Jeffrey A. Law --- I've done light testing. Essentially it gets us past the ICE. I'm still seeing a comparison failure, but that will be a distinct BZ once I get get my brain around what's going wrong. So ideally Andrew P

[Bug target/115981] [14/15 Regression] Redundant vmovaps to itself after vmovups since r14-537

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

  1   2   >