This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55742] [4.8 regression] __attribute__ in class function declaration cause "prototype does not match" errors.
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Jan 2013 20:23:54 +0000
- Subject: [Bug c++/55742] [4.8 regression] __attribute__ in class function declaration cause "prototype does not match" errors.
- Auto-submitted: auto-generated
- References: <bug-55742-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55742
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-14 20:23:54 UTC ---
That wouldn't work, because you would then have the default (non-mv) version,
possibly mv version with no target attribute, and then some other mv versions
with target attributes. The problem with that is that the first two mangle the
same. This means that a non-mv and mv with no target attribute needs to be
treated as the same decl (i.e. merged together).