[Bug c++/54367] [meta-bug] lambda expressions

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 79104, which changed state. Bug 79104 Summary: [DR 696] wrong semantics for odr-use of constant variable from lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79104 What|Removed

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 --- Comment #9 from Jason Merrill --- *** Bug 79104 has been marked as a duplicate of this bug. ***

[Bug c++/79104] [DR 696] wrong semantics for odr-use of constant variable from lambda

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

[Bug c++/109997] __is_assignable(int, IncompleteType) should be rejected

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
|RESOLVED CC||jason at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #5 from Jason Merrill --- Fixed by r14-9713

[Bug libstdc++/71579] type_traits miss checks for type completeness in some traits

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71579 Bug 71579 depends on bug 109997, which changed state. Bug 109997 Summary: __is_assignable(int, IncompleteType) should be rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109997 What|Removed |Added

[Bug c++/106838] Built-in traits have wrong preconditions

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106838 Jason Merrill changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment

[Bug c++/92067] __is_constructible(incomplete_type) should make the program ill-formed

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

[Bug c++/68703] __attribute__((vector_size(N))) template member confusion

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=115897 Assignee|jason at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/69059] [C++14] Invalid rejection of expression as not-a-constant-expression

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

[Bug c++/54367] [meta-bug] lambda expressions

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 70979, which changed state. Bug 70979 Summary: [C++14] g++ falsely accepts constexpr function returning a lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70979 What|Removed |Added

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

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 70979, which changed state. Bug 70979 Summary: [C++14] g++ falsely accepts constexpr function returning a lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70979 What|Removed |Added

[Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda

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

[Bug c++/68074] [C++14] Complex ConstExpr Evaluation

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

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

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 68074, which changed state. Bug 68074 Summary: [C++14] Complex ConstExpr Evaluation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68074 What|Removed |Added

[Bug c++/105452] [12/13/14/15 Regression] static_assert inside anonymous union inside a templated struct causes invalid "inaccessible within this context" error

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105452 Jason Merrill changed: What|Removed |Added Target Milestone|12.5|13.0 Status|ASSIGNED

[Bug c++/108218] [12/13/14/15 Regression] Constant arguments in the new expression is not checked in unevaluated operand since r12-5253-g4df7f8c79835d569

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108218 Jason Merrill changed: What|Removed |Added Status|SUSPENDED |RESOLVED Target Milestone|12.5

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

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|12.5

[Bug c++/114840] [meta-bug] template template parameters

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114840 Bug 114840 depends on bug 108179, which changed state. Bug 108179 Summary: [12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 What|Removed

[Bug c++/108795] [12 Regression] ICE in prep_operand, at cp/call.cc:6325 since r7-2549-gf3365c1201908df5

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108795 Jason Merrill changed: What|Removed |Added Target Milestone|12.5|12.3 Status|ASSIGNED

[Bug c++/108299] [CWG2684] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 Jason Merrill changed: What|Removed |Added Summary|toplevel thread_local |[CWG2684] toplevel

[Bug c++/97720] throw in try in noexcept fn calls terminate without handling the exception

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

[Bug c++/101733] simple-requirement prefixed with typename interpreted as type-requirement

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

[Bug c++/96604] rejects-valid on befriending specialization of conversion function template

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96604 Jason Merrill changed: What|Removed |Added Target Milestone|--- |12.0 Status|ASSIGNED

[Bug lto/83997] ICE with alias template and attribute

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

[Bug c/100545] ICE with -g: in gen_typedef_die with mode attribute and aligned attribute

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

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

2024-07-24 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 99968, which changed state. Bug 99968 Summary: ICE on remove_const_t in requires-expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99968 What|Removed |Added

[Bug c++/99968] ICE on remove_const_t in requires-expression

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

[Bug c++/93085] ICE in get_class_binding_direct and alias_ctad_tweaks, with C++20 NTTP + CTAD + alias template

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

[Bug c++/91590] ICE in : canonical types differ for identical types std::enable_if::ViewConcept< >()> and std::enable_if::ViewConcept< >()

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

[Bug c++/67965] gcc (incorrectly) requires template keyword in non-dependent expression

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED Assignee|jason at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/100588] Destroying delete shouldn't be called if constructor throws

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100588 Jason Merrill changed: What|Removed |Added Target Milestone|--- |12.0 Status|ASSIGNED

[Bug c++/110070] Code quality regression with for (int i: {1,2,4,6})

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

[Bug c++/61465] Bogus parameter set but not used warning in constructor initialization list

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61465 Jason Merrill changed: What|Removed |Added Target Milestone|--- |4.9.2 Status|ASSIGNED

[Bug c++/84255] accepts redefinition of template variable

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

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

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

[Bug c++/53377] Thread Cancellation causing aborts due to improper handling of abi::__forced_unwind

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53377 Bug 53377 depends on bug 28145, which changed state. Bug 28145 Summary: C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28145

[Bug c++/116071] [14/15 Regression] Non-inline destructor for class template rejected with -std=gnu++14 -fconcepts

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED

[Bug c++/115660] internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-07-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug c++/109227] coroutines: ICE in tree check: expected record_type or union_type or qual_union_type, have array_type in build_special_member_call, at cp/call.cc:11067

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

