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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20041216-1.c] - Rev 149

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

/* This test case would get an unresolved symbol during link
   because stabs referred to an optimized-away literal pool
   entry.  */
 
/* { dg-do run { target s390*-*-* } } */
/* { dg-options "-O2 -fno-omit-frame-pointer -gstabs" } */
 
int main (void)
{
  static char buf[4096];
  char *p;
 
  do
    {
      p = buf;
      asm volatile ("" : : : "memory", "0", "1", "2", "3", "4", "5", "6",
				       "7", "8", "9", "10", "12");
    }
  while (*p);
 
  return 0;
}
 
 

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.