[Bug c++/98939] [C++23] Implement P1787R6 "Declarations and where to find them"

2021-11-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98939 --- Comment #2 from Marek Polacek --- I'm having trouble with "Default template arguments are now complete-class contexts": class C { template struct _List; template struct S; // #1 template struct S<_Sz, _List<_Uint, _UInts...>>;

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

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

[Bug c++/103291] [11/12 Regression] #pragma gcc visibility is lost for external decls declared inside a function

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

[Bug c++/101405] [12 Regression] internal compiler error: in reshape_init_class, at cp/decl.c:6483

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

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

2021-11-16 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 103026, which changed state. Bug 103026 Summary: Implement warning for Unicode bidi override characters [CVE-2021-42574] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103026 What|Removed

[Bug preprocessor/103026] Implement warning for Unicode bidi override characters [CVE-2021-42574]

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

[Bug c++/102990] [9/10/11/12 Regression] ICE in tsubst_copy_and_build with NSDMI and double to int conversion

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

[Bug c++/103049] [C++23] P0849R8 - auto(x): decay-copy in the language

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

[Bug c++/103049] [C++23] P0849R8 - auto(x): decay-copy in the language

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

[Bug c++/102049] Extend attribute deprecated to allow optional 2nd argument

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

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

2021-10-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 102617, which changed state. Bug 102617 Summary: [C++23] P2360R0 - Extend init-statement to allow alias-declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102617 What|Removed

[Bug c++/102617] [C++23] P2360R0 - Extend init-statement to allow alias-declaration

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

[Bug c++/102980] [10/11/12 Regression] Fail to get an r-value from std::array::size in a template function

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

[Bug bootstrap/103160] [12 regression] typo in r12-5060 breaks bootstrap

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

[Bug c++/103049] [C++23] P0849R8 - auto(x): decay-copy in the language

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

[Bug c++/103049] [C++23] P0849R8 - auto(x): decay-copy in the language

2021-11-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103049 --- Comment #3 from Marek Polacek --- I'm afraid "only available with" is the customary form we use throughout the front end, so in the patch I'm just sticking to that form.

[Bug c++/103087] "using enum" possibly incorrectly accepted

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

[Bug c++/103084] Accepts invalid using enum declaration with an invalid elaborated-type-specifier

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

[Bug c++/103084] Accepts invalid using enum declaration with an invalid elaborated-type-specifier

2021-11-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103084 --- Comment #4 from Marek Polacek --- But elaborated-enum-specifier is an elaborated-type-specifier, so [dcl.type.elab]#6 should still apply, right?

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2021-11-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 --- Comment #49 from Marek Polacek --- Patch resurrected for GCC 12: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583544.html

[Bug c++/94404] [meta-bug] C++ core issues

2021-11-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 95016, which changed state. Bug 95016 Summary: [DR 2082] Referring to parameters in unevaluated operands of default arguments https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95016 What|Removed

[Bug c++/95016] [DR 2082] Referring to parameters in unevaluated operands of default arguments

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

[Bug c++/103084] Accepts invalid using enum declaration with an invalid elaborated-type-specifier

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

[Bug c++/103081] [ICE] with "using enum"

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

[Bug c++/103081] [ICE] with "using enum"

2021-11-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 --- Comment #2 from Marek Polacek --- Started with r11-5003.

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types

2021-11-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #12 from Marek Polacek --- OK, I'd totally forgotten about this PR.

[Bug c++/21678] Using inline disables warnings about missing return statements

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

[Bug c++/103026] Implement warning for Unicode bidi override characters [CVE-2021-42574]

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

[Bug preprocessor/103027] Implement warning for homoglyphs in identifiers [CVE-2021-42694]

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

[Bug preprocessor/103026] Implement warning for Unicode bidi override characters [CVE-2021-42574]

2021-11-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103026 --- Comment #2 from Marek Polacek --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583031.html

[Bug c++/103480] -Werror=useless-cast with constexpr destructor

2021-11-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103480 --- Comment #1 from Marek Polacek --- namespace std { template struct __array_traits { typedef _Tp _Type[_Nm]; }; template struct array { __array_traits<_Tp, _Nm>::_Type _M_elems; }; } // namespace std struct scope_guard { constexpr

[Bug c++/103480] [10/11/12 Regression] -Werror=useless-cast with constexpr destructor

2021-11-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103480 --- Comment #3 from Marek Polacek --- Add typename to make it C++14: namespace std { template struct __array_traits { typedef _Tp _Type[_Nm]; }; template struct array { typename __array_traits<_Tp, _Nm>::_Type _M_elems; }; } // namespace

[Bug c++/103480] -Werror=useless-cast with constexpr destructor

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

[Bug c++/103480] [10/11/12 Regression] -Werror=useless-cast with constexpr destructor

2021-11-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103480 Marek Polacek changed: What|Removed |Added Summary|-Werror=useless-cast with |[10/11/12 Regression]

[Bug c++/81176] decltype(auto) yields reference type for structured binding

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

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

2021-12-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490 --- Comment #5 from Marek Polacek --- Patch finally posted: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/585932.html

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-12-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 --- Comment #9 from Marek Polacek --- This is supposed to be valid, so I'll try to come up with a fix soon.

[Bug c++/103401] [11/12 Regression] gcc accepts decltype(auto(0)) as the parameter of the function

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

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

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

[Bug c++/103593] [11/12 Regression] Naming the constructor of a template class without using the injected-class-name causes parse error with C++20

2021-12-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103593 --- Comment #4 from Marek Polacek --- Yup, just the diagnostic is really bad because I still haven't fixed bug 97202 :(

[Bug c++/70733] Wrong code with nested structs and bit field.

2021-12-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733 Bug 70733 depends on bug 95009, which changed state. Bug 95009 Summary: [9/10 Regression] decltype of increment or decrement bitfield expressions are wrong and causes assembler errors. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95009

[Bug c++/95009] [9/10 Regression] decltype of increment or decrement bitfield expressions are wrong and causes assembler errors.

2021-12-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95009 Marek Polacek changed: What|Removed |Added Summary|[9/10/11 Regression]|[9/10 Regression] decltype

[Bug c++/84516] bitfield temporaries > 32-bits have wrong type

2021-12-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84516 Bug 84516 depends on bug 95009, which changed state. Bug 95009 Summary: [9/10 Regression] decltype of increment or decrement bitfield expressions are wrong and causes assembler errors. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95009

[Bug analyzer/101962] Analyzer NULL false positive with pointer manipulation

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

[Bug c++/103553] Show what decltype deduced in static_assert

2021-12-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103553 --- Comment #2 from Marek Polacek --- Yes, I added that in GCC 11. To make this work, I think we'll have to print parser->scope when there's one. In this case it's full-name "struct is_same" so that could be extracted and used in

[Bug c++/103597] [12 Regression] False -Wimplicit-fallthrough= involving macro since r12-5638-ga3e75c1491cd2d50

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

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload and -Wunused-parameter

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

[Bug c++/103749] Misleading error message on template/non-template conflict

2021-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103749 --- Comment #2 from Marek Polacek --- Same case: template struct bar; struct bar { int baz; }; bar var; Maybe xref_tag could detect this. The other way round it's a bit better: struct bar; template struct bar {}; bar var;

[Bug c++/103749] Misleading error message on template/non-template conflict

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

[Bug sanitizer/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)

2021-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 --- Comment #9 from Marek Polacek --- Maxim, any updates?

[Bug c++/103749] Misleading error message on template/non-template conflict

2021-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103749 --- Comment #3 from Marek Polacek --- I have a patch with which we, for the original test, emit: $ xg++ -c 103749-2.C 103749-2.C:6:8: error: ‘bar’ was declared as template but no template header provided 6 | struct bar { |^~~

[Bug c++/103749] Misleading error message on template/non-template conflict

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

[Bug c++/99980] Delayed parsing of noexcept doesn't work in member function template

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

[Bug c++/103497] [9/10/11/12 Regression] ICE when decltype(auto)... as parameters

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

[Bug c++/103539] [C++23] P2324 - Labels at the end of compound statements

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103539 Marek Polacek changed: What|Removed |Added Blocks||98940 Status|UNCONFIRMED

[Bug c++/103539] New: [C++23] P2324 - Labels at the end of compound statements

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103539 Bug ID: 103539 Summary: [C++23] P2324 - Labels at the end of compound statements Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/103737] new test case decltype-bitfield1.C fails in r11-9363

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

[Bug testsuite/103737] new test case decltype-bitfield1.C fails in r11-9363

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

[Bug c++/102229] [11 Regression] 'decltype(auto)' cannot be cv-qualified

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

[Bug c/103649] -Wno-attribute=foo::bar implies no arguments

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

[Bug c++/95009] [9/10/11 Regression] decltype of increment or decrement bitfield expressions are wrong and causes assembler errors.

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

[Bug c++/103408] ICE when requires auto(x) in C++23

2021-11-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103408 --- Comment #4 from Marek Polacek --- (In reply to 康桓瑋 from comment #3) > (In reply to Marek Polacek from comment #2) > > Started with r12-5386, obviously. > > I don't know if it is caused by the same bug. > > template > concept C =

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

2021-12-02 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|ASSIGNED|RESOLVED Resolution|---

