This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/55742] [4.8 regression] __attribute__ in class function declaration cause "prototype does not match" errors.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]