aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-21 13:54:25 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-21 13:54:25 +0000
commit86865f1751e2cb6f13b78b0e00f6723a28716ad9 (patch)
treeecc99f09d902993f49ec5ed29dd095fa3fdd76ce /contrib
parent610a02190561061108a812c7ecc6d5e76c910276 (diff)
2003-07-21 Steven Bosscher <steven@gcc.gnu.org>
Diego Novillo <dnovillo@redhat.com> * Makefile.in (install-po): Check if $CATALOGS is empty to avoid buggy shells. * basic-block.h (rtl_verify_flow_info): Remove. (tree_verify_flow_info): Remove. (verify_flow_info): Declare. * builtins.c: Rearrange to simplify merges. Add #if 0 around expand_ functions that are not used in the branch and move new code to the end of the file. * c-opts.c (c_common_handle_option): Move handling of -fdump- to opts.c. * cfgloopmanip.c (loop_split_edge_with_NULL): Remove. Update all users. * common.opt: Add all the tree-ssa switches. * opts.c: Handle them. * flags.h (flag_tree_cp): Remove unused variable. (enum pta_type): Move from tree-must-alias.h (flag_tree_points_to): Likewise. * toplev.c (flag_tree_cp): Remove unused variable. * tree-cfg.c: Move cfg_hooks structures and functions for trees from cfghooks.c. * tree-mudflap.c (mudflap_enqueue_decl): Don't use %D to avoid warning about format specifiers. 2003-07-21 Diego Novillo <dnovillo@redhat.com> * gimplify.c (gimplify_function_tree): Move gimplification of the function body ... (gimplify_body): ... here. * tree-simple.h (gimplify_body): Declare. * tree-inline.c (initialize_inlined_parameters): If the emitted assignment is not in GIMPLE form, gimplify the body of assignments emitted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@69631 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog16
-rwxr-xr-xcontrib/gcc_update8
-rw-r--r--contrib/paranoia.cc2
-rw-r--r--contrib/reghunt/ChangeLog7
-rwxr-xr-xcontrib/reghunt/reg_periodic27
-rwxr-xr-xcontrib/reghunt/reg_search39
6 files changed, 69 insertions, 30 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 2f7c50f9bb7..6cde5eeb3a8 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,5 +1,19 @@
+2003-07-04 Zack Weinberg <zack@codesourcery.com>
+
+ * gcc_update: Remove gcc/intl/plural.c from list.
+ Add new generated files intl/plural.c, intl/configure,
+ intl/config.h.in.
+
+2003-06-13 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * gcc_update (files_and_dependencies): Add
+ gcc/testsuite/gcc.dg/cpp/_Pragma3.c depends on
+ gcc/testsuite/gcc.dg/cpp/mi1c.h.
+
2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
+ * paranoia.cc: Fix spelling error.
+
* analyze_brprob, gcc_build, gennews, texi2pod.pl: Change GNU CC
to GCC.
@@ -45,7 +59,7 @@
2002-12-28 Alexandre Oliva <aoliva@redhat.com>
* gcc_update (configure): Depend on config/acx.m4 as well.
-
+
* gcc_update (configure): Depend on configure.in.
2002-12-24 Joseph S. Myers <jsm@polyomino.org.uk>
diff --git a/contrib/gcc_update b/contrib/gcc_update
index a11660e831e..0563c1d1c1a 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -66,12 +66,15 @@ texinfo/stamp-h.in: texinfo/configure.in texinfo/aclocal.m4 texinfo/acconfig.h
texinfo/lib/Makefile.in: texinfo/lib/Makefile.am texinfo/configure.in texinfo/aclocal.m4
texinfo/makeinfo/Makefile.in: texinfo/makeinfo/Makefile.am texinfo/configure.in texinfo/aclocal.m4
texinfo/util/Makefile.in: texinfo/util/Makefile.am texinfo/configure.in texinfo/aclocal.m4
+# intl library
+intl/plural.c: intl/plural.y
+intl/configure: intl/configure.in intl/aclocal.m4
+intl/config.h.in: intl/configure.in intl/aclocal.m4
# Now, proceed to gcc automatically generated files
gcc/configure: gcc/configure.in
gcc/cstamp-h.in: gcc/configure.in gcc/acconfig.h
gcc/config.in: gcc/cstamp-h.in
gcc/fixinc/fixincl.x: gcc/fixinc/fixincl.tpl gcc/fixinc/inclhack.def
-gcc/intl/plural.c: gcc/intl/plural.y
# And then, language-specific files
gcc/f/intdoc.texi: gcc/f/intdoc.in gcc/f/intdoc.c gcc/f/intrin.h gcc/f/intrin.def
gcc/cp/cfns.h: gcc/cp/cfns.gperf
@@ -85,6 +88,9 @@ gcc/ada/gnat_ug_unx.texi: gcc/ada/gnat_ug.texi gcc/ada/xgnatug.adb gcc/ada/ug_wo
gcc/ada/gnat_ug_vms.texi: gcc/ada/gnat_ug.texi gcc/ada/xgnatug.adb gcc/ada/ug_words
gcc/ada/gnat_ug_vxw.texi: gcc/ada/gnat_ug.texi gcc/ada/xgnatug.adb gcc/ada/ug_words
gcc/ada/gnat_ug_w32.texi: gcc/ada/gnat_ug.texi gcc/ada/xgnatug.adb gcc/ada/ug_words
+# testsuite
+# Without this, _Pragma3.c can have a false negative.
+gcc/testsuite/gcc.dg/cpp/_Pragma3.c: gcc/testsuite/gcc.dg/cpp/mi1c.h
# And libraries, at last
libf2c/configure: libf2c/configure.in
libf2c/libF77/configure: libf2c/libF77/configure.in
diff --git a/contrib/paranoia.cc b/contrib/paranoia.cc
index 694d3d4509b..ad9f8c8fda7 100644
--- a/contrib/paranoia.cc
+++ b/contrib/paranoia.cc
@@ -186,7 +186,7 @@ static int verbose_index = 0;
/* ====================================================================== */
/* The implementation of the abstract floating point class based on gcc's
- real.c. I.e. the object of this excersize. Templated so that we can
+ real.c. I.e. the object of this exercise. Templated so that we can
all fp sizes. */
class real_c_float
diff --git a/contrib/reghunt/ChangeLog b/contrib/reghunt/ChangeLog
index 3b4b78f8b7f..33ba2c7a540 100644
--- a/contrib/reghunt/ChangeLog
+++ b/contrib/reghunt/ChangeLog
@@ -1,5 +1,10 @@
-2003-03-27 Janis Johnson <janis187@us.ibm.com>
+2003-06-24 Janis Johnson <janis187@us.ibm.com>
+ * reg_search: Replace existing uses of DATE with MADE_DATE and
+ use DATE for the date command.
+ * reg_periodic: Ditto.
+
+2003-03-27 Janis Johnson <janis187@us.ibm.com>
* README: New file.
* reg_search: New file.
* reg_periodic: New file.
diff --git a/contrib/reghunt/reg_periodic b/contrib/reghunt/reg_periodic
index 57b86d349ce..4d46cf78d38 100755
--- a/contrib/reghunt/reg_periodic
+++ b/contrib/reghunt/reg_periodic
@@ -55,7 +55,7 @@ msg() {
if [ "x${DATE_IN_MSG}" = "x" ]; then
echo "${2}"
else
- echo "`date` ${2}"
+ echo "`${DATE}` ${2}"
fi
}
@@ -70,7 +70,7 @@ error() {
# control tools and report to the user.
make_date() {
- MADE_DATE="`date -u +\"%Y-%m-%d %H:%M %Z\" --date \"1970-01-01 00:00:${1}\"`" \
+ MADE_DATE="`${DATE} -u +\"%Y-%m-%d %H:%M %Z\" --date \"1970-01-01 00:00:${1}\"`" \
|| error "make_date: date command failed"
}
@@ -79,25 +79,32 @@ make_date() {
# testing; the first one needs it, the others can ignore it if they want.
process_date() {
- DATE="${1}"
+ TEST_DATE="${1}"
- ${REG_UPDATE} "${DATE}"
+ ${REG_UPDATE} "${TEST_DATE}"
if [ $? -ne 0 ]; then
- msg 0 "source update failed for ${DATE}"
+ msg 0 "source update failed for ${TEST_DATE}"
return
fi
- ${REG_BUILD} "${DATE}"
+ ${REG_BUILD} "${TEST_DATE}"
if [ $? -ne 0 ]; then
- msg 0 "build failed for ${DATE}"
+ msg 0 "build failed for ${TEST_DATE}"
return
fi
- ${REG_TEST} "${DATE}"
+ ${REG_TEST} "${TEST_DATE}"
}
########################################################################
# Main program (so to speak)
########################################################################
+# If DATE isn't defined, use the default date command; the configuration
+# file can override this.
+
+if [ "x${DATE}" = "x" ]; then
+ DATE=date
+fi
+
# Process the configuration file.
if [ $# -ne 1 ]; then
@@ -135,9 +142,9 @@ msg 2 "VERBOSITY = ${VERBOSITY}"
# Change the dates into seconds since the epoch. This uses an extension
# in GNU date.
-LOW_DATE=`date +%s --date "${LOW_DATE}"` || \
+LOW_DATE=`${DATE} +%s --date "${LOW_DATE}"` || \
error "date command failed for \"${LOW_DATE}\""
-HIGH_DATE=`date +%s --date "${HIGH_DATE}"` || \
+HIGH_DATE=`${DATE} +%s --date "${HIGH_DATE}"` || \
error "date command failed for \"${LOW_DATE}\""
# Process each date in the range.
diff --git a/contrib/reghunt/reg_search b/contrib/reghunt/reg_search
index 1ca0a5d6517..9452dda8f5f 100755
--- a/contrib/reghunt/reg_search
+++ b/contrib/reghunt/reg_search
@@ -75,7 +75,7 @@ msg() {
if [ "x${DATE_IN_MSG}" = "x" ]; then
echo "${2}"
else
- echo "`date` ${2}"
+ echo "`${DATE}` ${2}"
fi
}
@@ -96,7 +96,7 @@ error() {
# control tools and report to the user.
make_date() {
- MADE_DATE="`date -u +\"%Y-%m-%d %H:%M %Z\" --date \"1970-01-01 00:00:${1}\"`" \
+ MADE_DATE="`${DATE} -u +\"%Y-%m-%d %H:%M %Z\" --date \"1970-01-01 00:00:${1}\"`" \
|| error "make_date: date command failed"
}
@@ -105,15 +105,15 @@ make_date() {
# testing; the first one needs it, the others can ignore it if they want.
process_date() {
- DATE="${1}"
+ TEST_DATE="${1}"
- ${REG_UPDATE} "${DATE}" || error "source update failed for ${DATE}"
+ ${REG_UPDATE} "${TEST_DATE}" || error "source update failed for ${TEST_DATE}"
# If we're already in a valid range, skip this date if there are no
# differences from either end of the range and adjust LATER.
if [ ${VALID_RANGE} = 1 ]; then
- ${HAS_CHANGES} "${DATE}" "${LATER_THAN}" "${EARLIER_THAN}"
+ ${HAS_CHANGES} "${TEST_DATE}" "${LATER_THAN}" "${EARLIER_THAN}"
RET=$?
case ${RET} in
0) ;;
@@ -123,8 +123,8 @@ process_date() {
esac
fi
- ${REG_BUILD} "${DATE}" || error "build failed for ${DATE}"
- ${REG_TEST} "${DATE}"
+ ${REG_BUILD} "${TEST_DATE}" || error "build failed for ${TEST_DATE}"
+ ${REG_TEST} "${TEST_DATE}"
LATER=$?
}
@@ -149,21 +149,21 @@ search_dates() {
while [ ${DIFF} -ge ${DELTA} ]; do
make_date ${MID}
- DATE="${MADE_DATE}"
+ TEST_DATE="${MADE_DATE}"
# Test it.
- process_date "${DATE}"
+ process_date "${TEST_DATE}"
# Narrow the search based on the outcome of testing DATE.
if [ ${LATER} -eq 1 ]; then
- msg 1 "search dates later than \"${DATE}\""
- LATER_THAN="${DATE}"
+ msg 1 "search dates later than \"${TEST_DATE}\""
+ LATER_THAN="${TEST_DATE}"
let LOW=MID
else
- msg 1 "search dates earlier than \"${DATE}\""
- EARLIER_THAN="${DATE}"
+ msg 1 "search dates earlier than \"${TEST_DATE}\""
+ EARLIER_THAN="${TEST_DATE}"
let HIGH=MID
fi
@@ -176,6 +176,13 @@ search_dates() {
# Main program (so to speak)
########################################################################
+# If DATE isn't defined, use the default date command; the configuration
+# file can override this.
+
+if [ "x${DATE}" = "x" ]; then
+ DATE=date
+fi
+
# The error function uses this.
VALID_RANGE=0
@@ -228,15 +235,15 @@ test ${DELTA} -lt 120 && \
# Change the dates into seconds since the epoch. This uses an extension
# in GNU date.
-LOW_DATE=`date +%s --date "${LOW_DATE}"` || \
+LOW_DATE=`${DATE} +%s --date "${LOW_DATE}"` || \
error "date command failed for \"${LOW_DATE}\""
-HIGH_DATE=`date +%s --date "${HIGH_DATE}"` || \
+HIGH_DATE=`${DATE} +%s --date "${HIGH_DATE}"` || \
error "date command failed for \"${LOW_DATE}\""
# If FIRST_MID was defined, convert it and make sure it's in the range.
if [ "x${FIRST_MID}" != "x" ]; then
- FIRST_MID=`date +%s --date "${FIRST_MID}"` || \
+ FIRST_MID=`${DATE} +%s --date "${FIRST_MID}"` || \
error "date command failed for \"${FIRST_MID}\""
test ${FIRST_MID} -le ${LOW_DATE} && \
error "FIRST_MID date is earlier than LOW_DATE"