Commit a6d57223 by Jie Zhang Committed by Jie Zhang

re PR target/43417 (SH: 4.4 ICE in final_scan_insn, at final.c:2604)

	PR target/43417
	* gcc.target/sh/pr43417.c: New test.

From-SVN: r158192
parent 687ea68f
2010-04-10 Jie Zhang <jie@codesourcery.com>
PR target/43417
* gcc.target/sh/pr43417.c: New test.
2010-04-10 Tobias Burnus <burnus@net-b.de>
PR fortran/43591
......
/* { dg-do compile } */
/* { dg-options "-O2 -m4" } */
int pid_count = 0;
main (int argc, char *argv[])
{
unsigned int c;
unsigned long long maxbytes = 0;
extern char *optarg;
int i;
int pid_cntr;
int pid;
int pid_list[1000];
while ((c = getopt (argc, argv, "c:b:p:wvh")) != (-1))
{
switch ((char) c)
{
case 'b':
maxbytes = atoll (optarg);
}
}
pid = fork ();
while ((pid != 0) && (maxbytes > 1024 * 1024 * 1024))
{
maxbytes = maxbytes - (1024 * 1024 * 1024);
pid = fork ();
if (pid != 0)
pid_cntr++;
pid_list[i] = pid;
}
while ((pid_count < pid_cntr))
{
}
kill (pid_list[i], 9);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment