Results for g++ 3.1 application testing on i686-pc-linux-gnu

Gabriel Dos Reis gdr@codesourcery.com
Tue Mar 5 23:00:00 GMT 2002


Richard Henderson <rth@redhat.com> writes:

| 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?  

Yes, that is the case.

| If that's the case, I'd consider this
| a (qoi) bug.

I recall the issue popped up in the past but no action was taken.

-- Gaby



More information about the Gcc mailing list