[Bug c/120753] is_device_ptr does not compile if given a pointer which is a member of a struct, i.e. is_device_ptr(u.ptr), where mystruct u; and struct mystruct{double *ptr;int something;}; will fail

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 --- Comment #16 from Benjamin Schulz --- Hm, I want to thank Andrew Pinski for pointing me to a post of mat colgrove from nvidia, https://forums.developer.nvidia.com/t/using-deviceptr-with-structs/136334 And to Tobias Burnus for his comment on

[Bug c++/121172] New: error: use of 'static constexpr method...' before deduction of 'auto' WHEN upgrade to 15.1.0 : different writing order have different impact

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121172 Bug ID: 121172 Summary: error: use of 'static constexpr method...' before deduction of 'auto' WHEN upgrade to 15.1.0 : different writing order have different impact Produc

[Bug c/117866] Confusing 'expected ... but argument is of type ...' (same type repeated)

2025-07-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117866 --- Comment #11 from Sam James --- This came up today on bug-bash where cygwin's headers were broken: https://lists.gnu.org/archive/html/bug-bash/2025-07/msg00089.html

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-18 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 --- Comment #18 from TCH --- Created attachment 61915 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61915&action=edit Fixes all of the errors of compiling GCC6 on Solaris 10 SPARC GCC 7 is also buildable with this configuration and fixes

[Bug c++/121171] New: Improve diagnostic for parenthesized bit-field names

2025-07-18 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121171 Bug ID: 121171 Summary: Improve diagnostic for parenthesized bit-field names Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169 --- Comment #5 from Benjamin Schulz --- and yes, this program runs, without causing an error...

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169 --- Comment #4 from Benjamin Schulz --- Yes, I would need to copyin t. But anways, nvc++ compiles, without any problem this here: #include struct mytensor { int *strides; int *extents; double *data; }; int main() { mytensor t; t.data=(d

[Bug c++/120646] Parenthesized declarators of bit-fields are incorrectly rejected

2025-07-18 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120646 Halalaluyafail3 changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRME

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169 --- Comment #3 from Andrew Pinski --- See https://forums.developer.nvidia.com/t/using-deviceptr-with-structs/136334 also. >member variables of structs Those not member variables but rather member fields and the only variables in your case is t

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

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

[Bug middle-end/121170] gcc refuses to compile if a struct member variable appears in an OpenAcc construct, which nvc++ accepts

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

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169 --- Comment #1 from Andrew Pinski --- *** Bug 121170 has been marked as a duplicate of this bug. ***

[Bug c/120753] is_device_ptr does not compile if given a pointer which is a member of a struct, i.e. is_device_ptr(u.ptr), where mystruct u; and struct mystruct{double *ptr;int something;}; will fail

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 Benjamin Schulz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/121170] New: gcc refuses to compile if a struct member variable appears in an OpenAcc construct, which nvc++ accepts

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121170 Bug ID: 121170 Summary: gcc refuses to compile if a struct member variable appears in an OpenAcc construct, which nvc++ accepts Product: gcc Version: 15.1.0 Status: UNCO

[Bug c++/121169] New: OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169 Bug ID: 121169 Summary: OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid. Product: gcc Version: 15.1.0

[Bug c/120753] is_device_ptr does not compile if given a pointer which is a member of a struct, i.e. is_device_ptr(u.ptr), where mystruct u; and struct mystruct{double *ptr;int something;}; will fail

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 --- Comment #14 from Benjamin Schulz --- It turns out that there are indications in the OpenMP standard for C++ which show that the prevention of struct members was indeed deliberate. https://www.openmp.org/spec-html/5.2/openmpsu19.html "Unles

[Bug sanitizer/104690] UBSan does not detect undefined behavior on function without a specified return value

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

[Bug c/111400] Missing return sanitization only works in C++

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

[Bug sanitizer/104690] UBSan does not detect undefined behavior on function without a specified return value

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690 Andrew Pinski changed: What|Removed |Added CC||david at westcontrol dot com --- Commen

[Bug modula2/121164] [15 Regression] Modula 2 build failure

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

[Bug tree-optimization/121168] New: missed optimization with ubsan at -O3

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121168 Bug ID: 121168 Summary: missed optimization with ubsan at -O3 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/121165] false positive Warray-bounds while building openmpt with -O3 -fsanitize=undefined

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

