Re: Automaticly eliminating redundant zero initialisers

From: Jamie Lokier (egcs@tantalophile.demon.co.uk)
Date: Thu May 11 2000 - 08:14:56 EST


John Vickers wrote:
> There seemed to be some idea in that thread that
> -fconserve-space and -Os might want to affect whether
> this optimisation was performed. -fno-common
> seems to do the opposite of what you need.

Note that zero-initialisers probably shouldn't have "common" linkage --
they should simply be allocated in .bss for targets that support
non-common .bss allocation. E.g. ELF.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:18 EST