This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Results for g++ 3.1 application testing on i686-pc-linux-gnu


Nathan Myers <ncm-nospam@cantrip.org> writes:

| On Tue, Mar 05, 2002 at 03:03:23PM -0800, Richard Henderson wrote:
| > On Tue, Mar 05, 2002 at 01:11:13PM -0800, Benjamin Kosnik wrote:
| > > It's annoying to me to see, for every header with
| > > 
| > > const int l = 5;
| > > 
| > > in it, this in every object file
| > > 
| > > 00000000 r l
| > 
| > I thought C++ allowed us to never emit these unless their 
| > address is taken?  If that's the case, I'd consider this
| > a (qoi) bug.
| 
| I agree.  I would not like to see those converted to enums;
| better to fix the compiler.

Certainly, the best and most scalable option is to fix the compiler.
However, we can't indefinite way for the compiler being fixed.
This isn't different from situtations where we do things in order to
work around compiler limitations.

-- Gaby


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