egcs bug

Cedric Peignot cpeignot@disam.upm.es
Fri Feb 5 01:29:00 GMT 1999


// begin code
#include <vector>

class foo {};

main() {
    vector<foo> foo_vector;
    unsigned int size=foo_vector->size();
}
// end code

g++ -v:
gcc version egcs-2.91.14 980315 (gcc-2.8.0 release)

g++ test.cc:
test.cc: In function 'int main()':
test.cc:7: Internal compiler error.

cheers.


More information about the Gcc-bugs mailing list