[Bug c++/90189] New: Spurious "error: parameter packs not expanded" when a dependent name coincides

2019-04-19 Thread lkoppel at uwaterloo dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90189

Bug ID: 90189
   Summary: Spurious "error: parameter packs not expanded" when a
dependent name coincides
   Product: gcc
   Version: 9.0
   URL: https://godbolt.org/z/UuwYK4
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: lkoppel at uwaterloo dot ca
  Target Milestone: ---

Source:

struct A {
using CommonName = char;
};

template 
struct B {
using V = typename T::CommonName;
};

template struct B;


Output:

:7:37: error: parameter packs not expanded with '...':
7 | using V = typename T::CommonName;
  | ^
:7:37: note: 'CommonName'
Compiler returned: 1

Rejected by all GCC versions. Accepted by clang, msvc.

[Bug c++/67054] Constructor inheritance with non-default constructible members

2018-02-12 Thread lkoppel at uwaterloo dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054

--- Comment #8 from Leonid Koppel  ---
Fixed in 7.2.