[Bug c++/97279] GCC ignores the operation definition of the template

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

[Bug c++/97328] [10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:3995 since r10-7313-gb599bf9d6d1e180d

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

[Bug c++/97340] Spurious rejection of member variable template of reference type

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

[Bug c++/96299] Defaulted operator <=> implicitly deleted when a member has operator < and operator == and return type is specified

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

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #3 from Marek Polacek --- And that also means that this: enum E : int { F }; struct X { E e{F}; }; constexpr X x[1]{}; constexpr auto foo () { return x[0].e; } constexpr auto a = foo (); started to ICE earlier, since

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 Marek Polacek changed: What|Removed |Added Summary|internal compiler error: in |[10/11 Regression] internal

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #2 from Marek Polacek --- A test without a lambda that ICEs with -std=c++14 too: enum E : int { F }; struct X { E e{F}; }; constexpr X x[1]; auto foo () { return x[0].e; } Note that we don't ICE if the X's member is changed to

[Bug c++/97406] Truncated pointer-to-member type in concept satisfaction error

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

[Bug c++/93083] copy deduction rejected when doing CTAD for NTTP

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

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #4 from Marek Polacek --- This ought to fix it, though it's completely untested: --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -3661,6 +3661,10 @@ cxx_eval_array_reference (const constexpr_ctx *ctx, tree t, { tree

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #5 from Marek Polacek --- ...which should also fix Bug 96241 so these in fact are duplicates.

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

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

[Bug c++/96241] [9/10/11 Regression] ICE in verify_ctor_sanity

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96241 Marek Polacek changed: What|Removed |Added CC||jfrech.bugzilla at gmail dot com ---

[Bug c++/96241] [9/10/11 Regression] ICE in verify_ctor_sanity

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

[Bug c/97413] [11 Regression] gcc-11 fails to typecheck VLA declarations on emacs-27.1: error: wrong number of arguments specified for 'access' attribute

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

[Bug c++/97406] Truncated pointer-to-member type in concept satisfaction error

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

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

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 85474, which changed state. Bug 85474 Summary: unspecified string literal comparison accepted in constexpr context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85474 What|Removed

[Bug c++/97406] Truncated pointer-to-member type in concept satisfaction error

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

[Bug c++/85901] Error message contains "#'offset_type' not supported by simple_type_specifier#)#'offset_type' not supported by direct_abstract_declarator#"

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

[Bug c++/85474] unspecified string literal comparison accepted in constexpr context

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85474 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/70248] constexpr initialization with unspecified equality expression accepted

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 --- Comment #9 from Marek Polacek --- *** Bug 85474 has been marked as a duplicate of this bug. ***

[Bug c++/96241] [9/10/11 Regression] ICE in verify_ctor_sanity

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96241 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #5 from Marek Polacek

[Bug c++/97279] GCC ignores the operation definition of the template

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

[Bug c++/97297] typename wrongly required in out-of-class member function definitions

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

[Bug c++/97297] New: typename wrongly required in out-of-class member function definitions

2020-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97297 Bug ID: 97297 Summary: typename wrongly required in out-of-class member function definitions Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97297] typename wrongly required in out-of-class member function definitions

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

[Bug c++/97285] Interaction between no_unique_address and has_unique_object_representations

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

[Bug c++/97296] New: g++ accepts-invalid after DR2352 fix

2020-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97296 Bug ID: 97296 Summary: g++ accepts-invalid after DR2352 fix Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/97296] [10/11 Regression] g++ accepts-invalid after DR2352 fix

2020-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97296 Marek Polacek changed: What|Removed |Added Keywords||accepts-invalid Target Milestone|---

[Bug c++/83417] Pointer-to-member template parameter with auto member type dependent container type does not work (C++17)

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

[Bug c++/97453] Implement CWG issue 2303

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

[Bug c++/82343] internal compiler error: Segmentation fault - template recurrency, SFINAE

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

[Bug c++/97470] ICE when using aggregate initialization of a particular layout with non trivial type

2020-10-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97470 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/94161] Implement DR 228: Use of template keyword with non-member templates

2020-10-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94161 --- Comment #1 from Marek Polacek --- This compiles since r11-86.

[Bug c++/95675] [8/9/10/11 Regression] internal compiler error: in build_over_call

2020-10-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95675 --- Comment #6 from Marek Polacek --- Comment 4 test started with r240845.

[Bug c++/93107] unable to deduce initializer_list from function template

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

[Bug c++/82239] Parentheses around constexpr template member break static_assert

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

[Bug c++/97010] C++20 ADL and function templates that are not visible (P0846R0) fails on call with templated type

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

[Bug c++/82239] Parentheses around constexpr template member break static_assert

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

[Bug c++/97293] ICE Segfault in C++20 mode

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

[Bug c++/96805] [10/11 Regression] ICE: Segmentation fault in instantiate_template / pop_nested_class()

2020-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96805 Marek Polacek changed: What|Removed |Added CC||furkanusta17 at gmail dot com ---

[Bug c++/97297] typename wrongly required in out-of-class member function definitions

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

[Bug c++/85901] Error message contains "#'offset_type' not supported by simple_type_specifier#)#'offset_type' not supported by direct_abstract_declarator#"

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

[Bug c++/71424] std::initializer_list

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71424 Marek Polacek changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug c++/97422] gcc rejects 'std::initializer_list' when instantiating with a list

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

[Bug middle-end/97353] New: -Wuninitialized should warn about reading condition in do-loop

