On Oct 28, 2005, Mark Mitchell <[EMAIL PROTECTED]> wrote:

> In general, comparison of type_info objects is supposed to be done by
> checking for address equality of the type info strings.

> In the situation where we
> do not use strcmp, I would not expect to see that bug -- because I would
> expect that the type_info objects and the corresponding type_info
> strings are local symbols.

If the strings turn out to be identical and the linker merges them, we
fail...

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   [EMAIL PROTECTED], gcc.gnu.org}
Free Software Evangelist  [EMAIL PROTECTED], gnu.org}

Reply via email to