[Bug c++/31735] New: Problem using STL

2007-04-28 Thread leonardo dot anversi at gmail dot com
Hi,

I must tried to run an program in g++ 4.1.1, and it gives an wrong answer.
This problem does not occur in g++ 2.95.
I using debian etch.
Se the C++ code below:

begin-code/
#include
#include
using namespace std;

int main(){

int  n, nn; 
string vector[54], word;

cin >> nn;
for (int i=0; i> word;
for (int j=0; j STL
   Product: gcc
   Version: 4.1.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: leonardo dot anversi at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31735



[Bug c++/31736] New: Problem using STL (new code)

2007-04-28 Thread leonardo dot anversi at gmail dot com
Hi,

I must tried to run an program in g++ 4.1.1 an g++ 3.4.6, and it gives an wrong
answer.
This problem does not occur in g++ 2.95.
I am using debian etch.
Se the C++ code below:

begin-code/
#include
#include
using namespace std;

int main(){

int  n, nn; 
string vector[54], word;

cin >> nn;
for (int i=0; i> word;
for (int j=0; j STL (new code)
   Product: gcc
   Version: 4.1.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: leonardo dot anversi at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31736



[Bug c++/31737] New: Problem using STL with g++ 3.4.6

2007-04-28 Thread leonardo dot anversi at gmail dot com
Hi,

I must tried to run an program in g++3.4.6, and it gives an wrong answer.
This problem does not occur in g++ 2.95.
I am using debian etch.
Se the C++ code below:

begin-code/
#include
#include
using namespace std;

int main(){

int  n, nn; 
string vector[54], word;

cin >> nn;
for (int i=0; i> word;
for (int j=0; j STL with g++ 3.4.6
   Product: gcc
   Version: 3.4.6
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: leonardo dot anversi at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31737