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

2020-10-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96805 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/97358] [8/9/10 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 Jason Merrill changed: What|Removed |Added Summary|[8/9/10/11 Regression] ICE |[8/9/10 Regression] ICE

[Bug c++/95942] [11 regression] offsetof on an array: error: 'e' is not a constant expression

2020-10-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95942 Jason Merrill changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug c++/95844] [11 Regression] ICE: Segmentation fault (in cp_warn_deprecated_use)

2020-10-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95844 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/95844] [11 Regression] ICE: Segmentation fault (in cp_warn_deprecated_use)

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

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #10 from Jason Merrill --- This doesn't look valid to me. In [x...] { x; }... we capture the entire pack, but then try to use only a single element. This should be rejected because the use of x in the lambda body is not

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/97918] [8/9/10/11 Regression] ICE near htab_hash_string when LTO, -O & -g

2020-11-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97918 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2020-11-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/96960] [C++20] ICE in tsubst_copy_and_build, at cp/pt.c:20531 from lambda in return-type-requirement

2020-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96960 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug bootstrap/98128] [11 Regression] Bootstrap failed on 32-bit hosts

2020-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98128 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/97059] C++20: compound requirement uses inconsistent return type (adds ref)

2020-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97059 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/98019] Concepts: compound requirement expression from 'requires' expression is considered discarded-value expression for [[nodiscard]], false positive warning emitted

2020-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98019 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug bootstrap/98128] [11 Regression] Bootstrap failed on 32-bit hosts

2020-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98128 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/98131] new test case g++.dg/cpp2a/concepts-nodiscard1.C in r11-5719 has excess errors

2020-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98131 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/98019] Concepts: compound requirement expression from 'requires' expression is considered discarded-value expression for [[nodiscard]], false positive warning emitted

2020-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98019 Jason Merrill changed: What|Removed |Added Status|RESOLVED|ASSIGNED Ever confirmed|0

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

2020-12-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96299 Jason Merrill changed: What|Removed |Added Target Milestone|--- |11.0 Status|ASSIGNED

[Bug middle-end/88173] constant folding of NaN comparison depends on order of operands

