[Bug target/102105] [10/11/12 Regression] x86_64: ABI break with vector in union and -mno-mmx -mavx

2021-08-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102105 Marek Polacek changed: What|Removed |Added Target Milestone|--- |10.4 Keywords|

[Bug target/102105] [10/11/12 Regression] x86_64: ABI break with vector in union and -mno-mmx -mavx

2021-08-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102105 --- Comment #1 from Marek Polacek --- diff between r271212 and r271213: $ diff -up ~/y12.s ~/y13.s --- /home/mpolacek/y12.s2021-08-27 16:25:46.0 -0400 +++ /home/mpolacek/y13.s2021-08-27 16:25:53.0 -0400 @@ -87,8

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

2021-08-24 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 Severity|normal |enhancement Keywords|

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

2021-08-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102049 Bug ID: 102049 Summary: Extend attribute deprecated to allow optional 2nd argument Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/101940] New: Implement -fignored-attributes

2021-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 Bug ID: 101940 Summary: Implement -fignored-attributes Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++

[Bug tree-optimization/101868] [9/10/11 Regression] Incorrect reordering in -O2 with LTO

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

[Bug target/101882] modulus with input and output set to a hard register

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

[Bug target/102027] [11/12 Regression] ABI break when using vector type in function arg/return value

2021-08-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102027 Marek Polacek changed: What|Removed |Added Keywords||ABI Summary|ABI break when

[Bug target/102027] New: ABI break when using vector type in function arg/return value

2021-08-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102027 Bug ID: 102027 Summary: ABI break when using vector type in function arg/return value Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/95849] [DR2356] Universal forwarding constructor inheritance resolution issue

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

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

2021-09-01 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 95849, which changed state. Bug 95849 Summary: [DR2356] Universal forwarding constructor inheritance resolution issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95849 What|Removed

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

2021-09-01 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 Resolution|--- |FIXED Status|ASSIGNED

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

2021-09-07 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 Resolution|INVALID |--- Status|RESOLVED

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

2021-09-07 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 Resolution|--- |INVALID CC|

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

2021-09-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 --- Comment #6 from Marek Polacek --- Thanks. With the latter interpretation in mind, it seems my earlier fix should be mitigated so that we allow constexpr decltype(auto) but not constexpr const decltype(auto) Yes? Do you want me to raise

[Bug c++/101874] [12 Regression] ICE with auto specifier for VLAs since r12-1933-ge66d0b7b87d105d2

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

[Bug c++/101371] [9/10/11 Regression] constexpr expansions trigger internal Compiler Error

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

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

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

[Bug c++/71236] ICE on invalid code

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

[Bug c++/101730] [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549

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

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

2021-08-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95016 --- Comment #1 from Marek Polacek --- Will be fixed by https://gcc.gnu.org/pipermail/gcc-patches/2021-August/576627.html

[Bug c++/84633] internal compiler error: in lvalue_kind, at cp/tree.c:206

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

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

2021-09-21 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 Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/102447] std::regex incorrectly accepts invalid bracket expression

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

[Bug c++/102820] Failure to compile void{}

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

