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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20031218-3.c] - Rev 823

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

/* Orgin: Chris Demetriou <cgd@broadcom.com>
   PR debug/12923  ICE in gen_subprogram_die with -O2 -g
   The problem was that this just to ICE with -O2 -g.  */
 
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */
 
extern __SIZE_TYPE__ strlen (const char *);
 
int x (char *s)
{
  int y () { return (strlen (s)); }
  return y (s);
}
 

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.