http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50365

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-09-13 
23:15:17 UTC ---
At r176120 which fixed PR49691, the test case from Comment 4, begins to fail in
the current mode...

[MacPro:~] howarth% /Users/howarth/dist/bin/g++ -c test.cc
test.cc: In constructor ‘XplorSimulation::XplorSimulation()’:
test.cc:17:26: error: cannot call member function ‘XplorVars*
XplorSimulation::xplorVars()’ without object

r176120 | jason | 2011-07-10 10:24:03 -0400 (Sun, 10 Jul 2011) | 5 lines

        PR c++/49691
        * parser.c (cp_parser_late_return_type_opt): Check quals parameter
        rather than current_class_type to determine whether to set 'this'.
        (cp_parser_direct_declarator): Pass -1 to quals if member_p is false.
        (cp_parser_init_declarator): Pass down member_p.

Reply via email to