Re: [PATCH v3] emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack [PR70536]

2023-05-17 Thread Ed Catmur
Ping. On Sat, 4 Feb 2023, at 10:50, Ed Catmur wrote: > Per > http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates > DW_TAG_GNU_formal_parameter_pack should have a DW_AT_name: > > 17$: DW_TAG_formal_parameter_pack > DW_AT

[PATCH] gcc: emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack [PR70536]

2022-03-13 Thread Ed Catmur
attribute DW_AT_type(reference to 13$) (...) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70536 From 2c50fbbfdd42c9ecb6d6b8e4c53bb3029ef1ee25 Mon Sep 17 00:00:00 2001 From: Ed Catmur Date: Sat, 12 Mar 2022 17:38:33 + Subject: [PATCH] emit DW_AT_name for DW_TAG_GNU_formal_parameter

[PATCH] c++: Fall through for arrays of T vs T cv [PR104996]

2022-03-22 Thread Ed Catmur
If two arrays do not have the exact same element type including qualification, this could be e.g. f(int (&&)[]) vs. f(int const (&)[]), which can still be distinguished by the lvalue-rvalue tiebreaker. By tightening this branch (in accordance with the letter of the Standard) we fall through to

[PATCH v2] c++: Fall through for arrays of T vs T cv [PR104996]

2022-04-18 Thread Ed Catmur
nd tested on x86_64-pc-linux-gnu. Signed-off-by: Ed Catmur PR c++/104996 gcc/cp/ChangeLog: * call.cc (compare_ics): When comparing list-initialization sequences, do not return early. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/initlist129.C: New test. --- gc

[PATCH] gcc: emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack [PR70536]

2023-01-10 Thread Ed Catmur
attribute DW_AT_type(reference to 13$) (...) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70536From 2c50fbbfdd42c9ecb6d6b8e4c53bb3029ef1ee25 Mon Sep 17 00:00:00 2001 From: Ed Catmur Date: Sat, 12 Mar 2022 17:38:33 + Subject: [PATCH] emit DW_AT_name for DW_TAG_GNU_formal_parameter

[PATCH v3] emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack [PR70536]

2023-02-04 Thread Ed Catmur
Per http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates DW_TAG_GNU_formal_parameter_pack should have a DW_AT_name: 17$: DW_TAG_formal_parameter_pack DW_AT_name("args") 18$: DW_TAG_formal_parameter ! no DW_AT_name attribute

[PATCH 0/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
This patch series improves conformance to the C++ standard for C-style casts (explicit cast notation, [expr.cast]) in two scenarios. First, as discussed in CWG 909 [1], a C-style cast may invoke a user-defined conversion (as a static_cast) followed by a const_cast; currently this is erroneously

[PATCH 1/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
PR c++/77465 - [DR909] rejected C-style cast involving casting away constness from result of conversion operator PR c++/77465 gcc/cp/ChangeLog: * call.c (tourney): (joust): (build_user_type_conversion_1): (reference_binding): (implicit_conversion_

[PATCH 2/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
gcc/cp/ChangeLog: * call.c (reference_binding): gcc/testsuite/ChangeLog: * g++.dg/cpp0x/constexpr-union.C: * g++.dg/warn/Wstrict-aliasing-5.C: * g++.old-deja/g++.jason/rvalue3.C: * g++.dg/conversion/explicit1.C: New test. 0002-Add-const-qualification-to-s

[PATCH 3/3] c++: expr-cast - C-style cast conformance [PR77465]

2021-12-30 Thread Ed Catmur
gcc/testsuite/ChangeLog: * g++.dg/conversion/explicit2.C: New test. * g++.dg/conversion/explicit3.C: New test. 0003-Add-tests-verifying-conformance-to-explicit.patch Description: Binary data