egcs-97907: internal compiler error

Jay Sachs sachs@bull.cs.williams.edu
Mon Sep 8 15:42:00 GMT 1997


The following function yields an internal compiler error:

// --- snip ---
class C { };

void foo()
{
    C c;
    void * v = static_cast<void *>(c);
}
// --- snip ---

Environment is a Sparc Ultra1, SunOS 5.5.1, compiled with

   g++ -c x.cc

-Jay



More information about the Gcc-bugs mailing list