[Bug sanitizer/117881] Emit diagnostic note wrt FPs for middle-end warnings with sanitizers

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

[Bug sanitizer/121167] New: The documentation warning about fsanitize= and false warnings should be improved

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121167 Bug ID: 121167 Summary: The documentation warning about fsanitize= and false warnings should be improved Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywo

[Bug tree-optimization/121165] false positive Warray-bounds while building openmpt with -O3 -fsanitize=undefined

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165 --- Comment #2 from Andrew Pinski --- Created attachment 61914 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61914&action=edit testcase Warnings happen with `-std=c++23 -O3 -W -Wall -fsanitize=undefined` but without `-fsanitize=undefined

[Bug modula2/121164] [15 Regression] Modula 2 build failure

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121164 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:19566453d58cbecfddff135881b532ee18d7e2a9 commit r15-10010-g19566453d58cbecfddff135881b532ee18d7e2a9 Author: Gaius Mulley D

[Bug tree-optimization/121165] false positive Warray-bounds while building openmpt with -O3 -fsanitize=undefined

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165 Andrew Pinski changed: What|Removed |Added Summary|false positive |false positive |Warra

[Bug fortran/121166] New: gfc-diagnostic.def has been out of sync with diagnostic.def since r10-5901-g4bc1899b2e883f

2025-07-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121166 Bug ID: 121166 Summary: gfc-diagnostic.def has been out of sync with diagnostic.def since r10-5901-g4bc1899b2e883f Product: gcc Version: unknown Status: UNCONFIRMED

[Bug other/121039] RFE: optionally capture suppressed diagnostics in SARIF output

2025-07-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121039 --- Comment #2 from David Malcolm --- gcc/ada/gcc-interface/trans.cc's Pragma_to_gnu seems to have an optional "reason" from Ada, which gets ignored when calling diagnostic_push_diagnostics.

[Bug tree-optimization/121165] New: false positive Warray-bounds while building openmpt

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165 Bug ID: 121165 Summary: false positive Warray-bounds while building openmpt Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: diagnostic, false-positive, needs-source

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

2025-07-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug modula2/121164] [15 Regression] Modula 2 build failure

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121164 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:22d8b89689769e5efefd2c4e6dda88d9f0b2a945 commit r16-2356-g22d8b89689769e5efefd2c4e6dda88d9f0b2a945 Author: Gaius Mulley Date: Fri

[Bug c++/120255] C++ template member class parameter name should shadow member name

2025-07-18 Thread jonathon.reinhart at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120255 Jonathon Reinhart changed: What|Removed |Added CC||jonathon.reinhart at gmail dot com

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

2025-07-18 Thread mac at mcrowe dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116586 Mike Crowe changed: What|Removed |Added CC||mac at mcrowe dot com --- Comment #3 from

[Bug modula2/121164] [15 Regression] Modula 2 build failure

2025-07-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121164 --- Comment #2 from Gaius Mulley --- Created attachment 61913 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61913&action=edit Proposed fix correcting the implementation procedure parameter name for ARRAYOFCHAR:Write Here is a proposed fi

[Bug fortran/121145] Unnecessary runtime error: non-associated procedure pointer passed to optional argument

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121145 --- Comment #3 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:8f9450505f8244d262f8b4ff274f113f99cdc7e2 commit r16-2355-g8f9450505f8244d262f8b4ff274f113f99cdc7e2 Author: Harald Anlauf Date: F

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 --- Comment #9 from David Faust --- In both --target=bpf-unknown-none and --target=bpf build dirs, I see: $ rg "checking target system type" -A1 ... config.log 47:configure:2502: checking target system type 48-configure:2515: result: bpf-unkno

