Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / opt / pr15551.C
blob6fd6780ccd2bc083d13d5bda689582be9ca733e2
1 // PR target/15551
2 // This used to crash on pentium4-pc-cygwin due to an alloca problem.
3 // Testcase submitted by Hans Horn to mingw bug tracker
4 //
5 // { dg-do run }
6 // { dg-options "-O3" }
8 #include <cstring>
9 #include <fstream>
10 using namespace std;
12 ostream* logfile;
14 int main () {
16   logfile = new ofstream("bar", ios::out);
18   char expList[20000];
19   strcpy(expList, "foo");
21   return 0;