[Bug c++/101355] incorrect `this' in destructor calls when compiling coroutines with ubsan

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

[Bug c++/102548] gcc segmentation fault in cc1plus (with repro case)

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

[Bug c++/101940] Implement -Wno-attributes=vendor::attr

2021-09-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 --- Comment #5 from Marek Polacek --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579858.html

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

2021-10-04 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 Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/102613] New: [C++23] P2246R1 - Character encoding of diagnostic text

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102613 Bug ID: 102613 Summary: [C++23] P2246R1 - Character encoding of diagnostic text Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102616] [C++23] P2334R1 - Add support for preprocessing directives elifdef and elifndef

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

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

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102610 Bug ID: 102610 Summary: [C++23] P2036R3 - Change scope of lambda trailing-return-type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102612] [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions

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

[Bug c++/102615] New: [C++23] P2316R2 - Consistent character literal encoding

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102615 Bug ID: 102615 Summary: [C++23] P2316R2 - Consistent character literal encoding Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

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

2021-10-05 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 Blocks||98940 Status|UNCONFIRMED

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

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102617 Bug ID: 102617 Summary: [C++23] P2360R0 - Extend init-statement to allow alias-declaration Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102616] New: [C++23] P2334R1 - Add support for preprocessing directives elifdef and elifndef

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102616 Bug ID: 102616 Summary: [C++23] P2334R1 - Add support for preprocessing directives elifdef and elifndef Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/102609] New: [C++23] P0847R7 - Deducing this

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 Bug ID: 102609 Summary: [C++23] P0847R7 - Deducing this Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102611] New: [C++23] P2128R6 - Multidimensional subscript operator

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102611 Bug ID: 102611 Summary: [C++23] P2128R6 - Multidimensional subscript operator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/102612] New: [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102612 Bug ID: 102612 Summary: [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/102614] New: [C++23] P2314R4 - Character sets and encodings

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102614 Bug ID: 102614 Summary: [C++23] P2314R4 - Character sets and encodings Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/102414] [12 Regression] ICE in unify_array_domain, at cp/pt.c:23442 since r12-1933-ge66d0b7b87d105d2

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

[Bug c++/102434] [11/12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r11-4547-g6fb7e3c29188ab7c

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

[Bug c++/95307] Compiler accepts reinterpret_cast in constexpr

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

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

2021-12-03 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 95307, which changed state. Bug 95307 Summary: Compiler accepts reinterpret_cast in constexpr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95307 What|Removed |Added

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

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

[Bug c++/54366] [meta-bug] decltype issues

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54366 Bug 54366 depends on bug 81176, which changed state. Bug 81176 Summary: decltype(auto) yields reference type for structured binding https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81176 What|Removed |Added

[Bug c++/103403] [11 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

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

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

2021-12-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103553 Bug ID: 103553 Summary: Show what decltype deduced in static_assert Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/93614] C++ compile error with struct in template class and < operator

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

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

2021-12-04 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 Status|NEW |ASSIGNED Assignee|unassigned

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

2021-12-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103553 Marek Polacek changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/93614] C++ compile error with struct in template class and < operator

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

[Bug c++/84573] missing warning on an uninstantiated function template returning T with no return statement

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

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

2021-12-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 --- Comment #11 from Marek Polacek --- (In reply to chefmax from comment #10) > Hi Marek, sorry, I'm not really tracking this anymore :(. Hi, understood. > I don't remember exactly why option 1) from >

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

2021-12-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 Bug ID: 103758 Summary: bogus warning: misspelled term 'decl' in format; use 'declaration' instead [-Wformat-diag] Product: gcc Version: 12.0 Status: UNCONFIRMED

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

2021-12-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #2 from Marek Polacek --- Incidentally, this error ("% invalid in condition"); in cp_parser_decl_specifier_seq should be adjusted as well.

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

2021-12-17 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 Resolution|--- |FIXED Status|ASSIGNED

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

2021-12-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 Status|NEW |ASSIGNED Assignee|unassigned

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

2021-12-17 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 Resolution|--- |FIXED Status|ASSIGNED

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

2022-01-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #6 from Marek Polacek --- Yes, the one in gimple-ssa-warn-access.c looks trivial, the other two are mine, and will probably need another exception.

[Bug c++/103913] Several variables declared in one declarator have distinct types

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

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

2022-01-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #9 from Marek Polacek --- Sure, I can make that change!

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

2022-01-03 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 Resolution|--- |FIXED Status|ASSIGNED

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

2022-01-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #4 from Marek Polacek --- Fixed in GCC 12, will backport to GCC 11 around Jan 17.

[Bug c/71852] add warning for conditions that can never be true (missed -Wtautological-compare?)

2021-11-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71852 --- Comment #5 from Marek Polacek --- I think you meant https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=bc7fe95200214ce70419fde6f965dc88bbd645a6

[Bug c++/92145] -Wdeprecated-copy false-positive when inheriting base assignment operators

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

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

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

[Bug c++/77781] [DR 1315] Some valid cases of partial specialization not accepted

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

[Bug c++/103375] [12 regression] -Werror=uninitialized false positive on unittest-cpp since r12-5391-g0790c8aacdfb4f

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

[Bug c++/103347] [9/10/11 Regression] Non-static data member initialization is erroneously allowed in C++03 with assignment to NULL

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

[Bug c++/103379] ICE: tree check: expected class 'type', have 'declaration' (namespace_decl) in comptypes, at cp/typeck.c:1544

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

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

2021-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98939 --- Comment #4 from Marek Polacek --- Does that mean that code like this (from type_traits) needs to be fixed? class __make_unsigned_selector_base { protected: template struct _List { }; template struct _List<_Tp, _Up...>

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

2021-11-18 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 96121, which changed state. Bug 96121 Summary: Uninitialized variable copying in member initialized list not diagnosed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 What|Removed

[Bug c++/96121] Uninitialized variable copying in member initialized list not diagnosed

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

[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning

2021-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34307 Bug 34307 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2021-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 Bug 2972 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

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

2021-11-18 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 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug c++/96121] Uninitialized variable copying in member initialized list not diagnosed

2021-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 Bug 96121 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

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

2021-11-18 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 Resolution|--- |FIXED Status|ASSIGNED

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

2021-11-18 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 103049, which changed state. Bug 103049 Summary: [C++23] P0849R8 - auto(x): decay-copy in the language https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103049 What|Removed |Added

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

2021-11-18 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|ASSIGNED|RESOLVED Resolution|---

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

2021-11-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 --- Comment #55 from Marek Polacek --- Aah, I should check is_empty_class before issuing the warning I guess.

[Bug c++/103337] rejects-valid brace elision inside designated initializer

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

[Bug c++/101940] Implement -Wno-attributes=vendor::attr

2021-11-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 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

2021-11-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84930 --- Comment #9 from Marek Polacek --- Comment 3 was fixed in r11-7102.

[Bug c++/58071] Premature instantiation of default argument

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

[Bug c++/103279] [12 regression] ICE on llvm-compiler-rt-13: internal compiler error: canonical types differ for identical types

2021-11-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103279 --- Comment #2 from Marek Polacek --- Probably a dup of bug 101715, haven't verified yet.

[Bug c++/103403] [11/12 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

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

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

2021-11-24 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|NEW |ASSIGNED Assignee|unassigned

[Bug c++/103410] ICE: in grokfndecl, at cp/decl.c:9903

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

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

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

[Bug c++/103379] ICE: tree check: expected class 'type', have 'declaration' (namespace_decl) in comptypes, at cp/typeck.c:1544

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103379 Marek Polacek changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #3 from

[Bug c++/71843] [concepts] Diagnostics issued for constraint satisfaction failure fail to elucidate unsatisfied constraints

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

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

2021-11-24 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 71843, which changed state. Bug 71843 Summary: [concepts] Diagnostics issued for constraint satisfaction failure fail to elucidate unsatisfied constraints https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71843

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

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

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

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401 --- Comment #3 from Marek Polacek --- This is trickier than it seemed. void f(decltype(auto(0))) { } is actually valid in C++23 (probably) since auto(x) is supported. So I think it's essentially like void f(int) { } The r11-1913 change is

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

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401 --- Comment #4 from Marek Polacek --- I think the patch might be just: --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -7508,6 +7508,8 @@ cp_parser_postfix_expression (cp_parser *parser, bool address_p, bool cast_p, looking at a

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

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

[Bug c++/103347] [9/10/11/12 Regression] Non-static data member initialization is erroneously allowed in C++03 with assignment to NULL

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

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