[Bug c++/107422] [12/13 Regression] ICE in lvalue_kind, at cp/tree.cc:293

2022-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107422 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-10-26 CC|

[Bug c++/107276] ICE Deducing return type from ill-formed structured binding name since r13-2905-g772d532e0ba1e4b2

2022-10-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107276 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/107280] ICE: tree check: expected constructor, have view_convert_expr in cxx_eval_store_expression, at cp/constexpr.cc:5928

2022-10-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107280 Marek Polacek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/106903] Incorrectly accepts call to function template when deduced type doesn't match adjusted type

2022-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106903 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c/106947] [12/13 Regression] -Waddress + bool + pragma generates meaningless diagnostic

2022-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106947 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106812] Throwing a non-copyable exception

2022-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106812 --- Comment #3 from Marek Polacek --- The difference between #3 and not-#3 is that without the NSDMI, S isn't TYPE_NEEDS_CONSTRUCTING, which makes a difference in initialize_handler_parm: 339 /* If the constructor for the catch parm exits

[Bug c++/106812] Throwing a non-copyable exception

2022-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106812 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/106784] Add __is_convertible built-in

2022-09-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106784 --- Comment #2 from Marek Polacek --- FWIW, I notice that include/std/type_traits implements struct __is_nothrow_convertible so I think its name has to change, otherwise it would clash with this new built-in. Though, it seems that clang

[Bug c++/107003] ICE in mangle_decl, at cp/mangle.cc:4112

2022-09-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107003 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/106937] [10/11/12/13 Regression] ICE tree check: expected identifier_node, have tree_list in pp_tree_identifier, at tree-pretty-print.cc:4606 since r10-1214-g1bf32c1141e23074

2022-09-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106937 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c/106947] [12/13 Regression] -Waddress + bool + pragma generates meaningless diagnostic

2022-09-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106947 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/98940] Implement C++23 language features

2022-09-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 106656, which changed state. Bug 106656 Summary: [C++23] P2513 - char8_t Compatibility and Portability Fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106656 What|Removed |Added

[Bug c++/106656] [C++23] P2513 - char8_t Compatibility and Portability Fixes

2022-09-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106656 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/107023] [10/11/12/13 Regression] [[gnu::stdcall]] Crashes the compiler, but __attribute__((stdcall)) and __stdcall worrks

2022-09-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107023 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/107023] [10/11/12/13 Regression] [[gnu::stdcall]] Crashes the compiler, but __attribute__((stdcall)) and __stdcall worrks

2022-09-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107023 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/107009] [13 Regression] massive unnecessary code blowup in vectorizer

2022-09-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107009 Marek Polacek changed: What|Removed |Added Target Milestone|--- |13.0 Ever confirmed|0

[Bug c++/106784] Add __is_convertible built-in

2022-09-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106784 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2022-09-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106976 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-09-20

[Bug c++/106983] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in type_build_dtor_call, at cp/class.cc:5794

2022-09-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983 Marek Polacek changed: What|Removed |Added Target Milestone|--- |12.4

[Bug c++/106983] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in type_build_dtor_call, at cp/class.cc:5794

2022-09-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-09-20

[Bug c++/106983] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in type_build_dtor_call, at cp/class.cc:5794

2022-09-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/106983] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in type_build_dtor_call, at cp/class.cc:5794

2022-09-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106649] [C++23] P2448 - Relaxing some constexpr restrictions

2022-09-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106649 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-09-29

[Bug c++/107148] [10/11/12/13 Regression] ICE in bot_manip, at cp/tree.cc:3252

2022-10-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107148 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-10-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #6 from Marek Polacek --- (In reply to Roy Jacobson from comment #3) > Thanks! But a Base const& is still not detected: > > static_assert(__reference_constructs_from_temporary(Base const&, Derived)); > > And in this case I think

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-10-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #7 from Marek Polacek --- ...which could be fixed with --- a/gcc/cp/call.cc +++ b/gcc/cp/call.cc @@ -9186,7 +9186,9 @@ conv_is_prvalue (conversion *c) { if (c->kind == ck_rvalue) return true; - if (c->kind == ck_base &&

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #10 from Marek Polacek --- Even more simplified: struct X { virtual void f(); }; struct Z : X {}; constexpr X x = X(Z()); I guess we shouldn't try to force_elide X::X(X&&) here because X is a potentially-overlapping subobject.

[Bug c++/106925] [12/13 Regression] ICE in maybe_splice_retval_cleanup at gcc/cp/except.cc:1330 since r12-8066-g4822108e61ab8790

2022-10-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106925 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/107173] ICE: unspellable token PRAGMA_EOL on type_traits:1446:26

2022-10-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107173 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-10-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/106937] [10/11/12 Regression] ICE tree check: expected identifier_node, have tree_list in pp_tree_identifier, at tree-pretty-print.cc:4606 since r10-1214-g1bf32c1141e23074

2022-10-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106937 Marek Polacek changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12 Regression] ICE

