On 06/12/2013 11:58 AM, Paolo Carlini wrote:
-                    && TREE_CODE (TREE_TYPE (decl)) != REFERENCE_TYPE
+                    && TREE_CODE (type) != REFERENCE_TYPE

This change is wrong; we specifically want to suppress the unused-but-set warning for reference variables. Drop it and the patch is OK.

Jason

Reply via email to