[Bug c++/120272] [13/14/15/16 Regression] ICE in get_local_decls, at cp/name-lookup.c:4594 since 13.3 (r14-5514)

2025-05-16 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120272 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/120126] ICE in GCC with pack-dependent decltype in lambda: cp_type_quals

2025-05-14 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120126 Simon Martin changed: What|Removed |Added Version|14.2.1 |15.1.0 Status|ASSIGNED

[Bug c++/120126] ICE in GCC with pack-dependent decltype in lambda: cp_type_quals

2025-05-13 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120126 Simon Martin changed: What|Removed |Added Last reconfirmed||2025-05-13 Ever confirmed|0

[Bug c++/118388] ICEs from c++ testsuite when run with -fpermissive due to seen_error () not counting "downgraded errors"

2025-05-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118388 --- Comment #5 from Simon Martin --- Some of the tests from comment #4 are either not linked to seen_error (unary_trait_incomplete.C), or use constexpr_error that bypasses some of the diagnostics machinery and are not easy to fix (constexpr-ice2

[Bug c++/118388] Segmentation fault in invalid friend declaration with default argument with -fpermissive

2025-05-08 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118388 --- Comment #4 from Simon Martin --- We ended up doing a different fix for #118319 and the case I mentionned in the initial comment does not ICE, but the underlying problem still exists. I ran the c++ testsuite with the use of -fpermissive for

[Bug c++/118392] "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

2025-05-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118392 Simon Martin changed: What|Removed |Added Known to work||16.0 Target Milestone|---

[Bug c++/118163] Diagnostic not fully silenced by -Wno-template-body

2025-05-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118163 Simon Martin changed: What|Removed |Added Known to work||16.0 Target Milestone|15.2

[Bug c++/114525] [12 Regression] Incorrect code generated when setting a value through a pointer-to-member on a ternary returning an object reference

2025-04-14 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114525 Simon Martin changed: What|Removed |Added Summary|[12/13/14 Regression] |[12 Regression] Incorrect

[Bug c++/119436] [12/13/14/15 regression] ICE in pop_local_binding, at cp/name-lookup.cc:2636 since r0-96917

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

[Bug c++/119437] [12/13/14/15 regression] ICE in build_base_path, at cp/class.cc:302

2025-03-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119437 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/114525] [12/13/14 Regression] Incorrect code generated when setting a value through a pointer-to-member on a ternary returning an object reference

2025-03-25 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114525 Simon Martin changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression]

[Bug c++/117504] [12 Regression] Incorrect code emitted when using "constexpr std::array" since r8-3497-g281e6c1d8f1b4c

2025-03-25 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Summary|[12/13/14 Regre

[Bug c++/55004] [meta-bug] constexpr issues

2025-03-25 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 117504, which changed state. Bug 117504 Summary: [12 Regression] Incorrect code emitted when using "constexpr std::array" since r8-3497-g281e6c1d8f1b4c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 What

[Bug c++/114525] [12/13/14/15 Regression] Incorrect code generated when setting a value through a pointer-to-member on a ternary returning an object reference

2025-03-25 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114525 --- Comment #5 from Simon Martin --- I'm back to this PR after a long while. I'm currently testing the following patch, that fixes the PR testcase diff --git a/gcc/cp/typeck2.cc b/gcc/cp/typeck2.cc index 1adc05aa86d..45edd180173 100644 --- a/gc

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

2025-03-24 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 116681, which changed state. Bug 116681 Summary: [12 Regression] ICE: in start, at timevar.cc:491 with -ftime-report -std=c++20 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116681 What|Removed

[Bug c++/116681] [12 Regression] ICE: in start, at timevar.cc:491 with -ftime-report -std=c++20

2025-03-24 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116681 Simon Martin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/114292] [12 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2025-03-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 Simon Martin changed: What|Removed |Added Summary|[12/13 Regression] ICE with |[12 Regression] ICE with a

[Bug c++/16994] [meta-bug] VLA and C++

2025-03-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 114292, which changed state. Bug 114292 Summary: [12 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 What|Remov

[Bug c++/114292] [12/13 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2025-03-20 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 Simon Martin changed: What|Removed |Added Summary|[12/13/14 Regression] ICE |[12/13 Regression] ICE with

[Bug c++/110584] [12/13/14/15 Regression] Constant is not visible in nested lambda with outer lambda having a default capture

2025-03-12 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110584 Simon Martin changed: What|Removed |Added Known to work||15.0 Target Milestone|12.5

[Bug c++/117504] [12/13/14/15 Regression] Incorrect code emitted when using "constexpr std::array" since r8-3497-g281e6c1d8f1b4c

2025-03-06 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 Simon Martin changed: What|Removed |Added Known to work||15.0 Target Milestone|12.5

[Bug c++/116740] [12/13/14/15 Regression] ICE: in set_identifier_type_value_with_scope, at cp/name-lookup.cc:5098

2025-03-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116740 Simon Martin changed: What|Removed |Added Known to fail|15.0| Resolution|---

[Bug c++/99538] ICE: in maybe_add_lambda_conv_op, at cp/lambda.c:1037

2025-03-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99538 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/116740] [12/13/14/15 Regression] ICE: in set_identifier_type_value_with_scope, at cp/name-lookup.cc:5098

2025-02-18 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116740 Simon Martin changed: What|Removed |Added Known to work|14.2.0 |10.5.0 Known to fail|

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-02-16 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 Simon Martin changed: What|Removed |Added CC||yihan4845 at gmail dot com --- Comment #

[Bug c++/117324] [12/13/14/15 Regression] internal compiler error: Segmentation fault in break_out_target_exprs(tree_node*, bool)

2025-02-16 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117324 Simon Martin changed: What|Removed |Added Resolution|--- |DUPLICATE Known to work|

[Bug c++/110584] [12/13/14/15 Regression] Constant is not visible in nested lambda with outer lambda having a default capture

2025-02-14 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110584 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/117324] [12/13/14/15 Regression] internal compiler error: Segmentation fault in break_out_target_exprs(tree_node*, bool)

2025-02-14 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117324 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org Ta

[Bug c++/118306] Accepts invalid ctor with * in front

2025-02-11 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118306 Simon Martin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118304] [15 regression] ICE on invalid constructor with an asterisk since r15-3721-ga2746e4347076e