[Bug testsuite/107213] New test case c-c++-common/pointer-to-fn1.c uses unsupported option r13-3202-g67efffec943656

2022-10-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107213 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-10-11 Ever confirmed|0

[Bug c++/106925] [12/13 Regression] ICE in maybe_splice_retval_cleanup at gcc/cp/except.cc:1330 since r12-8066-g4822108e61ab8790

2022-10-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106925 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Priority|P3

[Bug c++/106925] [12/13 Regression] ICE in maybe_splice_retval_cleanup at gcc/cp/except.cc:1330 since r12-8066-g4822108e61ab8790

2022-10-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106925 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107138] [12 regression] std::variant triggers false-positive 'may be used uninitialized' warning

2022-10-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-09-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/107268] Poor diagnostic for missing colon in ctor-initializer

2022-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107268 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/107260] The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

2022-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107260 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107260] The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

2022-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107260 --- Comment #3 from Marek Polacek --- I wonder if we could wrap the INTEGER_CST in a NOP_EXPR/V_C_E to make it clear it's not an integer literal.

[Bug c++/107079] [10/11/12/13 Regression] ICE initializing lifetime-extended constexpr variable that stores its this pointer

2022-09-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107079 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-09-29 Summary|ICE

[Bug c++/106882] passing X as 'this' argument discards qualifiers

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98940] Implement C++23 language features

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 101165, which changed state. Bug 101165 Summary: [C++23] P2266R1 - Simpler implicit move https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 What|Removed |Added

[Bug c++/101165] [C++23] P2266R1 - Simpler implicit move

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/101165] [C++23] P2266R1 - Simpler implicit move

2022-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 Bug 101165 depends on bug 106882, which changed state. Bug 106882 Summary: passing X as 'this' argument discards qualifiers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106882 What|Removed |Added

[Bug c/59850] Support sparse-style pointer address spaces (type attributes)

2022-10-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59850 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #9 from Marek Polacek --- A distilled test that ICEs with the patch: struct X { virtual void f(); }; struct Z : X {}; constexpr auto x = sizeof((X(Z(; s.C:5:33: internal compiler error: in build_over_call, at

[Bug c++/89780] -Wpessimizing-move is too agressive with templates and recommends pessimization

2022-08-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89780 --- Comment #6 from Marek Polacek --- The warning warns about dubious uses of std::move, so in the noMove case we won't warn at all since there's no std::move. In the withMove case, in C++20, we issue: warning: moving a local object in a return

[Bug middle-end/102633] [11/12 Regression] warning for self-initialization despite -Wno-init-self

2022-08-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Summary|[11/12/13

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-08-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 102633, which changed state. Bug 102633 Summary: [11/12 Regression] warning for self-initialization despite -Wno-init-self https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 What|Removed

[Bug c++/106276] Missing -Wpessimizing-move warning

2022-08-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106276 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2

2022-08-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106630 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-08-15 CC|

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/101165] [C++23] P2266R1 - Simpler implicit move

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/106596] Not a helpful diagnostic when putting things out of order in a member function

2022-08-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106596 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/67906] Missing warning about std::move without effect

2022-08-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/89780] -Wpessimizing-move is too agressive with templates and recommends pessimization

2022-08-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89780 --- Comment #2 from Marek Polacek --- I've posted a patch for this: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599342.html Sorry it's taken so long.

[Bug c++/89780] -Wpessimizing-move is too agressive with templates and recommends pessimization

2022-08-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89780 --- Comment #4 from Marek Polacek --- (In reply to S. Davis Herring from comment #3) > Does this need to be language-version-dependent, given > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1825r0.html (in > C++20) and >

[Bug c++/106572] A programmatic list of all possible compiler warnings

2022-08-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106572 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/81159] New warning idea: -Wself-move

2022-08-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81159 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #8 from Marek Polacek

[Bug c/77876] -Wbool-operation rejects useful code involving '~'

2022-08-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77876 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|mpolacek at gcc

[Bug c++/101421] ICE: in lookup_template_class_1, at cp/pt.c:10005

2022-08-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101421 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/106207] [11/12/13 Regression] ICE in apply_fixit, at edit-context.cc:769

2022-08-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106207 --- Comment #2 from Marek Polacek --- Reduced: #define FOO(no) \ void f_##no() \ { \ int gen_##no(); \ } #define GEN_FOO \ FOO(f##1) \ FOO(f##2) GEN_FOO

[Bug c++/106668] ICE: friend function in struct declaration in generic lambda

2022-08-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106668 --- Comment #2 from Marek Polacek --- Fixed on trunk by commit e8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c Author: Jason Merrill Date: Tue Jun 7 15:52:30 2022 -0400 c++: non-templated friends [PR105852] The previous patch for 105852

[Bug c++/90428] -Wredundant-move could warn for more cases

2022-08-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90428 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2022-08-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 67906, which changed state. Bug 67906 Summary: Missing warning about std::move without effect https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906 What|Removed |Added

