aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc45
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-09-08 18:07:29 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-09-08 18:07:29 +0000
commit93b6d16f715f53aa81c93dce81a1d09523b02834 (patch)
tree2fb16d4fa381051fcf6cea440ec762c643b4c158 /lang/gcc45
parent94bc587af409c9900e3923978e5ddbd137b37479 (diff)
downloadports-93b6d16f715f53aa81c93dce81a1d09523b02834.tar.gz
ports-93b6d16f715f53aa81c93dce81a1d09523b02834.zip
Notes
Diffstat (limited to 'lang/gcc45')
-rw-r--r--lang/gcc45/files/patch-c-decl.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lang/gcc45/files/patch-c-decl.c b/lang/gcc45/files/patch-c-decl.c
deleted file mode 100644
index 620989f79100..000000000000
--- 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);