[Bug c++/105652] [12/13 Regression] ICE: in is_base_type, at dwarf2out.cc:13400 since r12-1937-gc28e1d288ab727de

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

[Bug c++/104111] Concept evaluation depends on context where it was first checked

2022-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104111 Jason Merrill changed: What|Removed |Added Blocks||67491 --- Comment #5 from Jason Merrill

[Bug c++/104111] Concept evaluation depends on context where it was first checked

2022-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104111 --- Comment #6 from Jason Merrill --- (In reply to Jason Merrill from comment #5) > An alternative fix for this bug would be to include the evaluation context > in the satisfaction cache. ...if the evaluation involved access checking of a priva

[Bug c++/104111] [DR2589] Concept evaluation depends on context where it was first checked

2022-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104111 Jason Merrill changed: What|Removed |Added Summary|Concept evaluation depends |[DR2589] Concept evaluation

[Bug c++/105652] [12/13 Regression] ICE: in is_base_type, at dwarf2out.cc:13400 since r12-1937-gc28e1d288ab727de

2022-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105652 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105623] [12/13 regression][rejects valid] invalid use of auto when deducing return type of base class template

2022-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105623 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105655] [12 Regression] ICE on invalid deduction

2022-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105655 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105779] [12/13 Regression] static function with auto return type not being resolved correctly

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

[Bug c++/102307] [10/11 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5

2022-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105734] [12/13 Regression]: Incorrect "error: invalid use of 'auto'" for explicit destructor inside a template

2022-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105734 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105593] avx512 math function raises uninitialized variable warning

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Keyw

[Bug c++/105794] [12/13 Regression] Spurious "control reaches end of non-void function" warning with a combination of destructor, try/catch and if (true)

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105794 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/104787] [12/13 Regression] False positive -Wreturn-type since r12-5638-ga3e75c1491cd2d50

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104787 Jason Merrill changed: What|Removed |Added CC||kamil.sliwak at codepoets dot it --- C

[Bug c++/105795] [11/12/13 Regression] Miscompilation with [[no_unique_address]]

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

[Bug c++/105779] [12/13 Regression] static function with auto return type not being resolved correctly

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105734] [12/13 Regression]: Incorrect "error: invalid use of 'auto'" for explicit destructor inside a template

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

[Bug c++/105795] [11/12 Regression] Miscompilation with [[no_unique_address]]

2022-06-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105795 Jason Merrill changed: What|Removed |Added Known to work||11.3.1, 12.1.1 Status|ASSIG

[Bug c++/105761] [11/12/13 Regression] ICE on hidden friend definition defined in base type since r11-388-gc4bff4c230c8d341

2022-06-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105761 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org St

[Bug c++/105761] [11/12/13 Regression] ICE on hidden friend definition defined in base type since r11-388-gc4bff4c230c8d341

2022-06-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105761 Jason Merrill changed: What|Removed |Added Known to work||11.3.1, 12.1.1, 13.0 Target Milestone

[Bug c++/105841] [12/13 Regression] Change in behavior of CTAD for alias templates

2022-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105841] [12/13 Regression] Change in behavior of CTAD for alias templates

2022-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|NEW CC|

[Bug c++/105852] [11/12/13 Regression] ice in instantiate_decl

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

[Bug c++/105841] [12/13 Regression] Change in behavior of CTAD for alias templates

2022-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841 --- Comment #4 from Jason Merrill --- (In reply to Mike Spertus from comment #3) > Thanks for the nudge, Jason. I will shake the bit rot off the POC and try to > polish it to something mergeable. OK if I ping you if I have questions? Absolutely

[Bug c++/104642] Add __builtin_trap() for missing return at -O0

2022-06-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104642 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Assi

[Bug c++/104642] Add __builtin_trap() for missing return at -O0

2022-06-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104642 --- Comment #5 from Jason Merrill --- The suggested -funreachable-traps seems to have a lot of overlap with -fsanitize-undefined-trap-on-error; I wonder about combining them, and having it by itself imply -fsanitize=unreachable.

