This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46206] using typedef-name error with typedef name hiding struct name
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Aug 2013 10:59:41 +0000
- Subject: [Bug c++/46206] using typedef-name error with typedef name hiding struct name
- Auto-submitted: auto-generated
- References: <bug-46206-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46206
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
The difference is that in the first case the TYPE_DECL Bar is regenerated and
the DECL_IMPLICIT_TYPEDEF_P bit is lost, the true value set earlier by
create_implicit_typedef is lost.