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: r158193
This commit is contained in:
parent
807a5c26fa
commit
7e2af6fbeb
|
@ -1,3 +1,8 @@
|
|||
2010-04-10 Jie Zhang <jie@codesourcery.com>
|
||||
|
||||
PR target/43417
|
||||
* gcc.target/sh/pr43417.c: New test.
|
||||
|
||||
2010-04-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR target/43643
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
/* { 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue