[Bug c++/120955] [15/16 Regression] 50 % increase in data segment size on avr-gcc for -Os

2025-07-20 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955 --- Comment #18 from fiesh at zefix dot tv --- Ok, finally here's a reduced testcase: -8<- typedef int c __attribute__((__mode__(__SI__))); typedef int d __attribute__((__mode__(__SI__))); template < typename f, int g > struct h { typ

[Bug target/119853] GCN, nvptx: Review 'DEFAULT_USE_CXA_ATEXIT'

2025-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119853 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:04b42c4245d85f77aa54ec002ebd7bbe6fde5f11 commit r16-2369-g04b42c4245d85f77aa54ec002ebd7bbe6fde5f11 Author: Thomas Schwinge Date:

[Bug target/119854] nvptx offloading: omptests' 'xt-declare-target-ctors': 'unresolved symbol __dso_handle'

2025-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119854 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:04b42c4245d85f77aa54ec002ebd7bbe6fde5f11 commit r16-2369-g04b42c4245d85f77aa54ec002ebd7bbe6fde5f11 Author: Thomas Schwinge Date:

[Bug fortran/121185] New: [16.0 regression] Numerics of Monte Carlo integrator changed

2025-07-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 Bug ID: 121185 Summary: [16.0 regression] Numerics of Monte Carlo integrator changed Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119377] cobol.dg/group1/declarative_1.cob fails (segfaults, uninitialised vars)

2025-07-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119377 --- Comment #22 from Iain Sandoe --- (In reply to James K. Lowden from comment #21) > Commit 069bf2fe31e99f0415ddb6acaf76cfb6eee8bb6a on June 9 included a change > to the lexer that corrected an uninitialized value for the SECTION token. > That

[Bug tree-optimization/121091] ICE in tree_to_uhwi, at tree.cc:6660 with SVE switch choosing predicate values

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Patch posted: > https://gcc.gnu.org/pipermail/gcc-patches/2025-July/689666.html I am still working on getting a fixed up patch. Hopefully by the end of the week

[Bug other/105404] Update in-tree copy of zlib to zlib-1.3.1

2025-07-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105404 Sam James changed: What|Removed |Added Keywords||patch --- Comment #18 from Sam James --- h

[Bug ada/121184] New: Violation of style check -gnatyc is reported as violation of -gnatyt

2025-07-20 Thread jesper.quorning at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121184 Bug ID: 121184 Summary: Violation of style check -gnatyc is reported as violation of -gnatyt Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119377] cobol.dg/group1/declarative_1.cob fails (segfaults, uninitialised vars)

2025-07-20 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119377 --- Comment #21 from James K. Lowden --- Commit 069bf2fe31e99f0415ddb6acaf76cfb6eee8bb6a on June 9 included a change to the lexer that corrected an uninitialized value for the SECTION token. That error could have manifested on Darwin and lay hi

[Bug tree-optimization/121183] extra sign extend in some cases

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

[Bug tree-optimization/121183] New: extra sign extend in some cases

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121183 Bug ID: 121183 Summary: extra sign extend in some cases Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priorit

[Bug tree-optimization/83247] simplify (int)a_long < 0 when we know a_long fits in int

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

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 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 Severity|normal |enhancement --- Comment #15 from Eric B

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread tkacvins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #14 from Tom Kacvinsky --- Unfortunately, -fgnat-encodings=all doesn't help when using -gcodeview. We still get the same error.

[Bug tree-optimization/83247] simplify (int)a_long < 0 when we know a_long fits in int

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247 --- Comment #9 from Andrew Pinski --- gnat.dg/opt86[abc].adb still fails.

[Bug tree-optimization/121020] [16 regression] genrecog miscompiled since r16-1624-g6deab186535a5a

2025-07-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121020 Sam James changed: What|Removed |Added Last reconfirmed||2025-07-20 Status|UNCONFIRMED

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

2025-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121145 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d553ca787f1f9797ebe1e33fc189cc4a5220c136 commit r15-10014-gd553ca787f1f9797ebe1e33fc189cc4a5220c136 Author: Harald Anlauf

[Bug tree-optimization/110949] ((cast)cmp) - 1 should be tranformed into -(cast)cmp` where cmp` is the inverse of cmp

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110949 --- Comment #3 from Andrew Pinski --- Created attachment 61919 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61919&action=edit patch which is under testing

[Bug libstdc++/121180] std::any allows for creating multiple empty objects of the same type at the same address

2025-07-20 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180 --- Comment #6 from Halalaluyafail3 --- (In reply to Jonathan Wakely from comment #5) > struct Empty { }; > struct S : Empty { char buf[1]; }; > > int main() > { > S s; > new (s.buf) Empty; > } > > Isn't this exactly the same? Yes, that ha

[Bug fortran/121182] F2018 GENERIC statement is missing

2025-07-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121182 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug fortran/121182] New: F2018 GENERIC statement is missing

2025-07-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121182 Bug ID: 121182 Summary: F2018 GENERIC statement is missing Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/110949] ((cast)cmp) - 1 should be tranformed into -(cast)cmp` where cmp` is the inverse of cmp

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110949 --- Comment #2 from Andrew Pinski --- I wonder if we should only do this if it is single use ...

[Bug tree-optimization/95906] Failure to recognize max pattern with mask

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95906 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > cmp_8 = -_2; > _3 = cmp_8 & a_6(D); > We convert that into: > _2 * a_6(D); > > And then have: > _11 = _2 + -1; > _5 = b_7(D) & _11; > > This could be c

[Bug tree-optimization/83247] simplify (int)a_long < 0 when we know a_long fits in int

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247 Andrew Pinski changed: What|Removed |Added Attachment #55714|0 |1 is obsolete|

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #13 from Eric Botcazou --- Making -gcodeview works for Ada in the general case looks hopeless given the sophistication of the DWARF required to describe Ada's dynamic types, so the only way out is probably to force -fgnat-encodings=a

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread tkacvins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #12 from Tom Kacvinsky --- Unrelated to Ada, but I should probably check the Fortran compiler to see if it supports -gcodeview.

[Bug libstdc++/121180] std::any allows for creating multiple empty objects of the same type at the same address

2025-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180 --- Comment #5 from Jonathan Wakely --- struct Empty { }; struct S : Empty { char buf[1]; }; int main() { S s; new (s.buf) Empty; } Isn't this exactly the same?

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #11 from Andrew Teylu --- Ah, no, I think Eric is correct in that it doesn't work at all (even if gcc doesn't fail). I used https://github.com/Microsoft/microsoft-pdb/blob/master/cvdump/cvdump.exe to look at the pdb file generated w