2020-12-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88173 Jason Merrill changed: What|Removed |Added Summary|`std::numeric_limits::qu |constant folding of NaN

[Bug c++/97965] constexpr evaluation vs. NaNs inconsistency

2020-12-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97965 --- Comment #2 from Jason Merrill --- See also PR88683 and PR88173. I notice that the match.pd REAL_CST patterns starting around line 4045 only look at the RHS of the comparison, so that nan > inf is handled very differently from inf < nan.

[Bug c++/88173] `std::numeric_limits::quiet_NaN()` is not always constexpr

2020-12-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88173 Jason Merrill changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/64194] [C++14] for function template with auto return

2020-12-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194 --- Comment #16 from Jason Merrill --- The fix looks safe to backport; it isn't a regression, but the number of duplicate reports argue for making an exception.

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2020-11-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96805 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/95158] [8/9 Regression] Templates + Diamond Inheritance + Final = Pure Virtual Function Call

2020-11-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95158 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/97943] [11 Regression] ICE with __builtin_clear_padding on flexible array member

2020-11-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97943 --- Comment #6 from Jason Merrill --- I think we should reject trying to clear the padding of a flexible/zero-length array, with error rather than sorry. And handle an array at the end of a struct like any other array. Nobody should be using

[Bug c++/98019] Concepts: compound requirement expression from 'requires' expression is considered discarded-value expression for [[nodiscard]], false positive warning emitted

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98019 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/20408] Unnecessary code generated for empty structs

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20408 Jason Merrill changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug libstdc++/21796] (v7-branch) std::search not using std::find

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21796 Bug 21796 depends on bug 20408, which changed state. Bug 20408 Summary: Unnecessary code generated for empty structs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20408 What|Removed |Added

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

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92446] [C++20] template argument deduction fails for custom non-type parameters

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92446 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug c++/92576] Definition of variable template without initializer is treated as declaration

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92576 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/17232] [DR 1640] classes and class template specializations treated differently w.r.t. core issue #337

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/56838] [4.9 regression] GCC svn doesn't compile libreoffice 4.0.1.2

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56838 Bug 56838 depends on bug 17232, which changed state. Bug 17232 Summary: [DR 1640] classes and class template specializations treated differently w.r.t. core issue #337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232 What

[Bug c++/93310] Incorrect constexpr virtual evaluation inside a constructor

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93310 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug debug/65821] [7 regression] incorrect debug line # info for main

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65821 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85282] CWG 727 (full specialization in non-namespace scope)

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/84938] [7 Regression] internal compiler error: in gen_reg_rtx, at emit-rtl.c:1187 (gen_reg_rtx()/maybe_legitimize_operand())

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84938 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|8.5

[Bug c++/86943] [7 Regression] Wrong code when converting stateless generic lambda to function pointer

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86943 Jason Merrill changed: What|Removed |Added Target Milestone|8.5 |8.3 Status|ASSIGNED

[Bug c++/91953] [8 Regression] G++ rejects lambda with constexpr variable

2020-12-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85648] Name mangling using decltype omits namespace

2020-12-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85648 --- Comment #3 from Jason Merrill --- Created attachment 49830 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49830=edit Fix This patch depends on the one for bug 67343, and similarly is waiting for the resolution of ABI issue 38.

[Bug c++/67343] C++ mangler does not follow ABI for unresolved names in expressions

2020-12-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67343 --- Comment #7 from Jason Merrill --- Created attachment 49828 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49828=edit WIP Fix Here's my current patch for this bug, but I think I'm going to hold off on it pending the resolution of ABI

[Bug c++/67343] C++ mangler does not follow ABI for unresolved names in expressions

2020-12-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67343 --- Comment #8 from Jason Merrill --- Created attachment 49829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49829=edit Follow-on patch And this one fixes ->:: according to the current ABI, but also holding for the issue resolution.

[Bug c++/85648] Name mangling using decltype omits namespace

2020-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85648 Jason Merrill changed: What|Removed |Added Last reconfirmed||2020-12-19 Resolution|DUPLICATE

[Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard.

2020-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88413 Jason Merrill changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/67343] C++ mangler does not follow ABI for local names in expressions

2020-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67343 Jason Merrill changed: What|Removed |Added CC||brennan at umanwizard dot com ---

[Bug c++/89818] possibly invalid name mangling

2020-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89818 Jason Merrill changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug c++/67343] C++ mangler does not follow ABI for local names in expressions

2020-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67343 Jason Merrill changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment

[Bug demangler/98398] New: demangler fails on function parameter from enclosing parameter-type-list

2020-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98398 Bug ID: 98398 Summary: demangler fails on function parameter from enclosing parameter-type-list Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/98130] [11 regression] placement new fails on webkit-gtk-2.28.4 since r11-4745-g58c9de46541ade79

2020-12-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98130 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

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

2020-12-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/96333] [10/11 Regression] Regression on concepts constraint checking

2020-12-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96333 Jason Merrill changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/98332] [10/11 Regression] ICE in unshare_constructor, at cp/constexpr.c:1527 since r6-7607-g52228180f1e50cbb

2020-12-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98332 --- Comment #2 from Jason Merrill --- (In reply to Martin Liška from comment #1) > Started with r6-7607-g52228180f1e50cbb. Rather, with r10-986-g9b9eb42a4168c342e5cd71b13d21e63ba7e1b7ab.

[Bug c++/97704] [11 Regression][concepts] Not working with explicit types in function signatures?

2020-12-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97704 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/96045] [11 Regression] Wrong line and column diagnostic message in a class template instantiation

2020-12-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96045 --- Comment #3 from Jason Merrill --- Nathan, this PR points out that your change to EOF location means that we no longer show the last line of source to give context for the error. Why not give the EOF token a location of the end of the last

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Jason Merrill changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug c++/90537] Implement P1286R2, Contra CWG DR1778

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90537 Jason Merrill changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|jason at gcc dot gnu.org

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

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 90537, which changed state. Bug 90537 Summary: Implement P1286R2, Contra CWG DR1778 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90537 What|Removed |Added

[Bug c++/91581] ICE on usage requiring complete class in exception-specification of defaulted method

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91581 Bug 91581 depends on bug 90537, which changed state. Bug 90537 Summary: Implement P1286R2, Contra CWG DR1778 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90537 What|Removed |Added

[Bug c++/97388] By-value function parameter changes are rolled back prior to destructor call during constant evaluation

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97388 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/91367] Implement P1099R5: using enum

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91367 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

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

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 91367, which changed state. Bug 91367 Summary: Implement P1099R5: using enum https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91367 What|Removed |Added

[Bug c++/86252] Abstract class in function return type

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86252 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug tree-optimization/97595] [11 Regression] bogus -Wstringop-overflow due to DECL_SIZE_UNIT underreporting field size

2020-11-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97595 --- Comment #5 from Jason Merrill --- (In reply to Martin Sebor from comment #3) > I can confirm the warning but I'm not sure the bug is in the middle end > code. Let me CC Jason for his comments. > > The warning triggers for the MEM_REF

[Bug c++/97918] [8/9/10/11 Regression] ICE near htab_hash_string when LTO, -O & -g

2020-11-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97918 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

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

2020-11-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 86252, which changed state. Bug 86252 Summary: Abstract class in function return type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86252 What|Removed |Added

[Bug c++/86252] Abstract class in function return type

2020-11-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86252 Jason Merrill changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug libstdc++/97841] New: [C++17] is_invocable handling of incomplete return type is wrong

2020-11-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97841 Bug ID: 97841 Summary: [C++17] is_invocable handling of incomplete return type is wrong Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

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

2021-01-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/97566] [[no_unique_address]] causes miscompiles when mixed with EBO in constexpr context

2021-01-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97566 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/97474] [8/9/10/11 Regression] produces wrong code with references to another field

2021-01-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97474 --- Comment #12 from Jason Merrill --- Yeah, adding restrict there is just wrong; the constructor is called outside the function, and could e.g. stash a pointer to the object in a global variable. What we actually want is to treat this

[Bug c++/98463] [11 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:5491 by r11-2720

2021-01-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98463 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/98744] [11 Regression] ICE in gimple_call_arg, at gimple.h:3246 since r11-6735-g424deca72b63e644

2021-01-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98744 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/98744] [11 Regression] ICE in gimple_call_arg, at gimple.h:3246 since r11-6735-g424deca72b63e644

2021-01-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98744 --- Comment #8 from Jason Merrill --- (In reply to Jakub Jelinek from comment #7) > looks strange, isn't DECL_HAS_IN_CHARGE_PARM_P (fn) false on all > base constructors (as those are the abstract ctors with the in_charge > parameter removed and

[Bug c++/98744] [11 Regression] ICE in gimple_call_arg, at gimple.h:3246 since r11-6735-g424deca72b63e644

2021-01-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98744 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 Jason Merrill changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|jason at gcc dot gnu.org

[Bug c++/98463] [11 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:5491 by r11-2720

2021-01-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98463 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 Jason Merrill changed: What|Removed |Added Known to work||11.0 Known to fail|11.0

[Bug c++/98642] [10/11 Regression] wrong "use of deleted function" error

2021-01-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98642 --- Comment #3 from Jason Merrill --- Created attachment 49977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49977=edit possible patch to elide more copies This implements a suggestion I made in

[Bug c++/98642] [10/11 Regression] wrong "use of deleted function" error

2021-01-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98642 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Last

[Bug c++/98570] [8/9/10/11 Regression] ICE: canonical types differ for identical types

2021-02-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98570 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/98802] [10/11 Regression] class template argument deduce guide leads infinite recursive since r10-4719-g9b41ebbcdf9e3328

2021-02-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98802 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/95192] [11 Regression] ICE: tree check: expected tree_list, have error_mark in handle_assume_aligned_attribute, at c-family/c-attribs.c:2996

2021-02-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95192 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98802] [10 Regression] class template argument deduce guide leads infinite recursive since r10-4719-g9b41ebbcdf9e3328

2021-02-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98802 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/90926] [8/9/10 Regression] member char array with string literal initializer causes = {} to fail

2021-02-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90926 Jason Merrill changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression] member

[Bug c++/98717] [10/11 Regression] [c++20] variadic concept can't take empty pack

2021-02-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98717 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/97566] [[no_unique_address]] causes miscompiles when mixed with EBO in constexpr context

2021-01-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97566 Jason Merrill changed: What|Removed |Added Target Milestone|--- |11.0 Status|ASSIGNED

[Bug c++/97474] [8/9/10/11 Regression] produces wrong code with references to another field

2021-01-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97474 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2021-01-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Jason Merrill changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code

[Bug c++/98570] [8/9/10/11 Regression] ICE: canonical types differ for identical types

2021-01-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98570 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2021-01-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/98929] [11 Regression] Internal compiler error on gcc trunk

2021-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98929 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/98926] [11 regression] several ICEs after r11-7011

2021-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98926 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/98929] [11 Regression] Internal compiler error on gcc trunk

2021-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98929 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2021-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98939 Bug ID: 98939 Summary: [C++23] Implement P1787R6 "Declarations and where to find them" Product: gcc Version: 10.0 URL: http://wg21.link/p1787r6 Status:

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

2021-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98939 Jason Merrill changed: What|Removed |Added Version|10.0|11.0 Last reconfirmed|

[Bug c++/98941] [C++23] Implement P0330R2 - Literal Suffixes for ptrdiff_t and size_t

2021-02-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98941 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |emsr at gcc dot gnu.org

[Bug c++/100796] [11 Regression] GCC does not honor #pragma diagnostic ignored when using the integrated preprocessor

2021-06-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100796 --- Comment #5 from Jason Merrill --- Created attachment 51012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51012=edit fix Testing this fix now. Making a suitable testcase for the testsuite will be a bit tricky...

[Bug c++/101078] [9/10/11/12 Regression] Rejected code since r12-1272-gf07edb5d7f3e7721

2021-06-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101078 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/101078] [9/10/11 Regression] Rejected code since r12-1272-gf07edb5d7f3e7721

2021-06-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101078 Jason Merrill changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression]

  1   2   3   4   5   6   7   8   9   10   >