Re: [PATCH] gold: Use autotools pthread macro

2018-02-19 Thread Ben Elliston
On Mon, Feb 19, 2018 at 12:39:47PM -0800, Cary Coutant wrote:

> I've added config-patches to the conversation, so I'm hoping that
> was sufficient to get that going. Once added in the GCC tree, I
> think one can either wait for an automatic sync, or go ahead and
> submit a patch to do the sync (but I'm not completely versed on how
> the shared directories really operate).

config-patches has nothing to do with the GCC config/ directory. It is
the place to send patches for config.{guess,sub}. Taking if off the
cc: line.

Ben


signature.asc
Description: PGP signature


update config.guess/sub

2018-01-02 Thread Ben Elliston
It's a new year, time to update these scripts.

Ben


2018-01-03  Ben Elliston  <b...@gnu.org>

* config.guess: Import latest version.
* config.sub: Likewise.

Index: config.guess
===
--- config.guess(revision 256121)
+++ config.guess(working copy)
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2017 Free Software Foundation, Inc.
+#   Copyright 1992-2018 Free Software Foundation, Inc.
 
-timestamp='2017-03-05'
+timestamp='2018-01-01'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
 # General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, see <http://www.gnu.org/licenses/>.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -27,7 +27,7 @@
 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
 #
 # You can get the latest version of this script from:
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
+# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
 #
 # Please send patches to <config-patc...@gnu.org>.
 
