[Bug tree-optimization/50021] -Wsuggest-attribute=pure makes obviously-incorrect suggestion

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Aug 9 08:28:00 GMT 2011


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).



More information about the Gcc-bugs mailing list