[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.

[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 #9 from Benjamin Schulz --- Ok, now i see that the mapping macros have extended wording to allow members of structs, which is_device_ptr does not have: https://www.openmp.org/spec-html/5.0/openmpsu109.html https://www.openmp.org/sp

[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 Component|tree-optimization |middle-end --- Comment #1 from Andrew P

[Bug tree-optimization/121159] New: [[noreturn]] pessimizes code size and performance

2025-07-18 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Bug ID: 121159 Summary: [[noreturn]] pessimizes code size and performance Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[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 Resolution|INVALID |--- Status|RESOLVED

[Bug fortran/119106] Crash with character array constructor + implicit loop + data from `parameter` variable

2025-07-18 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119106 Andre Vehreschild changed: What|Removed |Added Status|NEW |WAITING --- Comment #7 from Andre V

[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 Ever confirmed|0 |1 Last reconfirmed|

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

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

[Bug fortran/119054] [13 Regression] ICE on passing optional array to elemental procedure with -pedantic

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

[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 #61896|0 |1 is obsolete|

[Bug testsuite/121078] [16 regression] gcc.dg/aru-2.c etc. FAIL

2025-07-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121078 H.J. Lu changed: What|Removed |Added Attachment #61909|0 |1 is obsolete|

[Bug ada/121157] GNAT internal error when using -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 #4 from Andrew Teylu --- As a note, my version of GCC comes from https://github.com/alire-project/GNAT-FSF-builds/releases/tag/gnat-15.1.0-2 ``` Using built-in specs. COLLECT_GCC=Z:\home\avj\gnat-x86_64-windows64-15.1.0-2\bin\gcc.ex

[Bug testsuite/121078] [16 regression] gcc.dg/aru-2.c etc. FAIL

2025-07-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121078 --- Comment #6 from H.J. Lu --- Created attachment 61909 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61909&action=edit A patch Try this.

[Bug ada/121157] GNAT internal error when using -gcodeview

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 Andrew Teylu changed: What|Removed |Added CC||andrew.teylu at vector dot com --- Comme

[Bug target/121156] [16 Regression][gcn] GCC build fails with 'libgomp/config/gcn/bar.c:82:16: error: variable ‘generation’ set but not used'

2025-07-18 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121156 Andrew Stubbs changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Assignee|unassigned

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

2025-07-18 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121158 Bug ID: 121158 Summary: Missed optimization for condition before access to union elements of the same layout Product: gcc Version: 16.0 Status: UNCONFIRMED Key

[Bug target/121156] [16 Regression][gcn] GCC build fails with 'libgomp/config/gcn/bar.c:82:16: error: variable ‘generation’ set but not used'

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121156 --- Comment #3 from GCC Commits --- The master branch has been updated by Andrew Stubbs : https://gcc.gnu.org/g:6f275d36288814b09c3d30b51903d29e1ada377c commit r16-2348-g6f275d36288814b09c3d30b51903d29e1ada377c Author: Andrew Stubbs Date: T

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

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #24 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:7375909e9d9e7de23acb4b1e0a965d8faf1943c4 commit r16-2347-g7375909e9d9e7de23acb4b1e0a965d8faf1943c4 Author: Martin Jambor Date:

[Bug ada/121157] GNAT internal error when using -gcodeview

2025-07-18 Thread tkacvins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #2 from Tom Kacvinsky --- I am using Windows 11 OS Name: Microsoft Windows 11 Enterprise OS Version:10.0.22631 N/A Build 22631

[Bug target/121156] [16 Regression][gcn] GCC build fails with 'libgomp/config/gcn/bar.c:82:16: error: variable ‘generation’ set but not used'

2025-07-18 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121156 --- Comment #1 from Andrew Stubbs --- I am aware of this and have a patch. Just checking the test results now.

[Bug target/121156] [16 Regression][gcn] GCC build fails with 'libgomp/config/gcn/bar.c:82:16: error: variable ‘generation’ set but not used'

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

[Bug ada/121157] GNAT internal error when using -gcodeview

2025-07-18 Thread tkacvins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #1 from Tom Kacvinsky --- Created attachment 61908 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61908&action=edit Ada package body

[Bug ada/121157] New: GNAT internal error when using -gcodeview

2025-07-18 Thread tkacvins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 Bug ID: 121157 Summary: GNAT internal error when using -gcodeview Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug target/121156] [16 Regression][gcn] GCC build fails with 'libgomp/config/gcn/bar.c:82:16: error: variable ‘generation’ set but not used'

2025-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121156 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/121126] [16 Regression] RISC-V: Miscompile at -O[23] since r16-2159-g3bf2aa834e1

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

[Bug target/121126] [16 Regression] RISC-V: Miscompile at -O[23] since r16-2159-g3bf2aa834e1

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121126 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8bb7234a86f3432658f9fa29d7957d1d0c929832 commit r16-2346-g8bb7234a86f3432658f9fa29d7957d1d0c929832 Author: Richard Biener Date:

[Bug target/121156] New: [16 Regression][gcn] GCC build fails with 'libgomp/config/gcn/bar.c:82:16: error: variable ‘generation’ set but not used'

2025-07-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121156 Bug ID: 121156 Summary: [16 Regression][gcn] GCC build fails with 'libgomp/config/gcn/bar.c:82:16: error: variable ‘generation’ set but not used' Product: gcc Ve

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

2025-07-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148 --- Comment #12 from Andreas Schwab --- (In reply to Jonathan Wakely from comment #4) The cpu does not care about overflow, of course, apart from setting the V bit in the CC.

[Bug tree-optimization/121155] [16 Regression] 4-6% slowdown of 444.namd since r16-2193-g363b29a9cfbb47

2025-07-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121155 Filip Kastl changed: What|Removed |Added Target Milestone|--- |16.0

[Bug tree-optimization/121155] New: [16 Regression] 4-6% slowdown of 444.namd since r16-2193-g363b29a9cfbb47

2025-07-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121155 Bug ID: 121155 Summary: [16 Regression] 4-6% slowdown of 444.namd since r16-2193-g363b29a9cfbb47 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: misse

[Bug tree-optimization/121131] ICE at O2: in as_a, at machmode.h:391

2025-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121131 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |14.4 Status|ASSIGNED

[Bug testsuite/121150] FAIL: 20_util/hash/int128.cc -std=c++17 execution test

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

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

2025-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 120924, which changed state. Bug 120924 Summary: [15 Regression] -Wmaybe-uninitialized regression on s390x https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120924 What|Removed |Added ---

[Bug tree-optimization/120924] [15 Regression] -Wmaybe-uninitialized regression on s390x

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

[Bug tree-optimization/120003] [13/14 Regression] missed optimization around a loop with a checker since r12-3453-g01b5038718056b

2025-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120003 Bug 120003 depends on bug 120924, which changed state. Bug 120924 Summary: [15 Regression] -Wmaybe-uninitialized regression on s390x https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120924 What|Removed |Added -

[Bug tree-optimization/120924] [15 Regression] -Wmaybe-uninitialized regression on s390x

2025-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120924 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e1828db8e75a56eebf8ede53e1ae4fcbd0f3376f commit r15-10004-ge1828db8e75a56eebf8ede53e1ae4fcbd0f3376f Author: Richard Biene

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

2025-07-18 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148 --- Comment #11 from Eric Botcazou --- > If the CC'd target maintainers could confirm my understanding of their area > above, I would be very grateful. I don't think I need any of you to change > the code, just let me know if the assembly is fre

[Bug testsuite/121150] FAIL: 20_util/hash/int128.cc -std=c++17 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=121150 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6f5d89063d79c776c4d612b7240e54c53156cedd commit r16-2345-g6f5d89063d79c776c4d612b7240e54c53156cedd Author: Jonathan Wakely Date:

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

2025-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #12 from Jonathan Wakely --- (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 lots of complicated options you should try > remo

[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 burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 --- Comment #7 from Tobias Burnus --- BTW: Workaround: double *tmp = u.t; #pragma omp target is_device_ptr(tmp) tmp[i] = 20; Additionally, a simple 'map(u)' will not map pointer members, keeping the address the same such that effective

[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 burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120753 Tobias Burnus changed: What|Removed |Added Resolution|--- |INVALID CC|

[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|UNCONFIRMED |NEW Ever confirmed|0

  1   2   >