repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr15551.C
blob
6fd6780ccd2bc083d13d5bda689582be9ca733e2
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" }
7
8
#include <cstring>
9
#include <fstream>
10
using namespace std;
11
12
ostream* logfile;
13
14
int main () {
15
16
logfile = new ofstream("bar", ios::out);
17
18
char expList[20000];
19
strcpy(expList, "foo");
20
21
return 0;
22
}