This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inlining inefficiencies


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]