This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: C++ template instantiation aliasing problem
- From: Geoff Keating <geoffk at geoffk dot org>
- To: sdh4 at tam dot cornell dot edu
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 4 Feb 2002 18:17:35 -0800
- Subject: Re: C++ template instantiation aliasing problem
- References: <1012874592.4366.95.camel@khartoum>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> From: "Stephen D. Holland" <sdh4@tam.cornell.edu>
> Date: 04 Feb 2002 21:03:12 -0500
> To solve this, the linker should
> -- Issue a warning when multiply defined symbols do not map to
> identical code
The problem with this is that often they don't map to identical code
even though they behave the same way, because (for instance) they
are compiled with different optimisation options.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>