C++ template instantiation aliasing problem

Geoff Keating geoffk@geoffk.org
Mon Feb 4 18:49:00 GMT 2002
> 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>



More information about the Binutils mailing list