$ g++-7 -c test.ii
test.ii:18:21: error: parameter '<anonymous>' includes reference to array of
unknown bound 'const long int []'
b(const long (&)[]);
^
test.ii:23: confused by earlier errors, bailing out
$ g++-9 -c test.ii
test.ii:23:16: error: call of overloaded 'b(<brace-enclosed initializer list>)'
is ambiguous
23 | blaspp<1> k({4})
| ^
test.ii:18:3: note: candidate: 'b::b<l, f, 0, f, baseclass<g, h, true, i>, j
...>::b(const long int (&)[]) [with l = double; long unsigned int f = 1;
baseclass = a; int g = 0; int h = 1; i = void; j = {}]'
18 | b(const long (&)[]);
| ^
test.ii:17:3: note: candidate: 'b::b<l, f, 0, f, baseclass<g, h, true, i>, j
...>::b(long int) [with l = double; long unsigned int f = 1; baseclass = a; int
g = 0; int h = 1; i = void; j = {}]'
17 | b(long);
| ^
test.ii:16:7: note: candidate: 'constexpr b::b<double, 1, 0, 1, a<0, 1, true,
void> >::b(const b::b<double, 1, 0, 1, a<0, 1, true, void> >&)'
16 | class b<l, f, 0, f, baseclass<g, h, true, i>, j...> {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.ii:16:7: note: candidate: 'constexpr b::b<double, 1, 0, 1, a<0, 1, true,
void> >::b(b::b<double, 1, 0, 1, a<0, 1, true, void> >&&)'
test.ii:23:16: error: expected ',' or ';' at end of input
23 | blaspp<1> k({4})
| ^
** Bug watch added: GCC Bugzilla #89994
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89994
** Also affects: gcc via
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89994
Importance: Unknown
Status: Unknown
** Changed in: gcc-7 (Ubuntu)
Status: Incomplete => Confirmed
** Also affects: gcc-8 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296
Title:
g++ 7.3 and g++ 8.2 report segmentation fault
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs