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/51676] -Wsuggest-attribute={pure,const} should give line number of declaration, not definition


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51676

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-30 06:33:44 UTC ---
Not all places have both a definition and a declaration.  Also we merge the
definition and the declaration giving the DECL internally as just the
definition's location.


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