2020-10-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97353 Bug ID: 97353 Summary: -Wuninitialized should warn about reading condition in do-loop Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97427] constexpr destructor for const object incorrectly rejected as modifying const object

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97427 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid Ever confirmed|0

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #13 from Marek Polacek --- The fix may be as easy as this: --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -23812,8 +23812,8 @@ cp_parser_class_name (cp_parser *parser, /* Any name names a type if we're following the `typename'

[Bug c++/94799] [8/9/10 Regression] Calling a member template function fails

2020-10-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94799 --- Comment #14 from Marek Polacek --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556517.html

[Bug c++/97221] Returning an array unexpectedly favors const overload in return value's constructor

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

[Bug c++/97220] Overload resolution works wrong when implicit conversion not exists

2020-09-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97220 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid Ever confirmed|0

[Bug c++/94695] Implement -Wrange-loop-analysis

2020-09-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94695 --- Comment #2 from Marek Polacek --- First part of the warning is now implemented.

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

2020-09-25 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 Keywords|rejects-valid |diagnostic Status|RESOLVED

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

2020-09-25 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 Resolution|--- |INVALID Status|UNCONFIRMED

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

2020-09-25 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 Target Milestone|11.0|---

[Bug c++/97198] __is_constructible(int[], int) should return true

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

[Bug c++/97198] __is_constructible(int[], int) should return true

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

[Bug c++/97198] __is_constructible(int[], int) should return true

2020-09-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97198 --- Comment #3 from Marek Polacek --- (In reply to Jonathan Wakely from comment #2) > Hmm. It should be false for construction from no arguments i.e. > __is_constructible(int[]). > > But thanks to parenthesized aggregate init, you can actually

[Bug c++/90210] [C++17] CTAD forbidding explicit deduction guide for copy-list-initialization

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

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

2020-10-01 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||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/97230] Invocation of non-static member function on a null instance in core constant expression should not be allowed

2020-10-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97230 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #3 from Marek Polacek

[Bug c++/97014] Class NTTPs not demangled in the compilation error

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

[Bug c++/97014] Class NTTPs not demangled in the compilation error

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

[Bug c++/97256] auto function return different result

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

[Bug c++/97230] Invocation of non-static member function on a null instance in core constant expression should not be allowed

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

[Bug c++/97014] Class NTTPs not demangled in the compilation error

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

[Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation

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

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

2020-09-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 88335, which changed state. Bug 88335 Summary: Implement P1073R3, C++20 immediate functions (consteval). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88335 What|Removed |Added

[Bug c++/88335] Implement P1073R3, C++20 immediate functions (consteval).

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

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

2020-10-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 Marek Polacek changed: What|Removed |Added CC||smuccione at agisent dot com ---

[Bug c++/97525] failed to report use before initialization in constructor initialization

2020-10-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97525 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

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

[Bug c++/96742] [10/11 Regression] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-10-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 Marek Polacek changed: What|Removed |Added CC||erenon2 at gmail dot com --- Comment #6

[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE

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

2020-10-23 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 91741, which changed state. Bug 91741 Summary: Implement new warning -Wsizeof-array-div https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91741 What|Removed |Added

[Bug c++/91741] Implement new warning -Wsizeof-array-div

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

[Bug c++/68003] Variable declared in condition in for loop is destroyed too soon

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

[Bug c++/86769] g++ destroys condition variable in for statement too early

2020-10-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86769 Marek Polacek changed: What|Removed |Added CC||gcc-bugzilla at contacts dot eelis

[Bug c++/87404] Implement -Wenum-compare and -Wenum-compare-switch

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

[Bug c++/97531] Improve type/non-type declaration diagnostic

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

[Bug c++/97573] Implement C++20 [depr.arith.conv.enum]

2020-10-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97573 --- Comment #1 from Marek Polacek --- Likewise, [depr.array.comp] should be implemented too.

[Bug c++/97573] Implement C++20 [depr.arith.conv.enum]

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

[Bug c++/97573] New: Implement C++20 [depr.arith.conv.enum]

2020-10-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97573 Bug ID: 97573 Summary: Implement C++20 [depr.arith.conv.enum] Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/95291] ICE in resolve_args at gcc/cp/call.c:4482

2020-10-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95291 Marek Polacek changed: What|Removed |Added CC||v.stiff at gmail dot com --- Comment #6

[Bug c++/97591] Segmentation fault by non-type template parameters

2020-10-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97591 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034

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

[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034

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

[Bug c++/96241] [9/10 Regression] ICE in verify_ctor_sanity

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

[Bug c++/92831] CWG1299 extend_ref_init_temps_1 punts on COND_EXPRs

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

[Bug c++/97553] [missed optimization] constexprness not noticed when UBsan enabled

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

[Bug c++/97536] [concepts] parser segfault for concept defined in function template

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

[Bug c++/97446] gcc accepts an unnamed struct

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

[Bug c++/97418] error diagnostics do not point the use of undeclared identifier

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

[Bug c++/97376] Function type to function pointer type adjustment for non-type template parameter does not work when using decltype(auto)

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

[Bug c++/97376] Function type to function pointer type adjustment for non-type template parameter does not work when using decltype(auto)

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97376 --- Comment #2 from Marek Polacek --- s/pro/for/

[Bug c++/97214] [8/9/10/11 Regression] ICE in lookup_template_class_1, at cp/pt.c:9896

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97214 Marek Polacek changed: What|Removed |Added Target Milestone|--- |8.5

[Bug c++/97214] [8/9/10/11 Regression] ICE in lookup_template_class_1, at cp/pt.c:9896

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97214 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE in

[Bug c++/97121] ICE (segfault) on incorrect default three-way comparison declaration

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

[Bug c++/51571] No named return value optimization while adding a dummy scope

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 Marek Polacek changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

  1   2   3   4   5   6   7   8   9   10   >