Summary: | typeinfo visibility of template class instantiation can not be changed with attribute | ||
---|---|---|---|
Product: | gcc | Reporter: | Christoph Pesch <christoph.pesch> |
Component: | c++ | Assignee: | Jason Merrill <jason> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bkoz, christoph.pesch, efrias, gcc-bugs, geoffk, jmegq, mueller, nomis80, s_gccbugzilla |
Priority: | P2 | Keywords: | visibility |
Version: | 4.0.0 | ||
Target Milestone: | --- | ||
Host: | i686-pc-linux-gnu | Target: | i686-pc-linux-gnu |
Build: | i686-pc-linux-gnu | Known to work: | |
Known to fail: | Last reconfirmed: | 2006-03-21 04:03:43 | |
Bug Depends on: | 17470 | ||
Bug Blocks: |
Description
Christoph Pesch
2005-04-27 06:26:16 UTC
Confirmed. Probably the same bug as 17470. I think that the actual reported behaviour is not a bug. Some related behaviour is covered by bug 26612, but in this particular case the name 'Abc' refers to something that is hidden, and so it shouldn't be possible to make an instantiation of Abc be not-hidden. Probably trying to use a visibility attribute like this should not be allowed. |