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] - Rev 801

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

/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O3 -mcpu=power7 -fmerge-all-constants" } */
 
struct locale_time_t
{
  const char *abday[7];
  const unsigned int *wabday[7];
};
 
static const unsigned int empty_wstr[1] = { 0 };
 
void
time_read (struct locale_time_t *time)
{
  int cnt;
 
  for (cnt=0; cnt < 7; cnt++)
    {
      time->abday[cnt] = "";
      time->wabday[cnt] = empty_wstr;
    }
}
 

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

powered by: WebSVN 2.1.0

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