[Bug objc/119117] [12/13/14/15 Regression] instance variables sometimes causes unknown type name

2025-04-04 Thread yavor at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119117 --- Comment #5 from Yavor Doganov --- Created attachment 61005 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61005&action=edit Proposed patch Tested on powerpc64le-linux-gnu and x86_64-linux-gnu.

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 --- Comment #8 from Simon Sobisch --- Hm, sounds like an internal stack check or similar would be good here to circumvent this issue from another side... If it doesn't work then it would definitely better for gcc to abort compiling this code fo

[Bug tree-optimization/100038] -Warray-bound triggers false positives with __builtin_unreachable after a loop

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 Sam James changed: What|Removed |Added Keywords|needs-bisection | --- Comment #12 from Sam James --- It sta

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 --- Comment #8 from Sam James --- (In reply to uecker from comment #7) > You also need to add -std=gnu23. The test as written does not fail. That's the default on trunk, though. (Not unreasonable to add it explicitly in the test, of course.)

[Bug tree-optimization/117063] [14/15 Regression] Incorrect stringop-overread warning using std::vector::insert at -O3

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117063 --- Comment #3 from Sam James --- Note the testcase also errors for me on 12, but works on 13 (then fails on 14, works on 15). Should we file that separately?

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 --- Comment #9 from Sam James --- .. ah, you mean because the test itself adds -std=gnu99, so you won't hit it when running the testsuite.

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 --- Comment #7 from uecker at gcc dot gnu.org --- You also need to add -std=gnu23. The test as written does not fail. In any case, I add those assertions to make some assumptions that are made in C FE explicit. That this occasionally brings som

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 uecker at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |uecker at gcc dot gnu

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

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641 Bug ID: 119641 Summary: narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable Product: gcc Version: 15.0 Status: UNCONFIRMED Severit

[Bug tree-optimization/108499] [12/13/14 regression] False positive -Warray-bounds

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108499 Sam James changed: What|Removed |Added Summary|False positive |[12/13/14 regression] False

[Bug tree-optimization/108499] False positive -Warray-bounds

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108499 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #4 from And

[Bug tree-optimization/100038] -Warray-bound triggers false positives with __builtin_unreachable after a loop

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

[Bug tree-optimization/100038] -Warray-bound triggers false positives with __builtin_unreachable after a loop

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 --- Comment #10 from Sam James --- Bisecting. Can you handle the testcase when that's done?

[Bug modula2/119622] runtime libraries are not installed after "make install"

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119622 Sam James changed: What|Removed |Added Keywords||build --- Comment #1 from Sam James --- Ma

[Bug c++/119319] [14/15 Regression] incorrect error: invalid use of incomplete type

2025-04-04 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 Hans-Peter Nilsson changed: What|Removed |Added Target Milestone|14.3|15.0 Resolution|---

[Bug tree-optimization/105823] -Wrestrict / -Wstringop-overflow / -Warray-bounds warnings for uninitialized values

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105823 --- Comment #4 from Andrew Pinski --- Note char_traits.h has `#pragma GCC diagnostic ignore` around it since r12-5874-gf8463b0e3ec2438b . So the warnings won't show up directly in user code right now.

[Bug tree-optimization/111499] [12/13/14/15 Regression] -Wstringop-overread warning in std::vector less operator< for __builtin_memcmp call

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 --- Comment #13 from Andrew Pinski --- (In reply to Andrew Pinski from comment #12) > Patch posted: > https://gcc.gnu.org/pipermail/libstdc++/2025-April/060892.html And that was the wrong version without the __OPTIMIZE__ . Will post a new patch

[Bug tree-optimization/100038] -Warray-bound triggers false positives

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0 Keywords|

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 Sam James changed: What|Removed |Added Keywords||ice-checking --- Comment #5 from Sam James

[Bug tree-optimization/110620] [12/13/14/15 regression] spurious array-bounds

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #11 from Andrew Pinski --- Created attachment 61003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61003&action=edit Patch which adds the unreachable and fixes the warning

[Bug tree-optimization/110620] [12/13/14/15 regression] spurious array-bounds

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #10 from Andrew Pinski --- Note I am curious now where the original reduce testcase comes from? (I want to see if I can find other missed optimizations rather than anything else).

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-04 Thread himehaieto at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 Hime Haieto changed: What|Removed |Added CC||himehaieto at gmail dot com --- Comment #

[Bug c++/118629] [14/15 Regression] ice in cp_parser_expression_statement with __FUNCTION__ inside decltype for the trailing return type of a lambda

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7d561820525fd3b9d8f3876333c0584d75e7c053 commit r15-9220-g7d561820525fd3b9d8f3876333c0584d75e7c053 Author: Jason Merrill Date: Fr

[Bug gcov-profile/118442] -fprofile-generate wrongly adds instrumentation after musttail call

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118442 --- Comment #9 from Sam James --- Ken Jin, if you'd be willing to try trunk and report any other build failures (or other problems), that'd be appreciated.

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-04-04 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 --- Comment #7 from Robert Dubner --- The DB programs are not among the ones we test. When I run the program, it rapidly gets stuck in an infinite loop around lines 511 513. It just keeps attempting to PERFORM DEBUG-ALL-PROCS, repeatedly. So,

[Bug c++/119462] [modules] ICE in check_return_expr from imported defaulted function

2025-04-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119462 Nathaniel Shead changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/119608] ICE compiling module interface including boost.json in GMF and exporting one entity

2025-04-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119608 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/103524] [meta-bug] modules issue

2025-04-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119608, which changed state. Bug 119608 Summary: ICE compiling module interface including boost.json in GMF and exporting one entity https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119608 What|Removed

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls

2025-04-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #1 from H.J. Lu --- no_calle(e|r)_saved_registers=gpr(16|32)?

[Bug c++/103524] [meta-bug] modules issue

2025-04-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119564, which changed state. Bug 119564 Summary: ICE using module including boost headers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119564 What|Removed |Added --

[Bug c++/119564] ICE using module including boost headers

2025-04-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119564 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/119462] [modules] ICE in check_return_expr from imported defaulted function

2025-04-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119462 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/103524] [meta-bug] modules issue

2025-04-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119462, which changed state. Bug 119462 Summary: [modules] ICE in check_return_expr from imported defaulted function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119462 What|Removed |

[Bug c++/119564] ICE using module including boost headers

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119564 --- Comment #14 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:337b9ff4854c6a7fa47860ce0acad82ffb4d39be commit r15-9218-g337b9ff4854c6a7fa47860ce0acad82ffb4d39be Author: Nathaniel Shead Date

[Bug c++/119462] [modules] ICE in check_return_expr from imported defaulted function

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119462 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:f4a3ae1ef5ec951f007c4bd530f30e44945c5f0d commit r15-9216-gf4a3ae1ef5ec951f007c4bd530f30e44945c5f0d Author: Nathaniel Shead Date:

[Bug c++/119608] ICE compiling module interface including boost.json in GMF and exporting one entity

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119608 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:b8e8829cfb73d7aa009d387ab09bdbab221930d7 commit r15-9217-gb8e8829cfb73d7aa009d387ab09bdbab221930d7 Author: Nathaniel Shead Date:

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-04 Thread mjguzik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #19 from Mateusz Guzik --- The results in PR 95435 look suspicious to me, so I had a better look at the bench script and I'm confident it is bogus. The compiler emits ops sized 0..2 * n - 1, where n is the reported block size. For

[Bug tree-optimization/119640] ICE: verify_ssa failed error compiling gem5 since r15-3509-gd34cda72098867

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119640 --- Comment #2 from Andrew Pinski --- Created attachment 61002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61002&action=edit Semi cleaned up testcase

[Bug tree-optimization/119640] ICE: verify_ssa failed error compiling gem5 since r15-3509-gd34cda72098867

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119640 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug tree-optimization/119640] ICE: verify_ssa failed error compiling gem5 since r15-3509-gd34cda72098867

2025-04-04 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119640 Peter Bergner changed: What|Removed |Added CC||meissner at gcc dot gnu.org,

[Bug gcov-profile/119375] Some autofdo test cases fail

