Re: [Driver] Add support for -fuse-ld=lld

2016-07-03 Thread Davide Italiano
On Thu, Jun 23, 2016 at 9:11 PM, Davide Italiano wrote: > + HJ who wrote the code for the option originally. > > On Thu, Jun 23, 2016 at 9:01 PM, Davide Italiano > wrote: >> LLVM currently ships with a new ELF linker http://lld.llvm.org/. >> I experiment a lot with gcc and lld so it would be nic

Re: [PATCH] doc fix for c/71560 - union compound literal initializes wrong union field

2016-07-03 Thread Sandra Loosemore
On 07/01/2016 05:56 PM, Martin Sebor wrote: The bug points out a couple of conformance problems in the GCC manual where is discusses compound literals and casts to unions and says that a compound literal is equivalent to a cast. It isn't because a compound literal is an lvalue but a cast yields

Ping: [Re: [PATCH, fortran, v4] Use Levenshtein spelling suggestions in Fortran FE]

2016-07-03 Thread Bernhard Reutner-Fischer
Ping On June 18, 2016 9:58:47 PM GMT+02:00, Bernhard Reutner-Fischer wrote: >Hi, > >Ok for trunk? > >Changes for v4 -> v3: > >- rebased >- Use 4 argument levenshtein_distance() to save multiple strlen(typo) > calls as suggested by dmalcolm > >Changes for v2 -> v3: > >- rebased > >Changes for v1

Re: [PATCH] Allow fwprop to undo vectorization harm (PR68961)

2016-07-03 Thread Richard Sandiford
Richard Biener writes: > On Wed, 15 Jun 2016, Richard Sandiford wrote: > >> Richard Biener writes: >> > With the proposed cost change for vector construction we will end up >> > vectorizing the testcase in PR68961 again (on x86_64 and likely >> > on ppc64le as well after that target gets adjustme

Re: [6/7] Explicitly classify vector loads and stores

2016-07-03 Thread Richard Sandiford
Richard Biener writes: > On Wed, Jun 15, 2016 at 10:52 AM, Richard Sandiford > wrote: >> This is the main patch in the series. It adds a new enum and routines >> for classifying a vector load or store implementation. >> >> Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install? > > Why

Re: [PATCH] simplify-rtx.c: start adding selftests

2016-07-03 Thread Richard Sandiford
David Malcolm writes: > This patch starts adding selftests to simplify-rtx.c, to ensure that > RTL expressions are simplified as we expect. > > It adds a new ASSERT_RTX_EQ macro that checks for pointer equality > of two rtx values. If they're non-equal, it aborts, printing both > expressions. Th

Re: [PATCH PR70729] The second part of patch.

2016-07-03 Thread H.J. Lu
On Sun, Jul 3, 2016 at 9:16 AM, Jakub Jelinek wrote: > On Sun, Jul 03, 2016 at 08:56:44AM -0700, H.J. Lu wrote: >> --- /dev/null >> +++ b/libgomp/testsuite/libgomp.fortran/pr71734-1.f90 >> @@ -0,0 +1,110 @@ >> +! { dg-do run { target avx_runtime } } >> +! { dg-additional-options "-msse2" } >> +! T

Re: [PATCH PR70729] The second part of patch.

2016-07-03 Thread Jakub Jelinek
On Sun, Jul 03, 2016 at 08:56:44AM -0700, H.J. Lu wrote: > --- /dev/null > +++ b/libgomp/testsuite/libgomp.fortran/pr71734-1.f90 > @@ -0,0 +1,110 @@ > +! { dg-do run { target avx_runtime } } > +! { dg-additional-options "-msse2" } > +! The same as simd3.f90, but compiled with -msse2. we run it onl

libiberty - Segmentation fault when attempting to delete a non-existent element in a hash table

2016-07-03 Thread rocco
Hello people, the attached C-program can be used to reproduce a segmentation fault found in libliberty/hashtab.c I am using a libiberty tar-gzipped source version found in a recent Debian Archive File (libiberty_20160215.tar.xz) where the first entry in ChangeLog is: * 2016-01-27 Iain Buclaw

Re: [PATCH PR70729] The second part of patch.

2016-07-03 Thread H.J. Lu
On Fri, Jul 1, 2016 at 2:31 PM, H.J. Lu wrote: > On Thu, Jun 30, 2016 at 7:51 AM, Yuri Rumyantsev wrote: >> Richard, >> >> Could you please review additional simple fix for 70729 - we need to >> nullify safelen field of loops containing simduid intrinsics like >> GOMP_SIMD_LANE (introduced e.g.

[PATCH] Add missing OBJCOPY variable to Makefile.in

2016-07-03 Thread JonY
This patch allows OBJCOPY to be set by configure. It was missing in Makefile.in. Patch OK? From c7b2b18116cd0ba73ff585299b5190a05e267d3f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 26 Mar 2016 12:32:18 +0100 Subject: [PATCH] Add missing OBJCOPY variable to Makefile.in Signed-off-b

Re: Determine more IVs to be non-overflowing

2016-07-03 Thread Jan Hubicka
Hi, this is updated version of patch. I finally convinced myself to read bit of wide-int.h and learnt some new things, like that they exists in multiple precisions. I always tought of wide-int as wider version of HOST_WIDE_INT that can hold all of target data types with not-so handy API because it