2025-02-11 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118304 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Assignee|mpolacek at gcc

[Bug c++/117504] [12/13/14/15 Regression] Incorrect code emitted when using "constexpr std::array" since r8-3497-g281e6c1d8f1b4c

2025-02-11 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 --- Comment #3 from Simon Martin --- Interestingly enough, it's the trailing type that's causing issues; things work perfectly fine without it. That's what I'm digging into.

[Bug c++/118282] [12/13/14/15 Regression] GCC fails to identify feasible type conversion scheme between operands of conditional expression with 0 as nullptr

2025-02-07 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118282 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-02-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|12.5

[Bug c++/118388] Segmentation fault in invalid friend declaration with default argument with -fpermissive

2025-02-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118388 Bug 118388 depends on bug 118319, which changed state. Bug 118319 Summary: [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression https://gcc.gnu.org/bugzilla/show_bug.c

[Bug c++/65608] [meta-bug] friend issues

2025-02-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 118319, which changed state. Bug 118319 Summary: [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression https://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c++/114619] [13/14/15 regression] ICE with -fno-elide-constructors in C++14 mode for non-constant initializer in array new since r13-3175-g6ffbf87ca66f4e

2025-02-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114619 Simon Martin changed: What|Removed |Added Target Milestone|13.4|15.0 --- Comment #7 from Simon Martin -

[Bug c++/109918] [12/13/14/15 Regression] Unexpected -Woverloaded-virtual with virtual conversion operators

2025-02-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109918 Simon Martin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/114619] [13/14/15 regression] ICE with -fno-elide-constructors in C++14 mode for non-constant initializer in array new since r13-3175-g6ffbf87ca66f4e

2025-02-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114619 Simon Martin changed: What|Removed |Added Known to work||15.0 Status|ASSIGNED

[Bug c++/118282] [12/13/14/15 Regression] GCC fails to identify feasible type conversion scheme between operands of conditional expression with 0 as nullptr

2025-02-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118282 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/114292] [12/13/14/15 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2025-01-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 Simon Martin changed: What|Removed |Added Known to work||15.0 --- Comment #11 from Simon Martin

[Bug c++/55004] [meta-bug] constexpr issues

2025-01-25 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 118239, which changed state. Bug 118239 Summary: [12/13/14/15 Regression] accepts invalid constexpr variable definition https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118239 What|Removed

[Bug c++/118239] [12/13/14/15 Regression] accepts invalid constexpr variable definition

2025-01-25 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118239 Simon Martin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/118199] [15 regression] -fno-elide-constructors vs no_unique_address

2025-01-22 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118199 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug c++/118199] [15 regression] -fno-elide-constructors vs no_unique_address

