URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
/* { dg-do assemble } */
|
/* { dg-do assemble } */
|
/* { dg-options "-O1" }*/
|
/* { dg-options "-O1" }*/
|
// This was PR C++/31165
|
// This was PR C++/31165
|
// We used to copy the whole decl when we just wantted to
|
// We used to copy the whole decl when we just wantted to
|
// unshare some expressions for the default argument.
|
// unshare some expressions for the default argument.
|
class string {
|
class string {
|
char *ptr;
|
char *ptr;
|
int len;
|
int len;
|
int sz;
|
int sz;
|
};
|
};
|
class cset { } _cset_init;
|
class cset { } _cset_init;
|
string an_empty_string;
|
string an_empty_string;
|
void f(string& = an_empty_string);
|
void f(string& = an_empty_string);
|
void
|
void
|
h (void )
|
h (void )
|
{
|
{
|
f();
|
f();
|
}
|
}
|
|
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.