URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
/* { dg-do assemble } */
|
/* { dg-do assemble } */
|
/* This testcase requires entries in the debug_range section in DWARF which
|
/* This testcase requires entries in the debug_range section in DWARF which
|
refer to a vague linkage function. */
|
refer to a vague linkage function. */
|
|
|
struct s
|
struct s
|
{
|
{
|
~s ();
|
~s ();
|
};
|
};
|
|
|
bool f1 ();
|
bool f1 ();
|
s f2 (s);
|
s f2 (s);
|
|
|
template void
|
template void
|
f3(const s & a)
|
f3(const s & a)
|
{
|
{
|
while (f1 () && f1 ())
|
while (f1 () && f1 ())
|
{
|
{
|
s c = f2(a);
|
s c = f2(a);
|
}
|
}
|
}
|
}
|
|
|
int main()
|
int main()
|
{
|
{
|
f3<0>(s ());
|
f3<0>(s ());
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.