2025-01-22 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118199 Simon Martin changed: What|Removed |Added Known to work||12.4.0, 13.3.0, 14.2.0 --- Comment #18 f

[Bug c++/118225] [12/13/14/15 Regression] ICE: in build_class_member_access_expr, at cp/typeck.cc:2983

2025-01-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118225 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0

[Bug c++/118225] [12/13/14/15 Regression] ICE: in build_class_member_access_expr, at cp/typeck.cc:2983

2025-01-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118225 Simon Martin changed: What|Removed |Added Known to work||15.0 Resolution|---

[Bug c++/65608] [meta-bug] friend issues

2025-01-20 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 118255, which changed state. Bug 118255 Summary: [12 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter since r9-1493-g8945521a50a7dd https://gcc.gnu.

[Bug c++/118255] [12 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter since r9-1493-g8945521a50a7dd

2025-01-20 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 Simon Martin changed: What|Removed |Added Known to work||12.4.1, 13.3.1, 14.2.1 Statu

[Bug c++/117775] [13/14/15 Regression] Internal compiler error when deriving from lambda function with invalid body

2025-01-17 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117775 Simon Martin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118163] Diagnostic not fully silenced by -Wno-template-body

2025-01-12 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118163 --- Comment #4 from Simon Martin --- Updated patch in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673394.html

[Bug c++/118392] "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

2025-01-12 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118392 --- Comment #5 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673394.html

[Bug c++/118306] Accepts invalid ctor with * in front

2025-01-11 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118306 --- Comment #2 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673196.html

[Bug c++/118392] "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

2025-01-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118392 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/118388] Segmentation fault in invalid friend declaration with default argument with -fpermissive

2025-01-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118388 --- Comment #2 from Simon Martin --- We ICE in a gcc_assert (seen_error()), because we did a permerror but the error was downgraded to a warning due to -fpermissive. I have a patch that keeps track of such downgraded errors and takes them into

[Bug c++/118346] Access to member inherited from virtual base class forbidden in GCC with temporary null pointer instance

2025-01-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118346 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-01-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 --- Comment #5 from Simon Martin --- Apologies pinskia@ for being redundant with what you did write via Known to work/fail. I need to read those more :-/ Anyway, patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673077.h

[Bug c++/118388] Segmentation fault in invalid friend declaration with default argument with -fpermissive

2025-01-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118388 Simon Martin changed: What|Removed |Added Target Milestone|--- |15.0 Status|UNCONFIRMED

[Bug c++/118388] New: Segmentation fault in invalid friend declaration with default argument with -fpermissive

2025-01-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118388 Bug ID: 118388 Summary: Segmentation fault in invalid friend declaration with default argument with -fpermissive Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-01-08 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 --- Comment #3 from Simon Martin --- For the record this started to crash between 12.3 and 12.4 - https://godbolt.org/z/P3qvcnvj1

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-01-07 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/118306] Accepts invalid ctor with * in front

2025-01-06 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118306 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/118199] [15 regression] -fno-elide-constructors vs no_unique_address

2025-01-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118199 --- Comment #17 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/672616.html (the fix is not a simple tweak of the fix for PR c++/114619).

[Bug c++/118255] [12/13/14/15 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter since r9-1493-g8945521a50a7dd

2025-01-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 --- Comment #4 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/672606.html

[Bug c++/118199] [15 regression] -fno-elide-constructors vs no_unique_address

2025-01-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118199 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/118255] [12/13/14/15 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter since r9-1493-g8945521a50a7dd

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

[Bug c++/118225] [12/13/14/15 Regression] ICE: in build_class_member_access_expr, at cp/typeck.cc:2983

2025-01-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118225 --- Comment #3 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/672578.html

[Bug c++/118225] [12/13/14/15 Regression] ICE: in build_class_member_access_expr, at cp/typeck.cc:2983

2025-01-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118225 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/118239] [12/13/14/15 Regression] accepts invalid constexpr variable definition

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118239 --- Comment #3 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2025-January/672567.html

[Bug c++/118239] [12/13/14/15 Regression] accepts invalid constexpr variable definition

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118239 Simon Martin changed: What|Removed |Added Last reconfirmed||2025-01-03 Assignee|unassigned

[Bug c++/118163] Diagnostic not fully silenced by -Wno-template-body

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118163 --- Comment #3 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2024-December/672168.html

