c++/915: -frepo doesn't work
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Sat Sep 15 20:02:00 GMT 2001
Synopsis: -frepo doesn't work
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Sep 15 20:02:07 2001
State-Changed-Why:
The following code (extracted from the preprocessed source
in this PR) compiles with the -frepo flag under gcc 3.0.1:
#include <vector>
#include <iostream>
using namespace std;
int main(int, char*[]) {
vector<int> intV(10);
for (int i = 0; i < 10; ++i) {
intV.push_back(i);
}
vector<int>::const_iterator i;
for (i = intV.begin(); i != intV.end(); ++i) {
cout << *i;
}
return 1;
}
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=915&database=gcc
More information about the Gcc-bugs
mailing list