diff options
author | obrien <obrien@FreeBSD.org> | 2005-09-08 18:07:29 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-09-08 18:07:29 +0000 |
commit | 31bd95c0c7d02a58e498f3f550db5e0f6171e4c8 (patch) | |
tree | 2cc9409c6ccb34da09e4b2f2a61554b8f9ba0215 /lang | |
parent | e122980b80443f4efc1c1fad46431882e8e49b64 (diff) | |
download | FreeBSD-ports-31bd95c0c7d02a58e498f3f550db5e0f6171e4c8.zip FreeBSD-ports-31bd95c0c7d02a58e498f3f550db5e0f6171e4c8.tar.gz |
This patch is now part of the stock FSF sources, so we don't need it anymore.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc41/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc42/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc43/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc44/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc45/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc46/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc47/files/patch-c-decl.c | 16 | ||||
-rw-r--r-- | lang/gcc48/files/patch-c-decl.c | 16 |
9 files changed, 0 insertions, 144 deletions
diff --git a/lang/gcc/files/patch-c-decl.c b/lang/gcc/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc41/files/patch-c-decl.c b/lang/gcc41/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc41/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc42/files/patch-c-decl.c b/lang/gcc42/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc42/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc43/files/patch-c-decl.c b/lang/gcc43/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc43/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc44/files/patch-c-decl.c b/lang/gcc44/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc44/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc45/files/patch-c-decl.c b/lang/gcc45/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc45/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc46/files/patch-c-decl.c b/lang/gcc46/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc46/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc47/files/patch-c-decl.c b/lang/gcc47/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc47/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); diff --git a/lang/gcc48/files/patch-c-decl.c b/lang/gcc48/files/patch-c-decl.c deleted file mode 100644 index 620989f..0000000 --- a/lang/gcc48/files/patch-c-decl.c +++ /dev/null @@ -1,16 +0,0 @@ -$FreeBSD$ - ---- gcc/c-decl.c.orig Wed Aug 17 17:21:28 2005 -+++ gcc/c-decl.c Wed Sep 7 02:18:44 2005 -@@ -1555,7 +1555,10 @@ diagnose_mismatched_decls (tree newdecl, - && !(DECL_EXTERNAL (olddecl) && !DECL_EXTERNAL (newdecl)) - /* Don't warn about forward parameter decls. */ - && !(TREE_CODE (newdecl) == PARM_DECL -- && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl))) -+ && TREE_ASM_WRITTEN (olddecl) && !TREE_ASM_WRITTEN (newdecl)) -+ /* Don't warn about a variable definition following a declaration. */ -+ && !(TREE_CODE (newdecl) == VAR_DECL -+ && DECL_INITIAL (newdecl) && !DECL_INITIAL (olddecl))) - { - warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D", - newdecl); |