[Bug c++/96380] [10 Regression] ICE in tree check: expected integer_cst, have view_convert_expr in get_len, at tree.h:5954

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

[Bug c/89129] [meta-bug] bogus/missing -Wtype-limits warnings

2021-12-02 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89129 Bug 89129 depends on bug 100161, which changed state. Bug 100161 Summary: [10 Regression] Impossible to suppress Wtype-limits warning involving template parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100161 What|Removed

[Bug c++/100161] [10 Regression] Impossible to suppress Wtype-limits warning involving template parameter

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

[Bug c++/101526] Improve diagnostic for trailing comma in base-clause in class-head

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

[Bug c++/101532] [12 Regression] ICE in finish_expr_stmt, at cp/semantics.c:859

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

[Bug c++/101532] [12 Regression] ICE in finish_expr_stmt, at cp/semantics.c:859

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

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

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

[Bug c++/101509] Rejects valid construction call with type inference

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

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

2021-07-19 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 100976, which changed state. Bug 100976 Summary: [C++23] Make constexpr reference temp constexpr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100976 What|Removed |Added

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

2021-07-19 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 Resolution|--- |WORKSFORME Status|ASSIGNED

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

2021-07-19 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||gar...@ignition-web.co.uk --- Comment

[Bug c++/101519] Improve diagnostic for template name used as base class

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

[Bug c++/99625] GCC does not detect narrowing in aggregate initialization

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

[Bug c++/101592] ICE in wide_int_to_tree, at tree.c:1427

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

[Bug middle-end/101601] [12 Regression] -Wall is reported as a build error (not warning): error: arrays of functions are not meaningful

2021-07-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601 Marek Polacek changed: What|Removed |Added Component|c++ |middle-end Last reconfirmed|

[Bug c++/101592] ICE in wide_int_to_tree, at tree.c:1427

2021-07-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101592 --- Comment #3 from Marek Polacek --- Thanks, I'll test that sometime soon.

[Bug c++/99701] std::nullptr_t can be compared with relational ops

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

[Bug c++/101649] -Wdouble-promotion warning emitted when floating point literals are not actually promoted to doubles

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

[Bug c++/101629] ICE: in cp_finish_decl, at cp/decl.c:7826

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

[Bug c++/103945] No warning for ordered comparison of function pointers ?

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

[Bug c++/103945] No warning for ordered comparison of function pointers ?

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

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types

2022-01-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #16 from Marek Polacek --- This slightly modified test started to ICE with r11-4682 which is the gist of the problem: template struct S { S bar() noexcept(T::value); S foo() noexcept(T::value); }; template S S::foo()

[Bug c++/103758] bogus warning: misspelled term 'decl' in format; use 'declaration' instead [-Wformat-diag]

2022-01-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #14 from Marek Polacek --- Oops, that broke the build: .../c-family/c-format.c:3229:22: error: ‘startswith’ was not declared in this scope 3229 | && startswith (format_chars, "decl-specifier")) I've reverted the

[Bug c++/103758] bogus warning: misspelled term 'decl' in format; use 'declaration' instead [-Wformat-diag]

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

[Bug c++/103758] bogus warning: misspelled term 'decl' in format; use 'declaration' instead [-Wformat-diag]

2022-01-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #16 from Marek Polacek --- Yeah, I'm testing a patch which does just that.

[Bug c++/103968] [11/12 Regression] ICE and segfault when instantiating template with lvalue ref argument and nested template type

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

[Bug c++/104788] ICE

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

[Bug c++/104777] gcc crashes while compiling a custom coroutine library sample since r10-5137-g43aae289866f5ea5

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

[Bug c++/104823] [12 Regression] narrowing conversion inside non-dependent decltype operand silently accepted ever since r12-6075

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

[Bug c++/104823] [12 Regression] narrowing conversion inside non-dependent decltype operand silently accepted ever since r12-6075

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

[Bug rtl-optimization/104777] [9/10/11/12 Regression] gcc crashes while compiling a custom coroutine library sample

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

[Bug c++/104008] [11/12 Regression] New g++ folly compile error since r11-7931-ga2531859bf5bf6cf

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

[Bug c++/104944] [9/10/11/12 Regression] incorrect alignas(void) accepted (with warning if templated)

2022-03-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104944 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.5 Status|NEW

[Bug rtl-optimization/104961] [9/10/11/12 Regression] compilation never (?) finishes at -Og

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

[Bug c++/82235] Copy ctor is not found for copying array of an object when it's marked explicit

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

[Bug c++/104008] [11/12 Regression] New g++ folly compile error since r11-7931-ga2531859bf5bf6cf

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

[Bug c++/79318] [DR 1726] conversion member function preceded with & is not marked as error

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

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