File fix-build-with-GCC-4.6-series.patch of Package sparse
From aaff080449ebcb66553ebf5b512f737b6191f339 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
Date: Wed, 13 Apr 2011 13:06:06 +0200
Subject: [PATCH] Fix build with GCC 4.6 series.
The label_statement attribute in the anonymous structures' union was
duplicated for label_arg and labeled_struct alises, which were
identical. Since the former is never used, delete it and leave the other as
the only copy.
Signed-off-by: Christopher Li <sparse@chrisli.org>
---
parse.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/parse.h b/parse.h
index 6b21e23..b26bd03 100644
--- a/parse.h
+++ b/parse.h
@@ -35,10 +35,6 @@ struct statement {
struct /* declaration */ {
struct symbol_list *declaration;
};
- struct /* label_arg */ {
- struct symbol *label;
- struct statement *label_statement;
- };
struct {
struct expression *expression;
struct expression *context;
--
1.7.4.2