small C++ classes

Werner Geurts <>
12 Dec 1997 14:54:41 -0500

          From comp.compilers

Related articles
small C++ classes (Werner Geurts) (1997-12-12)
Re: small C++ classes (Jason Merrill) (1997-12-13)
Re: small C++ classes (Jason Merrill) (1997-12-15)
Re: small C++ classes (Shankar Unni) (1997-12-19)
| List of all articles for this month |

From: Werner Geurts <>
Newsgroups: comp.compilers
Date: 12 Dec 1997 14:54:41 -0500
Organization: Target Compiler Technologies N.V.
Keywords: C++, optimize


I am looking for information on storage allocation for small C++
classes like point or complex, that contain only a few scalar data
members. Are there any C++ compilers that allocate (the members of)
such object to the register set instead of to memory? Under what
conditions can this be done? During which compilation step can this
be done?

I am looking for pointers to papers or other resources that describe
this optimisation.


Werner Geurts (

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.