]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - debian/patches/003-mspgcc-3.2.3-20080819-FUNCTION.dpatch
Update patches and debian/changelog
[msp430-gcc.git] / debian / patches / 003-mspgcc-3.2.3-20080819-FUNCTION.dpatch
diff --git a/debian/patches/003-mspgcc-3.2.3-20080819-FUNCTION.dpatch b/debian/patches/003-mspgcc-3.2.3-20080819-FUNCTION.dpatch
deleted file mode 100755 (executable)
index cacd3a0..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 002-mspgcc-3.2.3-20080819-FUNCTION.dpatch by pkgs@titaniummirror.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: __FUNCTION__ patch from mspgcc 3.2.3 CVS 20080819
-
-@DPATCH@
-
---- gcc-3.2.3.orig/gcc/c-common.c      2002-12-01 12:19:08.000000000 -0600
-+++ gcc-3.2.3/gcc/c-common.c   2006-03-18 22:08:27.000000000 -0600
-@@ -581,18 +581,20 @@
-         if (TREE_TYPE (t) == wchar_array_type_node)
-           {
-             wide_length += (TREE_STRING_LENGTH (t) - wchar_bytes);
-             wide_flag = 1;
-           }
-         else
-           {
-             length += (TREE_STRING_LENGTH (t) - 1);
-+#if 0              
-             if (C_ARTIFICIAL_STRING_P (t) && !in_system_header)
-               warning ("concatenation of string literals with __FUNCTION__ is deprecated"); 
-+#endif
-           }
-       }
-       /* If anything is wide, the non-wides will be converted,
-        which makes them take more space.  */
-       if (wide_flag)
-       length = length * wchar_bytes + wide_length;