[Bug tree-optimization/117423] [13/14/15 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2025-07-18 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #26 from Paul Eggert --- (In reply to Sam James from comment #25) > The testcases in this bug work now, but PR119085 still fails. I'll reopen it. Since PR119085 motivates Emacs 'configure' to always use -fno-tree-sra when compiling w

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 --- Comment #8 from Jose E. Marchesi --- The top-level configure.ac uses: ACX_NONCANONICAL_BUILD ACX_NONCANONICAL_HOST ACX_NONCANONICAL_TARGET whereas libgcc/configure.ac uses: AC_CANONICAL_HOST ACX_NONCANONICAL_HOST ACX_NONCANONI

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 --- Comment #7 from Andrew Pinski --- I think the canonical is the right fix. Most likely the other needs to be changed too. Of nobody gets to it before tomorrow i will handle it.

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 --- Comment #6 from Andrew Pinski --- Then maybe target_cannonical or something like that instead.

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 David Faust changed: What|Removed |Added CC||david.faust at oracle dot com --- Comment

[Bug c/120753] is_device_ptr does not compile if given a pointer which is a member of a struct, i.e. is_device_ptr(u.ptr), where mystruct u; and struct mystruct{double *ptr;int something;}; will fail

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 --- Comment #13 from Benjamin Schulz --- I suspect that the statement, which Tobias cites, does not forbid member variables of structs. I think that thid is an incorrect interpretation of the standard. What they probably wanted to forbid was t

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 Jose E. Marchesi changed: What|Removed |Added CC||jemarch at gcc dot gnu.org --- Comme

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #14 from terryinzaghi --- (In reply to terryinzaghi from comment #13) > (In reply to Jonathan Wakely from comment #12) > > (In reply to Jonathan Wakely from comment #3) > > > As it says at https://gcc.gnu.org/wiki/InstallingGCC "If y

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #13 from terryinzaghi --- (In reply to Jonathan Wakely from comment #12) > (In reply to Jonathan Wakely from comment #3) > > As it says at https://gcc.gnu.org/wiki/InstallingGCC "If your build fails > > and your configure command has

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

2025-07-18 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|13.5 Summary|[12/13/14/15 regres

[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-07-18 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 Resolution|DUPLICATE |--- See Also|

[Bug tree-optimization/117423] [13/14/15/16 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2025-07-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #25 from Sam James --- The testcases in this bug work now, but PR119085 still fails. I'll reopen it.

[Bug libstdc++/121148] Should use modular arithmetic for _Atomic_word

2025-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #15 from Jonathan W

[Bug libstdc++/102181] [DR 3197] std::advance and std::views::iota don't work

2025-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102181 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #10 from Jonathan W

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[16 Regression]

[Bug libgcc/121149] [16 Regression] build broken for bpf in libgcc

2025-07-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 --- Comment #2 from Sam James --- Are you explicitly passing a flag to enable it? Please share your configure line.

[Bug libgcc/121149] [16 Regression] build broken for bpf in libgcc

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

[Bug libgcc/121149] [16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 CC|

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

2025-07-18 Thread lukas.graetz--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Lukas Grätz changed: What|Removed |Added CC||lukas.graetz@tu-darmstadt.d

[Bug testsuite/121153] [16 Regression] gcc.dg/vect/vect-reduc-cond-[12].c FAIL

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

[Bug testsuite/121153] [16 Regression] gcc.dg/vect/vect-reduc-cond-[12].c FAIL

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121153 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:f069bacbf5d0f14974b8f180588bac51f9ef1a43 commit r16-2354-gf069bacbf5d0f14974b8f180588bac51f9ef1a43 Author: Andrew Pinski Date: Fr

[Bug c++/120776] [C++26] P1306R5 - Expansion statements

2025-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120776 Jakub Jelinek changed: What|Removed |Added Attachment #61911|0 |1 is obsolete|

[Bug modula2/121164] [15 Regression] Modula 2 build failure

2025-07-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121164 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug testsuite/121153] [16 Regression] gcc.dg/vect/vect-reduc-cond-[12].c FAIL

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121153 --- Comment #3 from Andrew Pinski --- vect_condition

[Bug rust/119641] narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable

2025-07-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/121158] Missed optimization for condition before access to union elements of the same layout

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

[Bug rust/119508] Hundreds of rust tests XPASS

2025-07-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119508 Thomas Schwinge changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/119818] FAIL: cobol.dg/group2/FUNCTION_DATE___TIME_OMNIBUS.cob -O0 execution test

2025-07-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119818 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug middle-end/121158] Missed optimization for condition before access to union elements of the same layout

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121158 Andrew Pinski changed: What|Removed |Added Target|X86_64 |X86_64 aarch64 CC|

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

2025-07-18 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Petr Skocik changed: What|Removed |Added CC||pskocik at gmail dot com --- Comment #6 f

[Bug modula2/121164] New: [15 Regression] Modula 2 build failure

2025-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
tfile?taskID=134927219&volume=DEFAULT&name=build.log The modula2 error is: cc1gm2: error: procedure ‘Write’ in the proper procedure differs from the definition procedure, 2nd parameter name is inconsistant, named as ‘a’ /builddir/build/BUILD/gcc-15.1.1-build/gcc-15.1.1-20250718/gc

[Bug rust/119508] Hundreds of rust tests XPASS

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119508 --- Comment #27 from GCC Commits --- The releases/gcc-15 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:db110865c35c0bb9c3660e58f133678f4c9f0093 commit r15-10007-gdb110865c35c0bb9c3660e58f133678f4c9f0093 Author: Thomas Schw

[Bug testsuite/119818] FAIL: cobol.dg/group2/FUNCTION_DATE___TIME_OMNIBUS.cob -O0 execution test

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119818 --- Comment #3 from GCC Commits --- The releases/gcc-15 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:f5afbab22d3171631542bb42fb7e9198f89233df commit r15-10006-gf5afbab22d3171631542bb42fb7e9198f89233df Author: Thomas Schwi

[Bug ada/121163] New: GNAT hang with `-g -gcodeview` (but not with just `-g`)

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121163 Bug ID: 121163 Summary: GNAT hang with `-g -gcodeview` (but not with just `-g`) Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug ada/121162] New: GNAT hang with `-gcodeview -fgnat-encodings=all` (but not just with `-gcodeview`)

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121162 Bug ID: 121162 Summary: GNAT hang with `-gcodeview -fgnat-encodings=all` (but not just with `-gcodeview`) Product: gcc Version: 15.1.0 Status: UNCONFIRMED Seve

[Bug target/121124] TI PRU target doesn't seem to use constant table if address has bit31 set

2025-07-18 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121124 Dimitar Dimitrov changed: What|Removed |Added Last reconfirmed||2025-07-18 Ever confirmed|0

[Bug c/120753] is_device_ptr does not compile if given a pointer which is a member of a struct, i.e. is_device_ptr(u.ptr), where mystruct u; and struct mystruct{double *ptr;int something;}; will fail

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 --- Comment #12 from Benjamin Schulz --- a workaround that compiles is this: #include struct mytensor { int *strides; int *extents; double *data; }; int main() { mytensor t; t.data=(double*)omp_target_alloc(sizeof(double)*20,omp_get_default_

[Bug target/121160] [16 Regression] RISC-V: ICE in 538.imagick with -O3 -ffast-math

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121160 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Summary|RISC-V: ICE in

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

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

[Bug fortran/121161] New: Please add an option to make -fexternal-blas compatible with ILP64 BLAS implementation

2025-07-18 Thread sebastien at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121161 Bug ID: 121161 Summary: Please add an option to make -fexternal-blas compatible with ILP64 BLAS implementation Product: gcc Version: unknown Status: UNCONFIRMED

[Bug debug/121157] internal error on Ada's unconstrained array types with -gcodeview

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #7 from Andrew Teylu --- Yeah, so my reduced file no longer crashes if you use `-fgnat-encodings=all`. Re-reducing Tom's original files while `-fgnat-encodings=all` still gives a crash: ``` package LOCAL_IO is function GET_NEXT

[Bug target/121160] RISC-V: ICE in 538.imagick with -O3 -ffast-math

2025-07-18 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121160 --- Comment #1 from Paul-Antoine Arras --- The following commit seems to be the root cause: commit 59a3da733a79f621700dd9ddc11a0efc07237c3a Author: Jeff Law Date: Sat Jun 7 07:48:46 2025 -0600 [to-be-committed][RISC-V] Handle 32bit oper

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment #

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Andrew Pinski changed: What|Removed |Added Resolution|WONTFIX |DUPLICATE --- Comment #4 from Andrew Pi

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

2025-07-18 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug target/121095] [15 Regression] Possibly unnecessary PRE pass on aarch64 for fpmr

