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 tree-optimization/50021] -Wsuggest-attribute=pure makes obviously-incorrect suggestion


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

--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> 2011-08-09 08:27:16 UTC ---
On Mon, 8 Aug 2011, hubicka at gcc dot gnu.org wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50021
> 
> --- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-08-08 20:48:51 UTC ---
> Yep, we need to mark partial clones and supress warnings there. Do we have way
> to work out from DECL if it is a clone? (from callgraph it is bit tricky in
> this case when it comes to ltrans partitioning. For sure I can stick flag there
> through)

I'm not sure - I probably would add a decl flag for this (might be useful
for debug info as well).


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