summaryrefslogtreecommitdiff
path: root/lang/gcc/patches/patch-am
blob: bb399368dcb089bc3da0de54580b80f06e4c83e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-am,v 1.5 2010/10/12 22:57:56 joerg Exp $

--- gcc/java/parse.c.orig	2001-03-16 14:13:48.000000000 +0000
+++ gcc/java/parse.c
@@ -12818,6 +12818,7 @@ resolve_type_during_patch (type)
 }
 /* 5.5 Casting Conversion. error_mark_node is returned if an error is
    found. Otherwise NODE or something meant to replace it is returned.  */
+static tree convert_narrow ();
 
 static tree
 patch_cast (node, wfl_operator)
@@ -12836,7 +12837,6 @@ patch_cast (node, wfl_operator)
   /* Check on cast that are proven correct at compile time */
   if (JNUMERIC_TYPE_P (cast_type) && JNUMERIC_TYPE_P (op_type))
     {
-      static tree convert_narrow ();
       /* Same type */
       if (cast_type == op_type)
 	return node;