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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [pr52199.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
3
/* { dg-require-effective-target powerpc_vsx_ok } */
4
/* { dg-options "-O3 -mcpu=power7 -fmerge-all-constants" } */
5
 
6
struct locale_time_t
7
{
8
  const char *abday[7];
9
  const unsigned int *wabday[7];
10
};
11
 
12
static const unsigned int empty_wstr[1] = { 0 };
13
 
14
void
15
time_read (struct locale_time_t *time)
16
{
17
  int cnt;
18
 
19
  for (cnt=0; cnt < 7; cnt++)
20
    {
21
      time->abday[cnt] = "";
22
      time->wabday[cnt] = empty_wstr;
23
    }
24
}

powered by: WebSVN 2.1.0

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