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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [20031218-3.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* Orgin: Chris Demetriou <cgd@broadcom.com>
2
   PR debug/12923  ICE in gen_subprogram_die with -O2 -g
3
   The problem was that this just to ICE with -O2 -g.  */
4
 
5
/* { dg-do compile } */
6
/* { dg-options "-O2 -g" } */
7
 
8
extern __SIZE_TYPE__ strlen (const char *);
9
 
10
int x (char *s)
11
{
12
  int y () { return (strlen (s)); }
13
  return y (s);
14
}

powered by: WebSVN 2.1.0

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