cc1plus.exe: typo causes STATUS_ACCESS_VIOLATION

Hugh Winkler hughw@scoutsys.com
Mon Sep 7 15:53:00 GMT 1998


// this is file cc1bug.cpp (n.b. bug is for c++ program)
// demonstrates a bug in
// gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
// typo in function name causes STATUS_ACCESS_VIOLATION in cc1plus.exe

// command line was gcc cc1bug.cpp

int foo@(void)         //typo
{
    int hr = 0;
    hr = 0;           //commenting out this line will cause no access
violation
}
//Hugh Winkler
//Scout Systems, Inc.
//hughw@scoutsys.com




More information about the Gcc-bugs mailing list