From dad8513fc79ce8f6f70906edd1c46b49afdd436e Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 19 Mar 2000 08:43:52 +0000 Subject: [PATCH] Upgrade to the 2000-03-13 GCC 2.96 development snapshot. --- lang/gcc-devel/Makefile | 2 +- lang/gcc-devel/distinfo | 10 ++++----- lang/gcc-devel/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc-ooo/Makefile | 2 +- lang/gcc-ooo/distinfo | 10 ++++----- lang/gcc-ooo/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc/Makefile | 2 +- lang/gcc/distinfo | 10 ++++----- lang/gcc/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc30/Makefile | 2 +- lang/gcc30/distinfo | 10 ++++----- lang/gcc30/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc31/Makefile | 2 +- lang/gcc31/distinfo | 10 ++++----- lang/gcc31/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc32/Makefile | 2 +- lang/gcc32/distinfo | 10 ++++----- lang/gcc32/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc33/Makefile | 2 +- lang/gcc33/distinfo | 10 ++++----- lang/gcc33/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc34/Makefile | 2 +- lang/gcc34/distinfo | 10 ++++----- lang/gcc34/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc35/Makefile | 2 +- lang/gcc35/distinfo | 10 ++++----- lang/gcc35/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc40/Makefile | 2 +- lang/gcc40/distinfo | 10 ++++----- lang/gcc40/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc41/Makefile | 2 +- lang/gcc41/distinfo | 10 ++++----- lang/gcc41/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc42/Makefile | 2 +- lang/gcc42/distinfo | 10 ++++----- lang/gcc42/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc43/Makefile | 2 +- lang/gcc43/distinfo | 10 ++++----- lang/gcc43/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc44/Makefile | 2 +- lang/gcc44/distinfo | 10 ++++----- lang/gcc44/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc45/Makefile | 2 +- lang/gcc45/distinfo | 10 ++++----- lang/gcc45/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc46/Makefile | 2 +- lang/gcc46/distinfo | 10 ++++----- lang/gcc46/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc47/Makefile | 2 +- lang/gcc47/distinfo | 10 ++++----- lang/gcc47/files/patch-fa | 42 +++++++++++++++++------------------ lang/gcc48/Makefile | 2 +- lang/gcc48/distinfo | 10 ++++----- lang/gcc48/files/patch-fa | 42 +++++++++++++++++------------------ 54 files changed, 486 insertions(+), 486 deletions(-) diff --git a/lang/gcc-devel/Makefile b/lang/gcc-devel/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc-devel/Makefile +++ b/lang/gcc-devel/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc-devel/distinfo b/lang/gcc-devel/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc-devel/distinfo +++ b/lang/gcc-devel/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc-devel/files/patch-fa b/lang/gcc-devel/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc-devel/files/patch-fa +++ b/lang/gcc-devel/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc-ooo/Makefile b/lang/gcc-ooo/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc-ooo/Makefile +++ b/lang/gcc-ooo/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc-ooo/distinfo b/lang/gcc-ooo/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc-ooo/distinfo +++ b/lang/gcc-ooo/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc-ooo/files/patch-fa b/lang/gcc-ooo/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc-ooo/files/patch-fa +++ b/lang/gcc-ooo/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc/distinfo b/lang/gcc/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc/distinfo +++ b/lang/gcc/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc/files/patch-fa b/lang/gcc/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc/files/patch-fa +++ b/lang/gcc/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc30/Makefile b/lang/gcc30/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc30/Makefile +++ b/lang/gcc30/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc30/distinfo b/lang/gcc30/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc30/distinfo +++ b/lang/gcc30/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc30/files/patch-fa b/lang/gcc30/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc30/files/patch-fa +++ b/lang/gcc30/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc31/Makefile +++ b/lang/gcc31/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc31/distinfo b/lang/gcc31/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc31/distinfo +++ b/lang/gcc31/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc31/files/patch-fa b/lang/gcc31/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc31/files/patch-fa +++ b/lang/gcc31/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc32/Makefile +++ b/lang/gcc32/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc32/distinfo b/lang/gcc32/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc32/distinfo +++ b/lang/gcc32/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc32/files/patch-fa b/lang/gcc32/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc32/files/patch-fa +++ b/lang/gcc32/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc33/Makefile +++ b/lang/gcc33/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc33/distinfo b/lang/gcc33/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc33/distinfo +++ b/lang/gcc33/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc33/files/patch-fa b/lang/gcc33/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc33/files/patch-fa +++ b/lang/gcc33/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc34/Makefile +++ b/lang/gcc34/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc34/distinfo b/lang/gcc34/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc34/distinfo +++ b/lang/gcc34/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc34/files/patch-fa b/lang/gcc34/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc34/files/patch-fa +++ b/lang/gcc34/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc35/Makefile b/lang/gcc35/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc35/Makefile +++ b/lang/gcc35/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc35/distinfo b/lang/gcc35/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc35/distinfo +++ b/lang/gcc35/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc35/files/patch-fa b/lang/gcc35/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc35/files/patch-fa +++ b/lang/gcc35/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc40/Makefile +++ b/lang/gcc40/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc40/distinfo b/lang/gcc40/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc40/distinfo +++ b/lang/gcc40/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc40/files/patch-fa b/lang/gcc40/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc40/files/patch-fa +++ b/lang/gcc40/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc41/Makefile +++ b/lang/gcc41/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc41/distinfo b/lang/gcc41/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc41/distinfo +++ b/lang/gcc41/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc41/files/patch-fa b/lang/gcc41/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc41/files/patch-fa +++ b/lang/gcc41/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc42/Makefile +++ b/lang/gcc42/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc42/distinfo b/lang/gcc42/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc42/distinfo +++ b/lang/gcc42/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc42/files/patch-fa b/lang/gcc42/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc42/files/patch-fa +++ b/lang/gcc42/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc43/Makefile +++ b/lang/gcc43/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc43/distinfo b/lang/gcc43/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc43/distinfo +++ b/lang/gcc43/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc43/files/patch-fa b/lang/gcc43/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc43/files/patch-fa +++ b/lang/gcc43/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc44/Makefile +++ b/lang/gcc44/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc44/distinfo b/lang/gcc44/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc44/distinfo +++ b/lang/gcc44/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc44/files/patch-fa b/lang/gcc44/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc44/files/patch-fa +++ b/lang/gcc44/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc45/Makefile +++ b/lang/gcc45/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc45/distinfo b/lang/gcc45/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc45/distinfo +++ b/lang/gcc45/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc45/files/patch-fa b/lang/gcc45/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc45/files/patch-fa +++ b/lang/gcc45/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc46/distinfo b/lang/gcc46/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc46/distinfo +++ b/lang/gcc46/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc46/files/patch-fa b/lang/gcc46/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc46/files/patch-fa +++ b/lang/gcc46/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc47/distinfo b/lang/gcc47/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc47/distinfo +++ b/lang/gcc47/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc47/files/patch-fa b/lang/gcc47/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc47/files/patch-fa +++ b/lang/gcc47/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 82d0af01249c..99a99f8b70cb 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -7,7 +7,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-03-06 +SNAPDATE= 2000-03-13 SNAPVER= ${SNAPDATE:S/-//g} DISTNAME= gcc-2.96 diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo index 639f31c61687..461322755196 100644 --- a/lang/gcc48/distinfo +++ b/lang/gcc48/distinfo @@ -1,5 +1,5 @@ -MD5 (egcs-core-20000306.tar.gz) = c5d5534b0dbbef56c7941f1203254251 -MD5 (egcs-g++-20000306.tar.gz) = 728ad3b320dfebda831baf8e94d31ee4 -MD5 (egcs-g77-20000306.tar.gz) = 21bdad63a06461ecae38a2ef67e4a8b9 -MD5 (egcs-java-20000306.tar.gz) = 3ce7f4d9cbacda593f2990b46713c567 -MD5 (egcs-objc-20000306.tar.gz) = 8e5bb944cb5e9311814b51a2bcd210c8 +MD5 (egcs-core-20000313.tar.gz) = cdbc7b66620af21ec41df37c8d707d19 +MD5 (egcs-g++-20000313.tar.gz) = c4ed3e278c6d8ff65217a13aa5e6cf39 +MD5 (egcs-g77-20000313.tar.gz) = 0eb21c1e7e30f0a262e6edd3a5e996f5 +MD5 (egcs-java-20000313.tar.gz) = c3a702114fbee4b01dbfa555d1f5c554 +MD5 (egcs-objc-20000313.tar.gz) = 5bdf7c5f038d91741b3577e6c2c78908 diff --git a/lang/gcc48/files/patch-fa b/lang/gcc48/files/patch-fa index 984c773d8c16..ec6a579f554a 100644 --- a/lang/gcc48/files/patch-fa +++ b/lang/gcc48/files/patch-fa @@ -1,6 +1,6 @@ ---- gcc/c-common.c.orig Mon Jan 24 12:10:00 2000 -+++ gcc/c-common.c Tue Feb 1 02:43:39 2000 -@@ -152,7 +152,7 @@ +--- gcc/c-common.c.orig Wed Mar 8 03:21:26 2000 ++++ gcc/c-common.c Tue Mar 14 21:46:03 2000 +@@ -154,7 +154,7 @@ int, int, int)); static void init_attributes PARAMS ((void)); static void record_function_format PARAMS ((tree, tree, enum format_type, @@ -9,15 +9,15 @@ static void record_international_format PARAMS ((tree, tree, int)); static tree c_find_base_decl PARAMS ((tree)); static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); -@@ -812,6 +812,7 @@ - = TREE_VALUE (TREE_CHAIN (TREE_CHAIN (args))); - int format_num; - int first_arg_num; -+ int null_format_ok; +@@ -786,6 +786,7 @@ enum format_type format_type; tree argument; - int arg_num; -@@ -825,7 +826,7 @@ + unsigned int arg_num; ++ int null_format_ok; + + if (TREE_CODE (decl) != FUNCTION_DECL) + { +@@ -796,7 +797,7 @@ if (TREE_CODE (format_type_id) != IDENTIFIER_NODE) { @@ -26,7 +26,7 @@ continue; } else -@@ -833,12 +834,26 @@ +@@ -804,12 +805,26 @@ const char *p = IDENTIFIER_POINTER (format_type_id); if (!strcmp (p, "printf") || !strcmp (p, "__printf__")) @@ -53,7 +53,7 @@ else { warning ("`%s' is an unrecognized format function type", p); -@@ -909,7 +924,8 @@ +@@ -882,7 +897,8 @@ record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl), @@ -63,7 +63,7 @@ break; } -@@ -1213,6 +1229,11 @@ +@@ -1186,6 +1202,11 @@ } format_char_info; static format_char_info print_char_table[] = { @@ -75,7 +75,7 @@ { "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" }, { "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" }, { "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" }, -@@ -1273,6 +1294,7 @@ +@@ -1246,6 +1267,7 @@ tree name; /* identifier such as "printf" */ tree assembler_name; /* optional mangled identifier (for C++) */ enum format_type format_type; /* type of format (printf, scanf, etc.) */ @@ -83,7 +83,7 @@ int format_num; /* number of format argument */ int first_arg_num; /* number of first arg (zero for varargs) */ } function_format_info; -@@ -1305,25 +1327,25 @@ +@@ -1278,25 +1300,25 @@ init_function_format_info () { record_function_format (get_identifier ("printf"), NULL_TREE, @@ -119,7 +119,7 @@ record_international_format (get_identifier ("gettext"), NULL_TREE, 1); record_international_format (get_identifier ("dgettext"), NULL_TREE, 2); -@@ -1340,11 +1362,12 @@ +@@ -1313,11 +1335,12 @@ (e.g. for varargs such as vfprintf). */ static void @@ -133,7 +133,7 @@ int format_num; int first_arg_num; { -@@ -1368,6 +1391,7 @@ +@@ -1341,6 +1364,7 @@ } info->format_type = format_type; @@ -141,7 +141,7 @@ info->format_num = format_num; info->first_arg_num = first_arg_num; } -@@ -1521,7 +1545,8 @@ +@@ -1494,7 +1518,8 @@ if (integer_zerop (format_tree)) { @@ -151,7 +151,7 @@ return; } if (TREE_CODE (format_tree) != ADDR_EXPR) -@@ -1710,12 +1735,13 @@ +@@ -1683,12 +1708,13 @@ It will work on most machines, because size_t and int have the same mode. But might as well warn anyway, since it will fail on other machines. */ @@ -166,7 +166,7 @@ } } else -@@ -1760,6 +1786,53 @@ +@@ -1733,6 +1759,53 @@ } } } @@ -220,7 +220,7 @@ aflag = 0; -@@ -1828,7 +1901,8 @@ +@@ -1801,7 +1874,8 @@ switch (info->format_type) { case printf_format_type: