OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [s390/] [pr27661.c] - Blame information for rev 414

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 324 jeremybenn
/* This used to ICE on s390 due to a reload bug.  */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -march=z990 -ftracer" } */
5
 
6
extern int memcmp (const void *s1, const void *s2, unsigned long n);
7
extern int printf (__const char *__restrict __format, ...);
8
 
9
struct test
10
{
11
  char tmp[4096];
12
  char msgtype[2];
13
};
14
 
15
void test (struct test *testtb)
16
{
17
  if (testtb)
18
    printf ("a");
19
 
20
  if (memcmp(testtb->msgtype, "a", 2))
21
    printf ("a");
22
 
23
  printf ("b");
24
}
25
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.