2025-04-04 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119375 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug tree-optimization/119640] New: ICE: verify_ssa failed error compiling gem5 since r15-3509-gd34cda72098867

2025-04-04 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119640 Bug ID: 119640 Summary: ICE: verify_ssa failed error compiling gem5 since r15-3509-gd34cda72098867 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug tree-optimization/111499] [12/13/14/15 Regression] -Wstringop-overread warning in std::vector less operator< for __builtin_memcmp call

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 --- Comment #12 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/libstdc++/2025-April/060892.html

[Bug tree-optimization/110620] [12/13/14/15 regression] spurious array-bounds

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #9 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #8) > That isn't necessarily true though. _S_check_init_len takes __n by non-const > reference and changes it to be the number of elements that are actually > alloca

[Bug cobol/119639] New: runtime switches in SPECIAL NAMES not recognised (parser issue)

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119639 Bug ID: 119639 Summary: runtime switches in SPECIAL NAMES not recognised (parser issue) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/110620] [12/13/14/15 regression] spurious array-bounds

2025-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #8 from Jonathan Wakely --- That isn't necessarily true though. _S_check_init_len takes __n by non-const reference and changes it to be the number of elements that are actually allocated *which might be more than requested*. std::vec

[Bug cobol/119254] ICE on unterminated cobol string due to use of cbl_internal_error

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119254 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug c++/118829] [modules] ICE in add_indirects emitting template typedef struct

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

[Bug cobol/119638] New: WRITE FROM x BEFORE Y raises compile error (SQ207M)

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119638 Bug ID: 119638 Summary: WRITE FROM x BEFORE Y raises compile error (SQ207M) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/119635] ICE in add_indirects, at cp/module.cc:7843

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

[Bug c++/103524] [meta-bug] modules issue

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119635, which changed state. Bug 119635 Summary: ICE in add_indirects, at cp/module.cc:7843 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119635 What|Removed |Added

[Bug c++/118829] [modules] ICE in add_indirects emitting template typedef struct

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118829 Andrew Pinski changed: What|Removed |Added CC||jonkje at tuta dot io --- Comment #1 fr

[Bug cobol/119637] New: link error for LINAGE-COUNTER

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119637 Bug ID: 119637 Summary: link error for LINAGE-COUNTER Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol As

[Bug c++/118629] [14/15 Regression] ice in cp_parser_expression_statement with __FUNCTION__ inside decltype for the trailing return type of a lambda

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

[Bug c++/118629] [14/15 Regression] ice in cp_parser_expression_statement with __FUNCTION__ inside decltype for the trailing return type of a lambda

2025-04-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629 --- Comment #8 from Jason Merrill --- (In reply to Jakub Jelinek from comment #7) > both gcc and clang warn about it, but I think it shouldn't warn and have > sizeof "foo" in that case. It's not in scope yet for the trailing return-type accordi

[Bug cobol/119636] New: compile error: gcobol1 does not find file descriptions in case of obsolete FD phrases

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119636 Bug ID: 119636 Summary: compile error: gcobol1 does not find file descriptions in case of obsolete FD phrases Product: gcc Version: 15.0 Status: UNCONFIRMED Se

[Bug c++/119635] New: ICE in add_indirects, at cp/module.cc:7843

2025-04-04 Thread jonkje at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119635 Bug ID: 119635 Summary: ICE in add_indirects, at cp/module.cc:7843 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug cobol/119634] New: compile error: sorry, unimplemented: Global declarative _DECLARATIVES_EVAL1

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119634 Bug ID: 119634 Summary: compile error: sorry, unimplemented: Global declarative _DECLARATIVES_EVAL1 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: no

[Bug cobol/119633] New: compile error for debug-module USE FOR DEBUGGING

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119633 Bug ID: 119633 Summary: compile error for debug-module USE FOR DEBUGGING Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/111750] [12/13/14/15 regression] Spurious -Warray-bounds warning when using member function pointers

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111750 Andrew Pinski changed: What|Removed |Added CC||lobel.krivic at proton dot me --- Comme

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 117067, which changed state. Bug 117067 Summary: false warning: array subscript 'int (**)(...)[ 0]' is partly outside array bounds https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117067 What|Removed

[Bug tree-optimization/117067] false warning: array subscript 'int (**)(...)[ 0]' is partly outside array bounds

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

[Bug tree-optimization/117067] false warning: array subscript 'int (**)(...)[ 0]' is partly outside array bounds

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

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 --- Comment #6 from Simon Sobisch --- I wanted to originally say that's fixed (the memory leak in EXEC85 is), but running NIST DB105A still produces the same issue. heaptrack shows 34,4GB leaked, most allocations (256+63) come from allocate in

[Bug middle-end/119576] Please remove -Warray-bounds from -Wall

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576 --- Comment #13 from Andrew Pinski --- Thinking about the ones wehre -fsanitizer= is involved, we do have documentation which warns about the use of -fsanitizer= with some of warnings. Maybe when emitting the warning and one of the sanitizers is

[Bug cobol/119632] New: section segments (cobol85) not implemented, "ignored" -> raising compile error

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119632 Bug ID: 119632 Summary: section segments (cobol85) not implemented, "ignored" -> raising compile error Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/117336] [14/15 Regression] ICE on lambda in requires expression

2025-04-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117336 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/67491] [meta-bug] concepts issues

2025-04-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 117336, which changed state. Bug 117336 Summary: [14/15 Regression] ICE on lambda in requires expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117336 What|Removed |Added -

[Bug c++/117336] [14/15 Regression] ICE on lambda in requires expression

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117336 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ecc2725d61f1b268b51a604543b6717185bebd34 commit r14-11530-gecc2725d61f1b268b51a604543b6717185bebd34 Author: Jason Merrill

[Bug c++/109961] auto assigned from requires and lambda inside

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109961 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ecc2725d61f1b268b51a604543b6717185bebd34 commit r14-11530-gecc2725d61f1b268b51a604543b6717185bebd34 Author: Jason Merrill

[Bug c++/106976] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in override_type_for_decl_p, at dwarf2out.cc:24345

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106976 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ecc2725d61f1b268b51a604543b6717185bebd34 commit r14-11530-gecc2725d61f1b268b51a604543b6717185bebd34 Author: Jason Merrill

[Bug c++/113925] static assert on requires clause with non-type bool template instantiated with immediately invoked consteval lambda is incorrectly rejected

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113925 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ecc2725d61f1b268b51a604543b6717185bebd34 commit r14-11530-gecc2725d61f1b268b51a604543b6717185bebd34 Author: Jason Merrill

[Bug c++/99546] lambda in requires-expression outside template is broken

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546 --- Comment #23 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ecc2725d61f1b268b51a604543b6717185bebd34 commit r14-11530-gecc2725d61f1b268b51a604543b6717185bebd34 Author: Jason Merrill

[Bug c/119624] GCC rejects valid C11 code involving _Generic

2025-04-04 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119624 --- Comment #5 from Pavel M --- (In reply to Joseph S. Myers from comment #3) > because the lvalues are evaluated *relative to that expression* May be relevant (this is a fragment, see the full answer at https://stackoverflow.com/a/74876126/177

[Bug web/119623] broken links in the documentation

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119623 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug c/119624] GCC rejects valid C11 code involving _Generic

2025-04-04 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119624 --- Comment #6 from Joseph S. Myers --- Please see the recent "discarded" papers, which attempt to establish a notion of "discarded relative" which is what's actually wanted (for e.g. establishing whether something is a constant expression).

[Bug c++/109961] auto assigned from requires and lambda inside

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109961 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:25992d8daff60726a247ec7850d540aed5335639 commit r15-9212-g25992d8daff60726a247ec7850d540aed5335639 Author: Jason Merrill Date: We

[Bug c++/99546] lambda in requires-expression outside template is broken

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546 --- Comment #22 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:25992d8daff60726a247ec7850d540aed5335639 commit r15-9212-g25992d8daff60726a247ec7850d540aed5335639 Author: Jason Merrill Date: We

[Bug c++/106976] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in override_type_for_decl_p, at dwarf2out.cc:24345

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106976 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:25992d8daff60726a247ec7850d540aed5335639 commit r15-9212-g25992d8daff60726a247ec7850d540aed5335639 Author: Jason Merrill Date: We

[Bug c++/58616] [meta-bug] nsdmi

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 119631, which changed state. Bug 119631 Summary: [rejects-valid] erroneous "was not declared in this scope" in partial specialization of nested class template for NSDMI https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119631

[Bug c++/117336] [14/15 Regression] ICE on lambda in requires expression

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117336 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:25992d8daff60726a247ec7850d540aed5335639 commit r15-9212-g25992d8daff60726a247ec7850d540aed5335639 Author: Jason Merrill Date: We

[Bug c++/113925] static assert on requires clause with non-type bool template instantiated with immediately invoked consteval lambda is incorrectly rejected

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113925 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:25992d8daff60726a247ec7850d540aed5335639 commit r15-9212-g25992d8daff60726a247ec7850d540aed5335639 Author: Jason Merrill Date: We

[Bug c++/100037] lookup doesn't find class template parameter in default member initializer of forward declared nested class template

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100037 Andrew Pinski changed: What|Removed |Added CC||eric.niebler at gmail dot com --- Comme

[Bug c++/119631] [rejects-valid] erroneous "was not declared in this scope" in partial specialization of nested class template for NSDMI

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

[Bug c++/119631] [rejects-valid] erroneous "was not declared in this scope" in partial specialization of nested class template

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

[Bug c++/119631] New: [rejects-valid] erroneous "was not declared in this scope" in partial specialization of nested class template

2025-04-04 Thread eric.niebler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119631 Bug ID: 119631 Summary: [rejects-valid] erroneous "was not declared in this scope" in partial specialization of nested class template Product: gcc Version: 15.0

[Bug target/114085] Internal (cross) compiler error when building libstdc++ for the H8/300 family

2025-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114085 Andrew Pinski changed: What|Removed |Added CC||wbx at openadk dot org --- Comment #7 f

[Bug target/119630] ICE compiling Linux with h8300-linux compiler

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

[Bug c/119630] New: ICE compiling Linux with h8300-linux compiler

2025-04-04 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119630 Bug ID: 119630 Summary: ICE compiling Linux with h8300-linux compiler Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/117849] constraint variable in requires expression rejected, but P2280R4 made it valid

2025-04-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117849 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/119387] [14 Regression] Regression in performance by a factor of 6 when building with debugging symbols since r14-5979

2025-04-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119387 --- Comment #20 from Patrick Palka --- Oof, that's a lot of time spent mangling, I wonder if we have an existing PR for that.

[Bug libstdc++/119620] flat_set::emplace is constrained, and always constructs element on the stack

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119620 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2a36d22ab52d6ffce9a1fcaf7aca83336679e111 commit r15-9211-g2a36d22ab52d6ffce9a1fcaf7aca83336679e111 Author: Patrick Palka Date: F

[Bug c++/117849] constraint variable in requires expression rejected, but P2280R4 made it valid

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117849 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:49b6308d2596f7334011f84bae8d35d68c302a3c commit r14-11529-g49b6308d2596f7334011f84bae8d35d68c302a3c Author: Patrick Palka

[Bug lto/119625] lto1: fatal error: open failed: No such file or directory

2025-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119625 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/119616] mixing musttail with normal returns with taking the address of an argument

2025-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119616 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |15.0

[Bug gcov-profile/119618] Python PGO vs musttail (error: cannot tail-call: memory reference or volatile after call)

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

[Bug tree-optimization/119616] mixing musttail with normal returns with taking the address of an argument

2025-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119616 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/119613] [15 regression] ICE when building protobuf-29.4 with -O0 (purge_dead_edges, at cfgrtl.cc:3356)

2025-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119613 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug lto/119625] lto1: fatal error: open failed: No such file or directory

2025-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119625 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d25728c98682c058bfda79333c94b0a8cf2a3f49 commit r15-9210-gd25728c98682c058bfda79333c94b0a8cf2a3f49 Author: Jakub Jelinek Date: F

[Bug gcov-profile/119535] v2: musttail vs -fprofile-generate

2025-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119535 --- Comment #8 from Sam James --- I think this one is done now, and the other issues in comment 0 were covered by other bugs?

  1   2   3   >