[Bug libstdc++/20647] Wrong typeid for incomplete types
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 6 17:54:00 GMT 2005
------- Comment #10 from nathan at gcc dot gnu dot org 2005-11-06 17:54 -------
A * is not a reference to an incomplete type, but a pointer to one, so 5.2.8.4
does not apply. I'm fairly certain the correct output should be 'OK'. The two
type id objects should have different addresses (one should be weak, one should
be local static). The typeid strings should have the same address (and be
emitted weak)
--
nathan at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20647
More information about the Gcc-bugs
mailing list