2025-07-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-07-18 Thread chz0808 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 114978, which changed state. Bug 114978 Summary: [14/15/16 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 What

[Bug target/114978] [14/15/16 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2025-07-18 Thread chz0808 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 Chen Chen changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

2025-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/121160] New: RISC-V: ICE in 538.imagick with -O3 -ffast-math

2025-07-18 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121160 Bug ID: 121160 Summary: RISC-V: ICE in 538.imagick with -O3 -ffast-math Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c/120753] is_device_ptr does not compile if given a pointer which is a member of a struct, i.e. is_device_ptr(u.ptr), where mystruct u; and struct mystruct{double *ptr;int something;}; will fail

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 --- Comment #11 from Benjamin Schulz --- But it is interesting... indeed the problem also seems to cover other areas. For example, this here would compile: int main() { double data[20]; #pragma omp parallel for shared(data) for(int i=1;i<2

[Bug fortran/121139] gfortran rejects selector that is a type-bound function reference invoked on an associate name

2025-07-18 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121139 --- Comment #2 from Andre Vehreschild --- Oh, and it needs to be: use julienne_test_description_m implicit none associate(test_descriptions => [test_description_t()]) associate(substring_in_test_diagnosis => test_descriptions(1)%conta

[Bug fortran/121139] gfortran rejects selector that is a type-bound function reference invoked on an associate name

2025-07-18 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121139 Andre Vehreschild changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org

[Bug middle-end/120935] [15/16 Regression] ICE building libstdc++ for mmix

2025-07-18 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120935 --- Comment #7 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #5) > Either (similarly to the posted patch) somehow not look at > MAX_FIXED_MODE_SIZE or just accept defeat: being able to create an object > larger than (1

[Bug middle-end/120935] [15/16 Regression] ICE building libstdc++ for mmix

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120935 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:2441a5205cbc6f842fe6f9e561e898d70523e991 commit r15-10005-g2441a5205cbc6f842fe6f9e561e898d70523e991 Author: Hans-Pete

[Bug libstdc++/71945] Integer overflow in use counter of shared pointers

2025-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71945 --- Comment #7 from Jonathan Wakely --- And the original code from comment 0 now does: $ ./a.out 1) Create an object and pass it over to a shared pointer... ptr.use_count() -> 1 2) Create an extra reference to that object... ptr.use_count(

[Bug libstdc++/121154] Incorrect output of format(loc, "{:L}", x) for invalid month/weekday and loc not classic.

2025-07-18 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121154 Tomasz Kamiński changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libstdc++/119137] [C++26] P0843R14 inplace_vector

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119137 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:f880cfc2a4e9daa69f7bb3e64c584dde705783b0 commit r16-2350-gf880cfc2a4e9daa69f7bb3e64c584dde705783b0 Author: Tomasz KamiÅski Date:

[Bug libstdc++/121154] Incorrect output of format(loc, "{:L}", x) for invalid month/weekday and loc not classic.

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121154 --- Comment #2 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:d31c76cb844154ccd638abc642b9bbb5fea519d4 commit r16-2349-gd31c76cb844154ccd638abc642b9bbb5fea519d4 Author: Tomasz KamiÅski Date:

[Bug debug/121157] internal error on Ada's unconstrained array types with -gcodeview

2025-07-18 Thread tkacvins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #6 from Tom Kacvinsky --- Unfortunately, -fgnat-encodings=all did not fix the problem for me (with my original uploaded files). :-(

[Bug c/120753] is_device_ptr does not compile if given a pointer which is a member of a struct, i.e. is_device_ptr(u.ptr), where mystruct u; and struct mystruct{double *ptr;int something;}; will fail

2025-07-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 --- Comment #10 from Benjamin Schulz --- So no, if you read the standard correctly, then the mapping macros also require map([ [map-type-modifier[,] [map-type-modifier[,] ...] map-type : ] locator-list) So in openmp terminology, map also wan

[Bug debug/121157] internal error on Ada's unconstrained array types with -gcodeview

2025-07-18 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2025-07-18 CC|

[Bug libstdc++/121148] Should use modular arithmetic for _Atomic_word

2025-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148 --- Comment #14 from Jonathan Wakely --- OK great, thanks all. I have a patch ready that flips the non-inline atomics to use -fwrapv and fixes the handful of inline ones to avoid signed overflow.

  1   2   >