[Bug c++/100078] [11 Regression] Rejected code since r11-8137-g84081e2c6bd43a67

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

[Bug c++/99963] [11 Regression] [concepts] template vs concept auto reports ambiguous overload

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

[Bug c++/100079] [9/10/11 Regression] Non-type template parameter, itself a nested template, rejected with internal error

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

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

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

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

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

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

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

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

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

[Bug c++/80456] [8/9/10/11 Regression] calling constexpr member function from volatile-qualified member function: error: ‘this’ is not a constant expression

2021-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80456 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug c++/80456] [8/9/10 Regression] calling constexpr member function from volatile-qualified member function: error: ‘this’ is not a constant expression

2021-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80456 Jason Merrill changed: What|Removed |Added Known to work||11.0 Summary|[8/9/10/11 Regre

[Bug c++/100079] [9/10 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2021-04-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 Jason Merrill changed: What|Removed |Added Known to work||11.0 Summary|[9/10/11 Regres

[Bug c++/100111] [10/11 Regression] `-fno-elide-constructors` with `constexpr` ctors causes ICE in GCC 10.3

2021-04-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100111 --- Comment #7 from Jason Merrill --- (In reply to Jakub Jelinek from comment #4) > Created attachment 50613 [details] > gcc11-pr100111.patch > > This works for me on the testcase and passes make check-c++-all, but haven't > bootstrapped or ful

[Bug c++/91706] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in equate_type_number_to_die, at dwarf2out.c:5782

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

[Bug c++/91706] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in equate_type_number_to_die, at dwarf2out.c:5782

2021-04-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91706 Jason Merrill changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #6 from Ja

[Bug c++/100111] [10 Regression] `-fno-elide-constructors` with `constexpr` ctors causes ICE in GCC 10.3

2021-04-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100111 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug c++/91706] [8/9/10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in equate_type_number_to_die, at dwarf2out.c:5782

2021-04-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91706 --- Comment #7 from Jason Merrill --- Created attachment 50632 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50632&action=edit near fix This seemed like a fix, but it breaks the modules/merge-8 testcase, and debugging that is being slow.

[Bug c++/100109] [8/9/10/11 Regression] ICE: unexpected expression 'E' of kind template_parm_index

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

[Bug c++/100109] [8/9/10/11 Regression] ICE: unexpected expression 'E' of kind template_parm_index

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

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

2021-04-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92145 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/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 expanded

[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++/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 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++/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++/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++/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 Sta

[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++/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 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 below:

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

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

[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 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++/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++/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++/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 Resolut

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

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

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

[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 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++/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. And

[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 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++/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 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++/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 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++/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 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++/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|Remove

[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 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 #13

[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++/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++/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++/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++/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 --- Commen

[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 #5

[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 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++/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&action=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

[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&action=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-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&action=edit Fix This patch depends on the one for bug 67343, and similarly is waiting for the resolution of ABI issue 38.

[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 #15

[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++/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 a

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

[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++/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 reconfir

[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++/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&action=edit possible patch to elide more copies This implements a suggestion I made in https://github.com/itanium-cxx-abi/c

[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++/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 a

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

[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++/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++/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++/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 reference

[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++/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 a

<    1   2   3   4   5   6   7   8   9   10   >