Hi,
The issue is that lookup_destructor calls
adjust_result_of_qualified_name_lookup
with an NULL_TREE decl (returned by lookup_member). So error-message
is missing.
As already discussed in bug-tracker:
ChangeLog
2014-12-04 Kai Tietz kti...@redhat.com
PR c++/64100
* typeck.c
On Thu, Dec 04, 2014 at 04:00:34PM +0100, Kai Tietz wrote:
Hi,
The issue is that lookup_destructor calls
adjust_result_of_qualified_name_lookup
with an NULL_TREE decl (returned by lookup_member). So error-message
is missing.
As already discussed in bug-tracker:
ChangeLog
2014-12-04 16:46 GMT+01:00 Marek Polacek pola...@redhat.com:
On Thu, Dec 04, 2014 at 04:00:34PM +0100, Kai Tietz wrote:
Hi,
The issue is that lookup_destructor calls
adjust_result_of_qualified_name_lookup
with an NULL_TREE decl (returned by lookup_member). So error-message
is missing.
On 12/04/2014 10:57 AM, Kai Tietz wrote:
Well, I spared that as this is an invalid code bug with a lot of
side-errors, which might change over time.
Every patch should have an associated testcase unless it's fixing an
existing test or writing a testcase is somehow not feasible. Many tests
Ok, Additional change for testcase mentioned in PR.
ChangeLog
2014-12-04 Kai Tietz kti...@redhat.com
PR c++/641000
* g++.dg/template/pr64100.C: New file.
Ok for apply?
Regards,
Kai
Index: gcc/gcc/testsuite/g++.dg/template/pr64100.C
OK, thanks.
Jason