This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A user question (was: Re: Faster compilation speed)
- From: Marco Morandini <morandini at aero dot polimi dot it>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 13 Aug 2002 19:51:21 +0200
- Subject: Re: A user question (was: Re: Faster compilation speed)
- References: <3D5943EB.5080208@aero.polimi.it>
Marco Morandini wrote:
> wrong code....
bleah!
Here is the right code
(pippo (dummy in italian) <-> dummy)
Marco
Version 1
-------------------
class A{
private:
double c;
public:
virtual ~A();
};
void dummy(const A&a);
int main(void) {
A a;
dummy(a);
.
.
//repeat this line N times
.
.
dummy(a);
return 0;
}
-------------------
Version 2
-------------------
void dummy(const double&a);
int main(void) {
double a;
dummy(a);
.
.
//repeat this line N times
.
.
dummy(a);
return 0;
}
-------------------