[Bug c++/13104] New: Internal compiler error in resolve_offset_ref

globos at freesurf dot fr gcc-bugzilla@gcc.gnu.org
Tue Nov 18 12:18:00 GMT 2003


On Windows XP, using cygwin, each time i try to compile this source code :


#include <iostream>

class A
{
public:
  A () { }
  void fuck () { }
};

int main ()
{
  std::cout << &(A::fuck) << std::endl;
  return 0;
}


g++ complains of :
In function 'int main()'
12: Internal compiler error in resolve_offset_ref
   , at cP/init.c:1886

-- 
           Summary: Internal compiler error in resolve_offset_ref
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: globos at freesurf dot fr
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list