[Bug c++/100313] pointer to member function is not const with sanitize=undefined

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

[Bug c++/100313] pointer to member function is not const with sanitize=undefined

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313 --- Comment #2 from Marek Polacek --- Cleaned up: template struct Prop { void notify() { if constexpr (A != nullptr) { } } }; struct S { inline void fn() { } }; int main() { Prop<&S::fn> prop; prop.notify(); } Requires only -

[Bug c++/100313] pointer to member function is not const with sanitize=undefined

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313 --- Comment #3 from Marek Polacek --- In fact, this is about -fno-delete-null-pointer-checks.

[Bug c++/100288] [11/12 Regression] g++-11 internal error and fails to precompile a concept

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.2 Last reconfirmed|

[Bug c++/100288] [11/12 Regression] g++-11 internal error and fails to precompile a concept

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 --- Comment #2 from Marek Polacek --- Reduced test that shows the ICE: class ostream; template concept OstreamInsertable = requires(ostream out, Type value) { out << value; }; struct FMT {}; class CSVTabIns { template friend void operator

[Bug c++/100248] ICE with global "default" keyword

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

[Bug c++/100031] ICE: in dependent_type_p, at cp/pt.c:26757

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

[Bug c++/100282] [11/12 Regression] ICE in dependent_type_p, at cp/pt.c:26813

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

[Bug c++/100030] ICE: in dependent_type_p, at cp/pt.c:26757

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

[Bug c++/95872] Duplicated warning message in "-Wlogical-op"

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

[Bug c++/94102] Variadic template deduction guide issue - error: 'In instantiation of'

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

[Bug c++/100339] New: Bogus "should have been declared inside" error with friend

2021-04-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100339 Bug ID: 100339 Summary: Bogus "should have been declared inside" error with friend Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/100339] [8/9/10/11/12 Regression] Bogus "should have been declared inside" error with friend

2021-04-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100339 Marek Polacek changed: What|Removed |Added CC||nathan at gcc dot gnu.org Key

[Bug c++/100344] compiler ICE internal compiler error: in build_call_a, at cp/call.c:38

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

[Bug c++/100344] [12 Regression] compiler ICE internal compiler error: in build_call_a, at cp/call.c:38

2021-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100344 Marek Polacek changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|needs-reduction

[Bug c++/99697] ICE for class template partial specialization over non-template (structural class template) parameter of deduced class type

2021-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99697 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/95159] ICE on aggregate template parameter with empty angle brackets

2021-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95159 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/86663] g++ ICE with -std=c++11: internal compiler error: Segmentation fault

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

[Bug c++/85137] [concepts] ICE with undeclared concept

2021-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85137 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

2021-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 85137, which changed state. Bug 85137 Summary: [concepts] ICE with undeclared concept https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85137 What|Removed |Added -

[Bug c++/100362] ICE with Boost.Asio async_initiate

2021-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100362 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/100362] [11/12 Regression] ICE with Boost.Asio async_initiate

2021-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100362 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.2 Summary|ICE with Boost.

[Bug c++/100055] [10/11/12 Regression] ICE on invalid requires expression

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

[Bug c++/100459] [10/11 regression] constexpr decltype(auto) variable declaration bogus cv qual error

2021-05-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100459 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/99032] GCC accepts attributes on friend declarations (not definitions)

2021-05-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99032 --- Comment #2 from Marek Polacek --- Current test: class X { }; template void foo (T1, T2); struct S { [[deprecated]] friend void f(); // error [[deprecated]] friend void f2() { } friend void f3 [[deprecated]] (); // error friend void

[Bug c++/99032] GCC accepts attributes on friend declarations (not definitions)

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

[Bug c++/100596] [12 Regression] error: attribute appertains to a friend declaration that is not a definition since r12-786-g149061188c7c6ddf

2021-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100596 --- Comment #1 from Marek Polacek --- Rejecting such code was the point of the patch. I guess we'll have to either downgrade to a warning or just not complain about GNU attributes at all.

[Bug c++/100596] [12 Regression] error: attribute appertains to a friend declaration that is not a definition since r12-786-g149061188c7c6ddf

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

[Bug c++/100649] [9/10/11/12 Regression] ICE in coerce_template_parms (releases) or cxx_eval_constant_expression (trunk)

2021-05-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100649 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.4 CC|

[Bug c++/100649] [9/10/11/12 Regression] ICE in coerce_template_parms (releases) or cxx_eval_constant_expression (trunk)

2021-05-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100649 --- Comment #2 from Marek Polacek --- The ICE appeared with r251423.

[Bug c++/100649] [9/10/11/12 Regression] ICE in coerce_template_parms (releases) or cxx_eval_constant_expression (trunk)

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

[Bug c++/87765] Internal compiler error: coerce_template_parms (8.2) or cxx_eval_constant_expression (trunk)