[Bug c++/110159] ICEs for C++ Contracts test cases with '-fno-exceptions'

2024-07-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110159 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dinka.ranns at gmail dot com

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #15 from Jason Merrill --- (In reply to Jonathan Wakely from comment #14) LGTM.

[Bug ipa/110057] Missed devirtualization opportunities

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

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #8 from Jason Merrill --- Yes, looks like decl_binds_to_current_def_p needs to check DECL_ONE_ONLY as well as DECL_WEAK.

[Bug tree-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #6 from Jason Merrill --- I guess the "only if" needs to be more conservative for COMDAT functions.

[Bug tree-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #5 from Jason Merrill --- -fipa-ra sounds like a likely culprit: Use caller save registers for allocation if those registers are not used by any called function. In that case it is not necessary to save and restore

[Bug tree-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-08 Thread jason at gcc dot gnu.org via Gcc-bugs
||jason at gcc dot gnu.org --- Comment #1 from Jason Merrill --- I tried building the test on Linux with -fno-semantic-interposition, in case that was the difference, but it still doesn't reproduce the problem. Changing the component as this seems unlikely to be a front

[Bug c++/101232] Bad error message with stray semicolon in initializer

2024-07-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232 --- Comment #6 from Jason Merrill --- It seems like the problem is that cp_parser_braced_list doesn't check whether braces.require_close succeeded and compensate if it fails; in that case it might make sense to cp_parser_skip_to_closing_brace

[Bug c++/101232] Bad error message with stray semicolon in initializer

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

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #18 from Jason Merrill --- (In reply to cqwrteur from comment #17) > But does that apply to classes, templates or template specialization, etc.? Yes, everything that you would define in a header. > If someone writes a

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #16 from Jason Merrill --- (In reply to cqwrteur from comment #15) > But it is not declaration, but definition. The actual implementation > duplicates twice. Definitions are also merged. > For translation units, inline function

[Bug c++/115745] [C++26] P0963R3 - Structured binding declaration as a condition

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115745 --- Comment #5 from Jason Merrill --- LGTM

[Bug c++/115747] [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747 --- Comment #8 from Jason Merrill --- > Updated patch. Had to guard return error_mark_node for the non-SFINAE case > on !flag_permissive, otherwise it triggers an ICE (statement parsing into > error_mark_node without seen_error ()). Hmm, I

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #13 from Jason Merrill --- > The question is still how this library could work. The same simply > absolutely conflicts. Unless the standard allows inline to be discarded > across modules I don't see how this could work. It works

[Bug c++/115747] [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747 --- Comment #6 from Jason Merrill --- Almost, but permerror_opt instead of checking the flag directly. And actually I think cxx_incomplete_type_inform is enough, rather than cxx_incomplete_type_diagnostic.

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #10 from Jason Merrill --- (In reply to cqwrteur from comment #9) > (In reply to Jason Merrill from comment #8) > > bar.cppm:4:20: error: conflicting declaration of ‘void foo()’ in module > > ‘bar’ > > 4 | export inline void

[Bug c++/115747] [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747 --- Comment #4 from Jason Merrill --- I think we want parallel changes for the vec and non-vec cases. I agree that the diagnostic message needs to be different for C++26, just that the C++26 diagnostic should also be affected by

[Bug c++/115754] [14/15 Regression] C++26 ICE on constexpr new

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115754 --- Comment #1 from Jason Merrill --- Agreed, with the adjustment I commented on 115744.

[Bug c++/115744] [C++26] P2747R2 - constexpr placement new

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115744 --- Comment #2 from Jason Merrill --- (In reply to Jakub Jelinek from comment #1) > Untested WIP patch. In the conversion lval change, I'd think we want vc_discard for conversion to void, and to pass through whatever lval for

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #8 from Jason Merrill --- bar.cppm:4:20: error: conflicting declaration of ‘void foo()’ in module ‘bar’ 4 | export inline void foo() noexcept; |^~~ In file included from bar.cppm:2: someheader.hpp:1:13:

[Bug c++/115744] [C++26] P2747R2 - constexpr placement new

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |NEW CC||jason at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/115746] [C++26] P2963R3 - Ordering of constraints involving fold expressions

2024-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
||2024-07-02 CC||jason at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/115745] [C++26] P0963R3 - Structured binding declaration as a condition

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

[Bug c++/115747] [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed

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

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Ever

[Bug c++/99000] [modules] merging of textual redefinitions: declaration std::__copy_move_a2 conflicts with import

2024-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
Status|SUSPENDED |NEW CC||jason at gcc dot gnu.org --- Comment #4 from Jason Merrill --- Unsuspending and unassigning; this is a bug, but (as I understand) Nathan doesn't currently have time to work on modules issues.

[Bug c++/115413] Missing optimization: devirtualize the call in "if(typeid(*a)==typeid(A)) a->f();" structure

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

[Bug c++/114600] [14 Regression] [modules] redefinition errors when using certain std headers in GMF

2024-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114600 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

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

2024-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115194, which changed state. Bug 115194 Summary: [modules] "reference to is ambiguous" when multiple paths to same symbol exist through module https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115194 What

[Bug c++/115194] [modules] "reference to is ambiguous" when multiple paths to same symbol exist through module

2024-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115194 Jason Merrill changed: What|Removed |Added Target Milestone|--- |15.0 Status|ASSIGNED

[Bug c++/114683] [modules] name declared in GMF in inline namespace and exported via using-decl from parent namespace is not visible to importer

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

[Bug c++/115194] [modules] "reference to is ambiguous" when multiple paths to same symbol exist through module

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

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

2024-06-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114685, which changed state. Bug 114685 Summary: [modules] ICE when exporting a type through a different alias then one declared in GMF https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114685 What|Removed

[Bug c++/114685] [modules] ICE when exporting a type through a different alias then one declared in GMF

2024-06-12 Thread jason at gcc dot gnu.org via Gcc-bugs
||jason at gcc dot gnu.org Status|NEW |RESOLVED --- Comment #5 from Jason Merrill --- (In reply to Nathaniel Shead from comment #2) > This fails on > > if (data->hash->add_namespace_entities (decl, d

[Bug c++/114683] [modules] name declared in GMF in inline namespace and exported via using-decl from parent namespace is not visible to importer

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

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

2024-05-29 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 Summary|[13/14/15 Regression] |[13/14 Regression] pragma

[Bug c++/111529] [11/12/13 Regression] ICE on bool conversion in an unrolled loop condition inside template lambda nested in another template scope

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

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

2024-05-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 113598, which changed state. Bug 113598 Summary: [11/12/13 Regression] GCC internal compiler error since r0-124275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113598 What|Removed

[Bug c++/113598] [11/12/13 Regression] GCC internal compiler error since r0-124275

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

[Bug c++/115187] [14 Regression] ICE when deleting temporary array

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

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

2024-05-24 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 Status|ASSIGNED|RESOLVED Resolution|---

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

2024-05-24 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 Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115187] [14/15 Regression] ICE when deleting temporary array

2024-05-22 Thread jason at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Status|NEW |ASSIGNED CC||jason at gcc dot gnu.org

[Bug libstdc++/115126] New: TU-local entity exposures in libstdc++

2024-05-16 Thread jason at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: jason at gcc dot gnu.org Target Milestone: --- I tried compiling this alternate minimal version of module std: export module std; extern "C++" { #include } and got a bunch of errors about exposures ([basi

[Bug c++/114935] [14/15 regression] Miscompilation of initializer_list in presence of exceptions since r14-1705-g2764335bd336f2

2024-05-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114935 --- Comment #5 from Jason Merrill --- Created attachment 58210 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58210=edit attempt to reduce redundancy A failed attempt to avoid duplicate array cleanups in this case.

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

2024-05-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753 --- Comment #16 from Jason Merrill --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-May/650439.html

[Bug c++/114935] [14/15 regression] Miscompilation of initializer_list in presence of exceptions since r14-1705-g2764335bd336f2

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

[Bug c++/114935] [14/15 regression] Miscompilation of initializer_list in presence of exceptions since r14-1705-g2764335bd336f2

2024-05-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114935 --- Comment #1 from Jason Merrill --- Without : #include int as; struct A { A(const char *) { ++as; } A(const A&) { ++as; } ~A() { --as; } }; void __attribute__((noipa)) tata(std::initializer_list init) { throw 1; } int main() {

[Bug c++/114935] [14/15 regression] Miscompilation of initializer_list in presence of exceptions

2024-05-03 Thread jason at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |jason at gcc dot gnu.org Last reconfirmed||2024-05-03 Target Milestone|--- |14.0 Summary|Miscompilation of |[14/15 regression] |initializer_list in presence

[Bug c++/56427] [C++11] template template parameter template parameter pack that depends on another parameter pack

2024-05-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56427 Bug 56427 depends on bug 114377, which changed state. Bug 114377 Summary: [13 Regression] GCC crashes on an example of CTAD for alias templates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114377 What|Removed

[Bug c++/114377] [13 Regression] GCC crashes on an example of CTAD for alias templates

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

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

2024-05-01 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|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88323] implement C++20 language features.

2024-05-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 --- Comment #3 from Jason Merrill --- I think the goal should be to declare C++20 support no longer experimental in GCC 15, but I probably wouldn't change the default dialect just yet.

[Bug c++/114841] [P0522R0] partial ordering of template template parameters

2024-04-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114841 --- Comment #1 from Jason Merrill --- Matheus' suggested wording: "When performing deduction such that both A and P are template template params, and A is the template name of a template specialization, instead of just deducing A in that case,

[Bug c++/114841] [P0522R0] partial ordering of template template parameters

2024-04-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114841 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/114841] New: [P0522R0] partial ordering of template template parameters

2024-04-24 Thread jason at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason at gcc dot gnu.org Target Milestone: --- Created attachment 58029 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58029=edit WIP patch against r8-7277-g515f874faf4562 In the 2

[Bug c++/114840] [meta-bug] template template parameters

2024-04-24 Thread jason at gcc dot gnu.org via Gcc-bugs
|1 CC||jason at gcc dot gnu.org Last reconfirmed||2024-04-24 Status|UNCONFIRMED |NEW

[Bug c++/114840] New: [meta-bug] template template parameters

2024-04-24 Thread jason at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: jason at gcc dot gnu.org Target Milestone: --- Meta-bug for issues with C++ template template parameters.

[Bug c++/114460] [C++26] P3106R1 - Clarifying rules for brace elision in aggregate initialization

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

[Bug c++/90390] [CWG1996] incorrect list initialization behavior for references

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

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

  1   2   3   4   5   6   7   8   9   10   >