This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: inlining inefficiencies
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>
- Cc: gcc at gcc dot gnu dot org
- Date: 30 May 2002 09:12:44 +0200
- Subject: Re: inlining inefficiencies
- Organization: CodeSourcery, LLC
- References: <200205291625.aa15828@gremlin-relay.ics.uci.edu>
Dan Nicolaescu <dann@godzilla.ICS.UCI.EDU> writes:
| There are some problems with inlining as shown by the code below
| (derived from oopack)
|
| class Complex_d {
| public:
| double re, im;
| Complex_d (double r, double i) : re(r), im(i) {}
| Complex_d () {}
| };
Incidentely, I would like to mention that the compiler seems to have
some unexplained difficulty to optimize similar constructs with
double __complex__ -- that used to be mentioned in the past, and I
beleive the situation doesn't improve :-(
-- Gaby