[Bug c++/105908] [12/13 Regression] out-of-class definition of templated method with decltype in trailing return type fails to compile

2022-06-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105908 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/104642] Add __builtin_trap() for missing return at -O0

2022-06-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104642 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105964] [12/13 Regression] Return type deduction fails during NTTP use of function dependent on template parameter

2022-06-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105964 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105885] [12/13 Regression] the address of 'template argument' will never be NULL warning

2022-06-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105885 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/94554] spurious -Waddress warning within "if constexpr" function-null compares

2022-06-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94554 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Ever

[Bug c++/94554] spurious -Waddress warning within "if constexpr" function-null compares

2022-06-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94554 --- Comment #6 from Jason Merrill --- (In reply to Daniel Krügler from comment #3) > The example is ill-formed because the condition of 'if constexpr' is more > restricted than that of normal 'if': It expects "a contextually converted > constant

[Bug c++/105925] [11/12/13 Regression] Could not convert '{{0, 0.0}}' from '' to 'X' since r12-954-g84fd1b5dff70cd74

2022-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105925 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/94554] spurious -Waddress warning within "if constexpr" function-null compares

2022-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94554 Jason Merrill changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug c/103360] [meta-bug] bogus/missing -Waddress

2022-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103360 Bug 103360 depends on bug 94554, which changed state. Bug 94554 Summary: spurious -Waddress warning within "if constexpr" function-null compares https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94554 What|Removed

[Bug c++/105885] [12/13 Regression] the address of 'template argument' will never be NULL warning

2022-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105885 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105925] [11/12/13 Regression] Could not convert '{{0, 0.0}}' from '' to 'X' since r12-954-g84fd1b5dff70cd74

2022-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105925 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org St

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Sta

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 Jason Merrill changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

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

[Bug c++/87656] Useful flags to enable with -Wall or -Wextra

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 Bug 87656 depends on bug 87729, which changed state. Bug 87729 Summary: Please include -Woverloaded-virtual in -Wall https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 What|Removed |Added ---

[Bug c++/67345] -Woverloaded-virtual false negative: Does not warn on overloaded virtual function

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67345 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 Jason Merrill changed: What|Removed |Added CC||EisahLee at gmx dot de --- Comment #11 f

[Bug c++/105541] [12 Regression] ICE: Segmentation fault when template lambda in requires-clause

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

[Bug c++/105908] [12 Regression] out-of-class definition of templated method with decltype in trailing return type fails to compile

2022-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105908 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105964] [12 Regression] Return type deduction fails during NTTP use of function dependent on template parameter

2022-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105964 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106179] [13 Regression] Rejected code since r13-1390-g07ac550393d00fca

2022-07-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106179 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/106179] [13 Regression] Rejected code since r13-1390-g07ac550393d00fca

2022-07-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106179 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106178] [13 Regression] Rejected code with "is private within this context" since r13-1390-g07ac550393d00fca

2022-07-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106178 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/106179] [13 Regression] Rejected code since r13-1390-g07ac550393d00fca

2022-07-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106179 --- Comment #5 from Jason Merrill --- *** Bug 106178 has been marked as a duplicate of this bug. ***

[Bug c++/92434] [DR 2355] noexcept couldn't be deduced in function template

2022-07-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92434 Jason Merrill changed: What|Removed |Added Known to work||12.1.1 Resolution|---

[Bug c++/101072] [11/12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845 since r11-5681-gd9288bd28e24c755

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

[Bug c++/101072] [12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845 since r11-5681-gd9288bd28e24c755

2021-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101072 Jason Merrill changed: What|Removed |Added Summary|[11/12 Regression] ICE in |[12 Regression] ICE in

[Bug c++/101040] [11/12 Regression] Internal compiler error: in get_or_insert_ctor_field, at cp/constexpr.c:3571 since r11-7980-gc3d3bb0f03dbd025

2021-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101040 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/100109] [9/10/11 Regression] ICE: unexpected expression 'E' of kind template_parm_index

2021-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100109 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/100409] C++ FE elides pure throwing call

