URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* Orgin: Chris Demetriou <cgd@broadcom.com>
|
/* Orgin: Chris Demetriou <cgd@broadcom.com>
|
PR debug/12923 ICE in gen_subprogram_die with -O2 -g
|
PR debug/12923 ICE in gen_subprogram_die with -O2 -g
|
The problem was that this just to ICE with -O2 -g. */
|
The problem was that this just to ICE with -O2 -g. */
|
|
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -g" } */
|
/* { dg-options "-O2 -g" } */
|
|
|
extern __SIZE_TYPE__ strlen (const char *);
|
extern __SIZE_TYPE__ strlen (const char *);
|
|
|
int x (char *s)
|
int x (char *s)
|
{
|
{
|
int y () { return (strlen (s)); }
|
int y () { return (strlen (s)); }
|
return y (s);
|
return y (s);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.