Re: Fwd: [PATCH] Attribute for unused warning for variables of non-trivial types

2013-07-14 Thread Lubos Lunak
a lot. As for the copyright assignment, AFAIK there is a generic SUSE one that should cover this as well. -- Lubos Lunak l.lu...@suse.cz

Re: Fwd: [PATCH] Attribute for unused warning for variables of non-trivial types

2013-06-30 Thread Lubos Lunak
Sorry, this has disappeared off my radar for a while. On Wednesday 21 of November 2012, Jason Merrill wrote: > On 11/20/2012 10:39 AM, Lubos Lunak wrote: > >if (TREE_CODE (exp) == VAR_DECL || TREE_CODE (exp) == PARM_DECL) > > -/* Just know that we've seen som

[PATCH] Attribute for unused warning for variables of non-trivial types

2012-11-08 Thread Lubos Lunak
warning might be useful anyway (e.g. std::string). Thank you. -- Lubos Lunak l.lu...@suse.cz diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 34cfb98..d9e6725 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -375,6 +375,7 @@ static tree