2021-07-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100409 --- Comment #13 from Jason Merrill --- (In reply to Richard Biener from comment #3) > - if (! TREE_SIDE_EFFECTS (expr)) > + if (! TREE_SIDE_EFFECTS (expr) && expr_noexcept_p (expr, 0)) > expr = void_node; The assumption that an expressio

[Bug c++/100409] C++ FE elides pure throwing call

2021-07-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100409 --- Comment #15 from Jason Merrill --- (In reply to Richard Biener from comment #14) > Does that mean C++ should default to -fdelete-dead-exceptions? That makes sense. The C++ standard has nothing to say about this, since pure/const are extens

[Bug c++/100731] [12 Regression] GCC 11 fails to build using GCC 4.8 because of missing includes

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100731 Jason Merrill changed: What|Removed |Added Summary|[11/12 Regression] GCC 11 |[12 Regression] GCC 11

[Bug c++/101098] [11/12 Regression] ICE with explicit specialization of constrained function template

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/100838] [11 Regression] -fno-elide-constructors for C++14 missing required destructor call since r11-5872-g4eb28483004f8291

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

[Bug c++/101098] [11/12 Regression] ICE with explicit specialization of constrained function template

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2021-07-09 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 101098, which changed state. Bug 101098 Summary: [11/12 Regression] ICE with explicit specialization of constrained function template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 What|Removed

[Bug c++/101095] Bogus "error: conflicting global module declaration" for abbreviated function template using placeholder type in noexcept

2021-07-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101095 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org St

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2021-07-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #10 from Jason Merrill --- (In reply to Richard Smith from comment #4) > Yep, looks like GCC miscompiles direct calls to operator new / operator > delete since that patch landed: https://godbolt.org/z/dK99Rz Note that this is true on

[Bug c++/101539] New: [C++20] Implement builtins for layout-compatibility and pointer-interconvertibility traits

2021-07-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101539 Bug ID: 101539 Summary: [C++20] Implement builtins for layout-compatibility and pointer-interconvertibility traits Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/113612] [13/14 Regression] ICE: SIGSEGV in get_template_info (pt.cc:378) or tree_check (tree.h:3611)

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

[Bug c++/113612] [13/14 Regression] ICE: SIGSEGV in get_template_info (pt.cc:378) or tree_check (tree.h:3611)

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

[Bug c++/113706] c-c++-common/pr103798-2.c FAILs as C++

2024-02-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113706 Jason Merrill changed: What|Removed |Added Component|tree-optimization |c++ CC|

[Bug c++/113706] c-c++-common/pr103798-2.c FAILs as C++

2024-02-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113706 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Target Milestone|14.0

[Bug c++/113706] c-c++-common/pr103798-2.c FAILs as C++

2024-02-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113706 --- Comment #10 from Jason Merrill --- Created attachment 57423 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57423&action=edit patch for GCC 15 Here's a fix, but since this isn't a regression it can wait for stage 1.

[Bug c++/109753] [13/14 Regression] pragma GCC target causes std::vector not to compile (always_inline on constructor)

2024-02-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/109753] [13/14 Regression] pragma GCC target causes std::vector not to compile (always_inline on constructor)

2024-03-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753 --- Comment #15 from Jason Merrill --- Created attachment 57706 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57706&action=edit one approach I tried just making implicit functions respect #pragma target, but that regresses pr105306 due t

[Bug c++/114455] [C++26] P2748R5 - Disallow binding a returned reference to a temporary

2024-03-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114455 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Assi