@@ -39,7 +39,7 @@
 
 Output the configuration name of the system \`$me' is run on.
 
-Operation modes:
+Options:
   -h, --help print this help, then exit
   -t, --time-stamp   print date of last modification, then exit
   -v, --version  print version number, then exit
@@ -50,7 +50,7 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright 1992-2017 Free Software Foundation, Inc.
+Copyright 1992-2018 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -244,6 +244,9 @@
UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
exit ;;
+*:MidnightBSD:*:*)
+   echo ${UNAME_MACHINE}-unknown-midnightbsd${UNAME_RELEASE}
+   exit ;;
 *:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
exit ;;
@@ -259,6 +262,12 @@
 *:Sortix:*:*)
echo ${UNAME_MACHINE}-unknown-sortix
exit ;;
+*:Redox:*:*)
+   echo ${UNAME_MACHINE}-unknown-redox
+   exit ;;
+mips:OSF1:*.*)
+echo mips-dec-osf1
+exit ;;
 alpha:OSF1:*:*)
case $UNAME_RELEASE in
*4.0)
@@ -315,15 +324,6 @@
exitcode=$?
trap '' 0
exit $exitcode ;;
-Alpha\ *:Windows_NT*:*)
-   # How do we know it's Interix rather than the generic POSIX subsystem?
-   # Should we change UNAME_MACHINE based on the output of uname instead
-   # of the specific Alpha model?
-   echo alpha-pc-interix
-   exit ;;
-21064:Windows_NT:50:3)
-   echo alpha-dec-winnt3.5
-   exit ;;
 Amiga*:UNIX_System_V:4.0:*)
echo m68k-unknown-sysv4
exit ;;
@@ -485,13 +485,13 @@
 #endif
#if defined (host_mips) && defined (MIPSEB)
#if defined (SYSTYPE_SYSV)
- printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_SVR4)
- printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
- printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
#endif
#endif
  exit (-1);
@@ -614,7 +614,7 @@
 *:AIX:*:*)
echo rs6000-ibm-aix
exit ;;
-ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
echo romp-ibm-bsd4.4
exit ;;
 ibmrt:*BSD:*|romp-ibm:BSD:*)# covers RT/PC BSD and
@@ -635,8 +635,8 @@
 9000/[34678]??:HP-UX:*:*)
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
case "${UNAME_MACHINE}" in
-   9000/31? )HP_ARCH=m68000 ;;
-   9000/[34]?? ) HP_ARCH=m68k ;;
+   9000/31?)HP_ARCH=m68000 ;;
+   9000/[34]??) HP_ARCH=m68k ;;
9000/[678][0-9][0-9])
if [ -x /usr/bin/getconf ]; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
@@ -749,7 +749,7 @@
{ echo "$SYSTEM_NAME"; exit; }
 

Re: [PATCH] Fix comparison of decimal float zeroes (PR80692)

2017-05-17 Thread Ben Elliston
On Wed, May 17, 2017 at 06:36:38PM +, Segher Boessenkool wrote:

> 2017-05-17  Segher Boessenkool  
> 
>   PR middle-end/80692
>   * real.c (do_compare): Give decimal_do_compare preference over
>   comparing just the signs.
> 
> gcc/testsuite/
>   PR middle-end/80692
>   * gcc.c-torture/execute/pr80692.c: New testcase.

OK, thanks.

Cheers,
Ben


signature.asc
Description: Digital signature


Re: [PATCH 1/9] New target 16-bit Intel x86

2017-04-01 Thread Ben Elliston
On Sat, Apr 01, 2017 at 05:47:46PM +0100, Andrew Jenner wrote:

> 2017-04-01  Andrew Jenner  
>   Rask Ingemann Lambertsen  
> 
>   * config.sub: Add support for 16-bit Intel x86.

Applied, thanks.

Ben


signature.asc
Description: Digital signature


Re: [PATCH] Environment variables forwarding

2014-03-26 Thread Ben Elliston
On Thu, Mar 27, 2014 at 09:56:22AM +0400, Yury Gribov wrote:

 Now what bothers me is zero feedback from Dejagnu folks...

Come on, it's only been a couple of days. :-)

Ben


signature.asc
Description: Digital signature


Re: wide-int, dfp

2013-11-23 Thread Ben Elliston
On Sat, Nov 23, 2013 at 11:21:10AM -0800, Mike Stump wrote:

   * dfp.c: Include wide-int.h.
   (decimal_real_to_integer2): Use wide-int interfaces and rename to
   decimal_real_to_integer.
   * dfp.h
   (decimal_real_to_integer2): Return a wide_int and rename to
   decimal_real_to_integer.

OK.

Thanks,
Ben


signature.asc
Description: Digital signature


Re: Fwd: Ping: [PATCH] Set $ac_aux_dir before use in libdecnumber/configure

2013-07-08 Thread Ben Elliston
This is fine, thanks.

Ben


signature.asc
Description: Digital signature


Re: [PATCH] gfortran testsuite: implicitly cleanup-modules

2013-06-10 Thread Ben Elliston
Hi Bernhard,

 Would you accept something like the patch in the message below into dejagnu?
 http://gcc.gnu.org/ml/fortran/2012-03/msg00094.html

Yes, I'm happy to fix this limitation.  However, your patch isn't
complete .. you need to update the documentation, testsuite, etc.
Please send a revised patch to deja...@gnu.org and I'll review it.

Cheers, Ben


signature.asc
Description: Digital signature


Re: Ping: unreviewed copyright patches

2013-02-04 Thread Ben Elliston
On Mon, Feb 04, 2013 at 06:59:38PM +, Richard Sandiford wrote:

 These days the guideline encourage updating all files, even ones
 that haven't changed, so I was hoping we could do that gcc-wide.

If that is what the guidelines say, then I will not object.  I am just
a bit surprised that you can claim copyright for a year in which the
file is not modified.

Cheers, Ben


signature.asc
Description: Digital signature


Re: Ping: unreviewed copyright patches

2013-02-04 Thread Ben Elliston
On Mon, Feb 04, 2013 at 12:12:14PM -0800, Bruce Korb wrote:

 If you update a chapter, the book copyright date is updated.  Makes more sense
 to me.

OK. That's fine with me, then.

Cheers, Ben

-- 
These man-made problems have man-made solutions. Unfortunately, the
 men and women needed to solve them are all politicians. -- Peter Hartcher


signature.asc
Description: Digital signature


Re: Ping: unreviewed copyright patches

2013-02-03 Thread Ben Elliston
On Sun, Feb 03, 2013 at 10:19:47AM +, Richard Sandiford wrote:

   libdecnumber copyright
   http://gcc.gnu.org/ml/gcc-patches/2013-01/msg00647.html

I've refreshed my memory on the use of year ranges in the copyright
notice (http://www.gnu.org/licenses/gpl-howto.html).  Looking at the
ChangeLog, I think it's reasonable to assert copyright for 2005-2011,
but not 2012 or 2013.

I am happy with the change if the copyright is updated from
(firstyear-for-the-file) to 2011.

Cheers, Ben


signature.asc
Description: Digital signature


config.{guess,sub} upgrade

2012-12-29 Thread Ben Elliston
Hi all.

I have just upgraded the trunk copies of config.{guess,sub} to today's
master revisions.  These files are now licensed under GPLv3.

Cheers,
Ben


signature.asc
Description: Digital signature


Re: PATCH: Add x32 support to config.guess

2012-08-18 Thread Ben Elliston
On Thu, Aug 16, 2012 at 10:26:48AM -0700, H.J. Lu wrote:

 GCC on Linux/x86-64 may be configured for x32:
 https://sites.google.com/site/x32abi/
 by default and the Linux/x32 target should be x86_64-VENDOR-linux-gnux32.
 This patch adds x32 support to config.guess.  OK to install?

 + eval $set_cc_for_build

I am working to eliminate the use of $set_cc_for_build and am not
really willing to accept any new patches which make this further
entrenched.  Can you please find another way?

Thanks,
Ben


signature.asc
Description: Digital signature


Re: [PATCH] Fix dfp issue with dconst{1,2,m1,half} (PR debug/48928)

2011-05-09 Thread Ben Elliston
On Mon, May 09, 2011 at 09:11:59PM +0200, Jakub Jelinek wrote:

 Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

OK, thanks!

Cheers,
Ben

-- 
These man-made problems have man-made solutions. Unfortunately, the
 men and women needed to solve them are all politicians. -- Peter Hartcher


signature.asc
Description: Digital signature