2021-05-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765 Marek Polacek changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment

[Bug c++/100652] Unexpanded parameter pack in partial specialization of variable template not rejected

2021-05-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100652 Marek Polacek changed: What|Removed |Added Keywords||accepts-invalid Last reconfirmed|

[Bug c++/100596] [12 Regression] error: attribute appertains to a friend declaration that is not a definition since r12-786-g149061188c7c6ddf

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

[Bug c++/100752] [11/12 Regression] error: cannot call member function ‘void S::f()’ without object

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

[Bug c/100789] ICE: in gimplify_expr, at gimplify.c:14750

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

[Bug c++/94490] Ternary expression with 3 consts is “not” a constant expression

2021-05-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/100974] [C++23] Implement if consteval

2021-06-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100974 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/100975] [C++23] Allow pointer to array of auto

2021-06-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100975 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug c++/100976] [C++23] Make constexpr reference temp constexpr

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

[Bug c++/93955] detect conversion from pointer type to arithmetic type in constexpr

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

[Bug c++/100977] [C++23] Implement C++ Identifier Syntax using Unicode Standard Annex 31

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

[Bug c++/100752] [11/12 Regression] error: cannot call member function ‘void S::f()’ without object

2021-06-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752 --- Comment #3 from Marek Polacek --- Duh, we don't defer parsing of noexcept for any ptr-operator, like struct S { int& f() noexcept(noexcept(i)); int i; }; Awkward, but the fix should be simple.

[Bug c++/100065] Conditional explicit doesn't work for deduction guide

2021-06-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100065 --- Comment #3 from Marek Polacek --- Fixed on trunk so far, will backport.

[Bug c++/100979] Nested CTAD fails when the outer object is direct initialized and the inner object is list initialized

2021-06-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100979 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/89062] class template argument deduction failure with parentheses

2021-06-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89062 Marek Polacek changed: What|Removed |Added CC||brycelelbach at gmail dot com --- Commen

[Bug c++/100983] Deduction guide for member template class rejected at class scope

2021-06-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/100986] internal compiler error: in finish_expr_stmt, at cp/semantics.c:681

2021-06-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100986 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug c++/100065] Conditional explicit doesn't work for deduction guide

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

[Bug c++/97375] Unexpected top-level const retainment when declaring non-type template paramter with decltype(auto)

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

[Bug c++/96560] Substitution triggers compile-time error when it shouldn't

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

[Bug c++/100995] New: Extend std::is_constant_evaluated in if warning

2021-06-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100995 Bug ID: 100995 Summary: Extend std::is_constant_evaluated in if warning Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/100995] Extend std::is_constant_evaluated in if warning

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

[Bug c++/100997] [c++20] parse error when id-expression of constructor is simple-template-id

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

[Bug c++/97202] GCC reports an error: expected unqualified-id before ‘short’

2021-06-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97202 Marek Polacek changed: What|Removed |Added CC||felix.morgner at gmail dot com --- Comme

[Bug c++/100997] [c++20] parse error when id-expression of constructor is simple-template-id

2021-06-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100997 --- Comment #2 from Marek Polacek --- To make it work just remove the "" in A() {}.

[Bug c++/101000] ICE when trying to import the absl/container/flat_hash_map.h as a header module

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

[Bug c++/101015] Poor diagnostic for deprecated alias-declaration

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

[Bug c++/101013] Rejects-valid for alias template in a different namespace with a lambda in unevaluated context

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

[Bug c++/100995] Extend std::is_constant_evaluated in if warning

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

[Bug c++/101015] Poor diagnostic for deprecated alias-declaration

2021-06-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101015 --- Comment #2 from Marek Polacek --- This is because dump_decl does the decoration for TYPE_DECL_ALIAS_P: 1228 if (TYPE_DECL_ALIAS_P (t) 1229 && (flags & TFF_DECL_SPECIFIERS 1230 || flags & TFF_CLASS_KEY_OR_ENUM))

[Bug c++/101032] Regression on parser with g++11 using experimental c++20 (compiles under c++17)

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

[Bug c++/101051] [10/11/12 Regression] [ICE] in splice_late_return_type, at cp/pt.c:29738

2021-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[ICE] in

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

2021-06-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101165 Bug ID: 101165 Summary: [C++23] P2266R1 - Simpler implicit move Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2021-06-22 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|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/100975] [C++23] Allow pointer to array of auto

2021-06-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100975 --- Comment #2 from Marek Polacek --- Looks like just disabling the check in create_array_type_for_decl lets us compile: struct false_type { static constexpr bool value = false; }; struct true_type { static constexpr bool value = true; }; templ

[Bug c++/100752] [11 Regression] error: cannot call member function ‘void S::f()’ without object

