Re: Fix PR48542: reload register contents reuse crossing setjmp

2011-06-16 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/15/11 21:46, Hans-Peter Nilsson wrote: > A generic bug found in one of the less common targets. The MMIX > port usually saves the return-address from the special-register rJ to > a general call-saved register (helped by get_hard_reg_initial_val)

Re: [testsuite] dg-final object-size: fail if file does not exist

2011-06-16 Thread Janis Johnson
On 06/16/2011 10:08 AM, Joseph S. Myers wrote: > On Thu, 16 Jun 2011, Janis Johnson wrote: > >> Currently the dg-final check "object-size" results in ERROR if the >> assemble failed and the object file does not exist. This patch fails >> the test instead. OK for trunk? > > The set of testcase n

Re: [PATCH] Fix ICEs with -mxop __builtin_ia32_vpermil2p[sd]{,256} and __builtin_ia32_vprot[bwdq]i intrinsics (PR target/49411)

2011-06-16 Thread Quentin Neill
On Thu, Jun 16, 2011 at 3:34 PM, Quentin Neill wrote: > On Wed, Jun 15, 2011 at 11:40 AM, Quentin Neill > wrote: >> On Wed, Jun 15, 2011 at 4:54 AM, Jakub Jelinek wrote: >>> Hi! >>> >>> All of these _mm{,256}_permute2_p[sd] and _mm_roti_epi{8,16,32,64} >>> intrinsics ICE if the last argument is

Re: [Patch, Fortra, Coarray] Free allocated memory for static coarrays.

2011-06-16 Thread Tobias Burnus
Hi Daniel, Daniel Carrera wrote: Have you tested the modifications with MPI? I mean: Compiling mpi.c, and then in gcc/testsuite/gfortran.dg/coarray: Ooops. I compiled and ran the test suite but I forgot to test MPI separately. Seemingly, there was also a bug in the single.c version: + loc

Re: [testsuite] dg-final object-size: fail if file does not exist

2011-06-16 Thread Joseph S. Myers
On Thu, 16 Jun 2011, Janis Johnson wrote: > Currently there are several possible causes for failure in object-size. > Some are errors in the test itself, like the wrong number of arguments, > but some others could be UNRESOLVED instead of ERROR, such as the "size" > command failing or producing un

Re: [PATCH] Fix ICEs with -mxop __builtin_ia32_vpermil2p[sd]{,256} and __builtin_ia32_vprot[bwdq]i intrinsics (PR target/49411)

2011-06-16 Thread Jakub Jelinek
On Thu, Jun 16, 2011 at 05:57:12PM -0500, Quentin Neill wrote: > Does it need to also handle the VCVTP[SH]2P[HS] insns like this? > > diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c > index 675888f..584f722 100644 > --- a/gcc/config/i386/i386.c > +++ b/gcc/config/i386/i386.c > @@ -255

RE: [PATCH, PR 49089] Don't split AVX256 unaligned loads by default on bdver1 and generic

2011-06-16 Thread Fang, Changpeng
Hi, I modify the patch to disable unaligned load splitting only for bdver1 at this moment. Unaligned load splitting degrades CFP2006 by 1.3% in geomean for both -mtune=bdver1 and -mtune=generic on Bulldozer. However, we agree with H.J's suggestion to determine the optimal optimization sets fo

Re: [testsuite] dg-final object-size: fail if file does not exist

2011-06-16 Thread Janis Johnson
On 06/16/2011 04:18 PM, Joseph S. Myers wrote: > On Thu, 16 Jun 2011, Janis Johnson wrote: > >> Currently there are several possible causes for failure in object-size. >> Some are errors in the test itself, like the wrong number of arguments, >> but some others could be UNRESOLVED instead of ERROR

Re: [PATCH, PR 49089] Don't split AVX256 unaligned loads by default on bdver1 and generic

2011-06-16 Thread H.J. Lu
On Thu, Jun 16, 2011 at 4:54 PM, Fang, Changpeng wrote: > Hi, > >  I modify the patch to disable unaligned load splitting only for bdver1 at > this moment. > Unaligned load splitting degrades CFP2006 by 1.3% in geomean for both > -mtune=bdver1 and > -mtune=generic on Bulldozer. However, we agree

Re: RFC: Backport deep-copy assignment for constructors (PR 49324)

2011-06-16 Thread jerry DeLisle
On 06/16/2011 12:22 AM, Tobias Burnus wrote: Hi all, if the RHS is an array constructor, gfortran didn't deep copy allocatable components. That was fixed for the trunk by the patch at http://gcc.gnu.org/ml/fortran/2011-06/msg00095.html The wrong-code issue is not a regression and code leadin

[testsuite] scan-dump variants to use 'unresolved' for missing dump file

2011-06-16 Thread Janis Johnson
Currently, scan-dump variants treat a missing dump file as a failure and append ": dump file does not exist" to the test message that would be used with pass or fail. This patch treats it as unresolved instead, using the same test message as for pass/fail and reporting the reason in the log file.

[PATCH]: Pass -no_pie on SYSTEMSPEC for darwin11

2011-06-16 Thread Jack Howarth
The gcj compiler needs to pass -no_pie for linkage on darwin11 due to the new -pie default of the linker. The attached patch accomplishes this by passing -no_pie on SYSTEMSPEC for *-*-darwin[12]*. Since Darwin10 supports -no_pie in its linker, I included it in the triplet match to simplify the

[google/integration] Support arm-grtev2-linux-*eabi (issue4628043)

2011-06-16 Thread Chris Demetriou
Diego and/or Ollie, This patch adds support for the arm-grtev2-linux-gnueabi configuration. This is like the x86 linux config of similar 'vendor': * it plays some spec games to support easier use of static NSS configuration, and * it adds RUNTIME_ROOT_PREFIX support to the dynamic loader path

avx2 branch is created

2011-06-16 Thread H.J. Lu
Hi, I created avx2 branch to implement AVX Programming Reference (June, 2011): http://software.intel.com/en-us/avx/ and checked in the initial implementation: http://gcc.gnu.org/ml/gcc-cvs/2011-06/msg00626.html Jason, can you add it to git mirror? Thanks. -- H.J.

<    1   2