[Bug c++/69694] type incomplete depending if constructing function is templated
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 11 11:01:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69694
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to bloerwald from comment #2)
> (In reply to Patrick Palka from comment #1)
> > g++ 4.9 compiles this successfully, g++ 5.1 doesn't, neither does trunk.
>
> The original testcase as well as the code it was reduced from failed on
> 4.9.2 as well. Is this still the same issue?
I'm not sure what causes 4.9 to reject one test case and accept the other, but
I think the issue is still ultimately the same. A patch I am testing against
trunk makes both test cases compile.
More information about the Gcc-bugs
mailing list