This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs bug



// 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]