------- Comment #4 from pinskia at gcc dot gnu dot org  2007-05-11 22:55 -------
(In reply to comment #3)
> I think this is a bug on Linux as well, though, I suspect it don't fail to
> build, but rather I think it will compare the two typeinfo objects as equal
> even though they are unrelated to each other.

Nope:
Y:
        .long   _ZTIN33_GLOBAL__N_t.cc_00000000_E25ADE893fooE

X:
        .long   _ZTIN33_GLOBAL__N_t.cc_00000000_1F13DE273fooE

So the typeinfo are different.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31903

Reply via email to