2021-06-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752 Marek Polacek changed: What|Removed |Added Summary|[11/12 Regression] error: |[11 Regression] error:

[Bug c++/101241] Internal compiler error from MathFunctions.h in the eigen library

2021-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101241 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/101241] Internal compiler error from MathFunctions.h in the eigen library

2021-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101241 --- Comment #3 from Marek Polacek --- I cannot reproduce this: $ xg++ -c a-eigen_bug.ii -O3 -ffast-math -march=haswell compiles.

[Bug c++/100752] [11 Regression] error: cannot call member function ‘void S::f()’ without object

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

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

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-01-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #3 from Marek Polacek --- Sorry about the long delay. Unfortunately I'm not sure yet how to fix it. We have Ref::inner (&TARGET_EXPR ) which returns a ref and its arg is a temporary.

[Bug c/108424] ICE in perform_integral_promotions with nullptr case and switch on int type

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

[Bug c++/108438] [10/11/12/13 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:7611

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

[Bug c++/108437] [13 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3710

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

[Bug c++/108456] New: attribute deprecated on enum doesn't warn

2023-01-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108456 Bug ID: 108456 Summary: attribute deprecated on enum doesn't warn Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/108424] ICE in perform_integral_promotions with nullptr case and switch on int type

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

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

2023-01-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108468 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.4 Keywords|

[Bug c++/107797] "warning right operand of comma operator has no effect" for expressions with no comma operator

2023-01-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107797 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8

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

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2023-01-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 107797, which changed state. Bug 107797 Summary: "warning right operand of comma operator has no effect" for expressions with no comma operator https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107797 What|Remo

[Bug c++/107797] "warning right operand of comma operator has no effect" for expressions with no comma operator

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

[Bug middle-end/108520] [13 Regression] [C2x] ICE in nonnull_arg_p, at tree.cc:14372 with -O1 and above (gnu::assume)

2023-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108520 Marek Polacek changed: What|Removed |Added Priority|P3 |P1 Last reconfirmed|

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #5 from Marek Polacek --- (In reply to Jakub Jelinek from comment #4) > Yeah, without analyzing what the function call (constructor in this case) > actually does > hard to say whether the warning is ok or not. > Maybe some heuristics

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #7 from Marek Polacek --- Sadly, I'm pretty certain it won't get fixed by P2718R0.

[Bug c++/108543] [10/11/12/13 Regression] ICE in build_call_expr_loc_array, at tree.cc:10686

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

[Bug c++/108543] [10/11/12/13 Regression] ICE in build_call_expr_loc_array, at tree.cc:10686

2023-01-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543 --- Comment #2 from Marek Polacek --- struct _Bit_iterator_base { long _M_p; friend bool operator<(_Bit_iterator_base __x, _Bit_iterator_base __y) { return &__x._M_p - &__y._M_p; } };

[Bug c++/108543] [10/11/12/13 Regression] ICE in build_call_expr_loc_array, at tree.cc:10686

2023-01-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543 --- Comment #3 from Marek Polacek --- Started with r255404.

[Bug c++/108543] [10/11/12/13 Regression] ICE in build_call_expr_loc_array, at tree.cc:10686

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

[Bug c++/105300] [10/11/12 Regression] segfault from static_assert with user-defined string suffix argument

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

[Bug middle-end/108543] [10/11 Regression] ICE in build_call_expr_loc_array, at tree.cc:10686

2023-01-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108543 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Summary|[10/11/12/13 R

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

2023-01-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108158 --- Comment #5 from Marek Polacek --- Candidate fix: diff --git a/gcc/cp/constexpr.cc b/gcc/cp/constexpr.cc index be99bec17e7..6718c29b0cd 100644 --- a/gcc/cp/constexpr.cc +++ b/gcc/cp/constexpr.cc @@ -4301,9 +4301,13 @@ cxx_eval_array_referenc

[Bug c++/108597] [11/12/13 Regression] internal compiler error with -Wduplicated-cond

2023-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/108606] [13 Regression] ICE in potential_constant_expression_1 with friend function declaration inside a local class of a generic/templated lambda

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

[Bug c++/108606] [13 Regression] ICE in potential_constant_expression_1 with friend function declaration inside a local class of a generic/templated lambda

2023-01-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108606 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug c++/108597] [11/12/13 Regression] internal compiler error with -Wduplicated-cond

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

[Bug c++/107593] [12/13 Regression] ice with -Wduplicated-cond

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

[Bug c++/102870] [10/11/12/13 Regression] ICE: unexpected expression 'Is' of kind template_parm_index

2023-01-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102870 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/102870] [10/11/12/13 Regression] ICE: unexpected expression 'Is' of kind template_parm_index

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

[Bug c++/86960] [10/11/12/13 Regression] ICE on specialization of member template with fixed parameter pack

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

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