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: "xinliangli at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Jan 2013 17:17:21 +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 #11 from davidxl <xinliangli at gmail dot com> 2013-01-14 17:17:21 UTC ---
(In reply to comment #9)
> I'd say once a target attribute appears at a declaration (non-definition) MV
> needs to be disabled. Or, the declarations target attribute and those at
> the MV definitions need to be merged.
>
> Thus, a declarations target attribute applies to all definitions (thus all
> MV variants).
This might reduce the usefulness of MV -- using declarations with attributes to
indicate MV candidates is the intended use model.
David