[Bug c++/67906] Missing warning about std::move without effect

2022-08-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/106567] [13 regression] An array with a dependent type and initializer-deduced bound is treated as an array of unknown bound when captured in a lambda

2022-08-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106567 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/106567] [13 Regression] An array with a dependent type and initializer-deduced bound is treated as an array of unknown bound when captured in a lambda

2022-08-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106567 Marek Polacek changed: What|Removed |Added Priority|P3 |P1 Summary|[13 regression]

[Bug c++/106645] New: [C++23] P2290R3 - Delimited escape sequences

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106645 Bug ID: 106645 Summary: [C++23] P2290R3 - Delimited escape sequences Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/106645] [C++23] P2290R3 - Delimited escape sequences

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106645 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug c++/106647] New: [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106647 Bug ID: 106647 Summary: [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals Product: gcc Version: unknown Status:

[Bug c++/106651] New: [C++23] P1169 - static operator()

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106651 Bug ID: 106651 Summary: [C++23] P1169 - static operator() Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/106653] New: [C++23] P2582 - Class template argument deduction from inherited constructors

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106653 Bug ID: 106653 Summary: [C++23] P2582 - Class template argument deduction from inherited constructors Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/106657] New: [C++23] P2460 - Relax requirements on wchar_t to match existing practices

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106657 Bug ID: 106657 Summary: [C++23] P2460 - Relax requirements on wchar_t to match existing practices Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/106650] New: [C++23] P2280 - Using unknown references in constant expressions

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106650 Bug ID: 106650 Summary: [C++23] P2280 - Using unknown references in constant expressions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/106644] New: [C++23] P2468R2 - The Equality Operator You Are Looking For

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644 Bug ID: 106644 Summary: [C++23] P2468R2 - The Equality Operator You Are Looking For Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/106646] New: [C++23] P2437R1 - Support for #warning

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106646 Bug ID: 106646 Summary: [C++23] P2437R1 - Support for #warning Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/106654] New: [C++23] P1774 - Portable assumptions

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106654 Bug ID: 106654 Summary: [C++23] P1774 - Portable assumptions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/106649] New: [C++23] P2448 - Relaxing some constexpr restrictions

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106649 Bug ID: 106649 Summary: [C++23] P2448 - Relaxing some constexpr restrictions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/106658] New: [C++23] P2590 - Explicit lifetime management

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658 Bug ID: 106658 Summary: [C++23] P2590 - Explicit lifetime management Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/106655] New: [C++23] P2295 - Support for UTF-8 as a portable source file encoding

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106655 Bug ID: 106655 Summary: [C++23] P2295 - Support for UTF-8 as a portable source file encoding Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/106648] New: [C++23] P2071 - Named universal character escapes

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106648 Bug ID: 106648 Summary: [C++23] P2071 - Named universal character escapes Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/106656] [C++23] P2513 - char8_t Compatibility and Portability Fixes

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106656 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/106656] New: [C++23] P2513 - char8_t Compatibility and Portability Fixes

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106656 Bug ID: 106656 Summary: [C++23] P2513 - char8_t Compatibility and Portability Fixes Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102610] [C++23] P2036R3 - Change scope of lambda trailing-return-type

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102610 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/106652] New: [C++23] P1467 - Extended floating-point types and standard names

2022-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106652 Bug ID: 106652 Summary: [C++23] P1467 - Extended floating-point types and standard names Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/107495] GCC does not consider the right contextual implicit conversions

2022-11-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107495 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107492] Unhelpful -Wignored-qualifiers warning in template specialization

2022-11-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107492 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/107497] [13 regression] ICE during bootstrap after r13-3595-g7b1cdca6d6d594

2022-11-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107497 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/107488] [13 Regression] -Werror=dangling-reference false positives in cppunit

2022-11-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107488 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-11-01 CC|

[Bug target/107609] ice in extract_insn, at recog.cc:2791

2022-12-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107609 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug target/102222] ICE on s390 (internal compiler error: in extract_insn, at recog.c:2770)

2022-12-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/108158] [11/12/13 Regression] modification of '...' is not a constant expression since r12-2304

2022-12-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108158 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/108158] [11/12/13 Regression] modification of '...' is not a constant expression since r12-2304

2022-12-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108158 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug testsuite/108394] New: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and 12

2023-01-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108394 Bug ID: 108394 Summary: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and 12 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X or C++11 attribute syntax, gnu::format and -Wsuggest-attribute=format] or a suggest wa

2022-12-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/101528] [11 regression] gcc.target/powerpc/int_128bit-runnable.c fails after r11-8743

2022-12-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101528 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever

[Bug c++/104066] "constinit extern long (*const f) ();" doesn't compile: gcc thinks "constinit" applies to return value, not to function pointer itself

2022-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104066 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/107845] __builtin_init_trampoline ICEs on invalid arguments

2022-11-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107845 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last

<    11   12   13   14   15   16   17   18   19   20   >