URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// { dg-options "-ffriend-injection" }
|
// { dg-options "-ffriend-injection" }
|
// Bug: g++ ignores the :: qualification and dies trying to treat an integer
|
// Bug: g++ ignores the :: qualification and dies trying to treat an integer
|
// variable as a list of functions.
|
// variable as a list of functions.
|
|
|
class DComplex {
|
class DComplex {
|
public:
|
public:
|
friend double imag(const DComplex& a);
|
friend double imag(const DComplex& a);
|
};
|
};
|
|
|
class FComplex {
|
class FComplex {
|
public:
|
public:
|
friend float imag(const FComplex& a);
|
friend float imag(const FComplex& a);
|
};
|
};
|
|
|
void
|
void
|
scnrm2(FComplex cx[])
|
scnrm2(FComplex cx[])
|
{
|
{
|
int imag;
|
int imag;
|
::imag( cx[0] );
|
::imag( cx[0] );
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.