[Bug c++/114561] [11/12/13/14 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

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

[Bug c++/114562] [11/12/13/14 Regression] ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer since r10-7410

2024-04-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114562 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Assi

[Bug c++/111067] g++.dg/opt/icf{1,2,3}.C tests fail on darwin

2024-04-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111067 --- Comment #10 from Jason Merrill --- (In reply to Jonathan Wakely from comment #8) > (In reply to Iain Sandoe from comment #7) > > So I am actually asking if the extension actually has any useful meaning? > > For non-darwin, yes, it requests

[Bug c++/111067] g++.dg/opt/icf{1,2,3}.C tests fail on darwin

2024-04-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111067 --- Comment #12 from Jason Merrill --- (In reply to Iain Sandoe from comment #11) > SO I suppose the question is do we want to figure out why the opt is failing > (knowing that if it succeeds that is a secondary issue) - or just > dg-xfail-run-i

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-07-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #9 from Jason Merrill --- This patch caused PR110566.

[Bug c++/106310] [12/13/14 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-07-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/106310] [12/13 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-07-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Known to work||11.3.0, 14.0 Summary|[12/13/

[Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873 --- Comment #8 from Jason Merrill --- (In reply to Jason Merrill from comment #7) > It does seem wrong that a constexpr function can't define a constexpr static > local variable. Incidentally, this was fixed for C++23 by P2647, implemented in GC

[Bug c++/60027] [DR1228] Problem with braced-init-lists and explicit ctors

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60027 --- Comment #10 from Jason Merrill --- Note that for PR109247 I've changed how this is handled in the case of using the explicit constructor to initialize the argument of a copy/move constructor or op=, which should make some of the duplicates wo

[Bug c++/55918] Stack partially unwound when noexcept causes call to std::terminate

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55918 Jason Merrill changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/110349] [C++26] P2169R4 - Placeholder variables with no name

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110349 --- Comment #3 from Jason Merrill --- Yeah, we don't want to give errors in lookup_name, pretty much for the reasons you found. cp_parser_lookup_name gives an ambiguity error when lookup_name returns a TREE_LIST, so I think it makes sense to re

[Bug c++/109506] [11/12 regression] -fchecking=2 causes some template constructor not be instantiated when used with NSDMI

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109506 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Target Miles

[Bug c++/105406] [11 Regression] coroutines: since 11.3 co_await attempts to copy a move-only value when await_transform(T &) exists

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105406 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|11.5

[Bug c++/108468] [11 Regression] ICE in most_specialized_partial_spec/builtin_guide_p in C++20 mode

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108468 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|11.5

[Bug c++/81420] When a reference is bound to a member in the base of a temporary, lifetime of the temporary is not extended

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81420 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/53288] [C++11] Lifetime of temporary object backing pointer-to-member expression not extended

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53288 Jason Merrill changed: What|Removed |Added Target Milestone|--- |13.0 Status|ASSIGNED

[Bug c++/106094] Lifetime extension of temporary do not obey some rules of [class.temporary]

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106094 Bug 106094 depends on bug 53288, which changed state. Bug 53288 Summary: [C++11] Lifetime of temporary object backing pointer-to-member expression not extended https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53288 What|Removed

[Bug c++/106094] Lifetime extension of temporary do not obey some rules of [class.temporary]

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106094 Jason Merrill changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRM

[Bug c++/8665] [DR727] explicit specialization of the member class template of a class template

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8665 Jason Merrill changed: What|Removed |Added Summary|explicit specialization of |[DR727] explicit |the m

[Bug c++/8665] [DR727] explicit specialization of the member class template of a class template

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8665 Jason Merrill changed: What|Removed |Added Resolution|--- |DUPLICATE Status|REOPENED

[Bug c++/85282] CWG 727 (full specialization in non-namespace scope)

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282 Jason Merrill changed: What|Removed |Added CC||jozef.kosoru at pobox dot sk --- Comment

[Bug c++/106310] [12/13 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-08-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/109751] [13/14 Regression] boost iterator_interface fails concept check starting in gcc-13

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

[Bug c++/110349] [C++26] P2169R4 - Placeholder variables with no name

2023-08-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110349 --- Comment #6 from Jason Merrill --- (In reply to Jakub Jelinek from comment #4) > "A member shall not be declared twice in the member-specification, except > that" > and nothing mentioning the name-independent exception in either case. Agreed

[Bug c++/109751] [13/14 Regression] boost iterator_interface fails concept check starting in gcc-13

2023-08-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109751 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

<    4   5   6   7   8   9   10   11   12   13   >