[Bug c++/118078] [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118078 --- Comment #4 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2024-December/672144.html

[Bug c++/117775] [13/14/15 Regression] Internal compiler error when deriving from lambda function with invalid body

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117775 --- Comment #3 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2024-November/670422.html

[Bug c++/114292] [12/13/14/15 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 --- Comment #7 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671590.html

[Bug c++/109918] [12/13/14/15 Regression] Unexpected -Woverloaded-virtual with virtual conversion operators

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109918 --- Comment #13 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665650.html

[Bug c++/114619] [13/14/15 regression] ICE with -fno-elide-constructors in C++14 mode for non-constant initializer in array new since r13-3175-g6ffbf87ca66f4e

2025-01-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114619 --- Comment #4 from Simon Martin --- Patch submitted in https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665905.html

[Bug c++/118163] Diagnostic not fully silenced by -Wno-template-body

2024-12-22 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118163 Simon Martin changed: What|Removed |Added Summary|[15 Regression] Diagnostic |Diagnostic not fully |

[Bug c++/118163] [15 Regression] Diagnostic not fully silenced by -Wno-template-body

2024-12-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118163 Simon Martin changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/118163] [15 Regression] Diagnostic not fully silenced by -Wno-template-body

2024-12-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118163 Simon Martin changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug c++/118163] New: [15 Regression] Diagnostic not fully silenced by -Wno-template-body

2024-12-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118163 Bug ID: 118163 Summary: [15 Regression] Diagnostic not fully silenced by -Wno-template-body Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: minor

[Bug c++/118078] [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2024-12-19 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118078 --- Comment #3 from Simon Martin --- Thanks for the report. I'm currently testing a patch that leverages TYPE_BEING_DEFINED instead or looking at current_class_type.

[Bug c++/118078] [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2024-12-19 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118078 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/117504] [12/13/14/15 Regression] Incorrect code emitted when using "constexpr std::array" since r8-3497-g281e6c1d8f1b4c

2024-12-18 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/117845] [14/15 Regression] ICE in pass eh after error with -fsanitize=address

2024-12-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117845 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/114292] [12/13/14/15 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2024-12-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/117845] [14/15 Regression] ICE in pass eh after error with -fsanitize=address

2024-12-06 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117845 Simon Martin changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #4 from Si

[Bug c++/101603] [meta-bug] pointer to member functions issues

2024-12-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 117615, which changed state. Bug 117615 Summary: [12/13/14/15 Regression] constexpr failure static_cast of Derived virtual Pointer to Member function since r6-4014-gdcdbc004d531b4 https://gcc.gnu.org/bugzilla/show_bug.c

[Bug c++/55004] [meta-bug] constexpr issues

2024-12-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 117615, which changed state. Bug 117615 Summary: [12/13/14/15 Regression] constexpr failure static_cast of Derived virtual Pointer to Member function since r6-4014-gdcdbc004d531b4 https://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c++/117615] [12/13/14/15 Regression] constexpr failure static_cast of Derived virtual Pointer to Member function since r6-4014-gdcdbc004d531b4

2024-12-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/117845] [14/15 Regression] ICE in pass eh after error with -fsanitize=address

2024-12-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117845 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/117615] [12/13/14/15 Regression] constexpr failure static_cast of Derived virtual Pointer to Member function since r6-4014-gdcdbc004d531b4

2024-12-03 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/117775] [13/14/15 Regression] Internal compiler error when deriving from lambda function with invalid body

2024-11-28 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117775 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/66564] [12/13/14/15 Regression] ICE on explicit instantiation of nested template class

2024-11-20 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug c++/117463] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*)

2024-11-11 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117463 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0 Resolution|---

[Bug c++/117463] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*)

2024-11-06 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117463 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/117158] [12/13/14/15 Regression] ICE with array access inside a template with a base class since r10-3793-g1a37b6d9a7e57c

2024-11-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117158 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116208] `__ct_base ` is used instead of the ctor name in warning's `inlined from` when using LTO

2024-11-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116208 --- Comment #12 from Simon Martin --- Yeah, I tried with a revert and it does change anything.

[Bug c++/116208] `__ct_base ` is used instead of the ctor name in warning's `inlined from` when using LTO

2024-11-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116208 Simon Martin changed: What|Removed |Added Last reconfirmed||2024-11-05 Status|UNCONFIRME

[Bug c++/117099] [14/15 Regression] internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-11-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Simon Martin changed: What|Removed |Added Target Milestone|14.3|15.0

[Bug c++/117129] [14/15 Regression] internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)

2024-11-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117129 Simon Martin changed: What|Removed |Added Target Milestone|14.3|15.0 Resolution|---

[Bug c++/117099] [14/15 Regression] internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-11-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Simon Martin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   >