[patch] Fix PR tree-optimization/50014

2011-08-09 Thread Ira Rosen
Hi, In vectorization of reduction we use a dummy def_type when getting a copy of a vector operand. Therefore, instead of just using a constant operand from a previous copy, we try to create a copy of it, causing the failure. This patch adds a call to vect_is_simple_use () to get a correct

Re: [RFC PATCH, i386]: Allow zero_extended addresses (+ problems with reload and offsetable address, o constraint)

2011-08-09 Thread Uros Bizjak
On Mon, Aug 8, 2011 at 7:11 PM, Uros Bizjak ubiz...@gmail.com wrote: Moves are special as far as reload is concerned.  If there is already a move instruction present *before* reload, it will get fixed up according to its constraints as any other instruction. However, reload will *introduce*

Re: Dump stats about hottest hash tables when -fmem-report

2011-08-09 Thread Dimitrios Apostolou
I forgot to include the dwarf2out.c:file_table. Stats are printed when -g. See attached patch. Additional Changelog: * dwarf2out.c (dwarf2out_finish): Call htab_dump_statistics() if -fmem-report. Dimitris === modified file 'gcc/dwarf2out.c' --- gcc/dwarf2out.c 2011-06-06

Re: [PATCH, i386]: Expand round(a) as sgn(a) * floor(fabs(a) + 0.5) for x87 math

2011-08-09 Thread Richard Guenther
On Mon, 8 Aug 2011, Uros Bizjak wrote: Hello! One notable omission from x87 rounding sequences is plain round(), since x87 does not support round-to-nearest, away-from-zero directly. However, this function can be synthesized as round(a) = sgn(a) * floor(fabs(a) + 0.5). Fortunately, we have

Re: [PATCH, i386]: Expand round(a) as sgn(a) * floor(fabs(a) + 0.5) for x87 math

2011-08-09 Thread Uros Bizjak
On Tue, Aug 9, 2011 at 10:21 AM, Richard Guenther rguent...@suse.de wrote: One notable omission from x87 rounding sequences is plain round(), since x87 does not support round-to-nearest, away-from-zero directly. However, this function can be synthesized as round(a) = sgn(a) * floor(fabs(a) +

[java, libjava] Allow C++ compilation with Solaris headers

2011-08-09 Thread Rainer Orth
While testing the patches to finally fix PR libstdc++-v3/1773__cplusplus defined to 1, should be 199711L I came across two build failures when testing on i386-pc-solaris2.11: /vol/gcc/src/hg/trunk/solaris/gcc/java/jcf-dump.c: In function 'void print_constant(std::FILE*, JCF*, int, int)':

[fixincludes] Allow properly defining __cplusplus with Solaris headers (PR libstdc++-v3/1773)

2011-08-09 Thread Rainer Orth
Work is currently underway to finally fix PR libstdc++-v3/1773__cplusplus defined to 1, should be 199711L which hadn't been handled before because libstdc++ couldn't cope with the (partial) C++ overloads in Solaris headers. I started with Marc's patches from the PR (thanks!), cleaned them

[c++] Keep tm, div_t, ldiv_t, lconv mangling on Solaris (PR libstdc++-v3/1773)

2011-08-09 Thread Rainer Orth
While checking how to fix PR libstdc++-v3/1773__cplusplus defined to 1, should be 199711L it was discovered that without countermeasures, changing __cplusplus from 1 to 199711L breaks the Solaris ABI by moving tm from the global namespace to std, among others, e.g.

[v3] Use Solaris prototypes if possible (PR libstdc++-v3/1773)

2011-08-09 Thread Rainer Orth
This patch is the last but one in the series to finally fix PR libstdc++-v3/1773__cplusplus defined to 1, should be 199711L Again, this is almost completely Marc's work. I've only added the ChangeLog entry and fixed an issue found during Solaris 8 testing: iso/math_iso.h only declares

Re: [C++0x] contiguous bitfields race implementation

2011-08-09 Thread Richard Guenther
On Fri, Aug 5, 2011 at 7:25 PM, Aldy Hernandez al...@redhat.com wrote: Alright, I'm back and bearing patches.  Firmly ready for the crucifixion you will likely submit me to. :) I've pretty much rewritten everything, taking into account all your suggestions, and adding a handful of tests for

[libcpp] Correctly define __cplusplus (PR libstdc++-v3/1773)

2011-08-09 Thread Rainer Orth
This patch achieves what all the previous ones have prepared: finally defining __cplusplus correctly instead of the current 1. I'm uncertain if it's already appropriate to define the C++ 2011 value yet, but I've kept it in the patch. Of course this patch can only go in once all the prerequisite

Commit: RX: Disable extender peepholes at -O3

2011-08-09 Thread Nick Clifton
Hi Guys, I am checking in the patch below to the mainline and 4.6 branch. It disables the peephole optimizations in the rx.md file that combine a load followed by a zero- or sign- extend operation. The disabling only happens at -O3 (or higher) as although the peepholes reduce the

PING Re: [Patch 0/4] ARM 64 bit sync atomic operations [V2]

2011-08-09 Thread David Gilbert
Other than Ramana's comment about my comment on 4/4, has anyone else got any other input? Otherwise I'd like to fix that comment and then get it in. Dave On 26 July 2011 09:59, Dr. David Alan Gilbert david.gilb...@linaro.org wrote: Hi,  This is V2 of a series of 4 patches relating to ARM

RE: Commit: RX: Disable extender peepholes at -O3

2011-08-09 Thread Paul_Koning
I am checking in the patch below to the mainline and 4.6 branch. It disables the peephole optimizations in the rx.md file that combine a load followed by a zero- or sign- extend operation. The disabling only happens at -O3 (or higher) as although the peepholes reduce the number of

Re: [patch tree-optimization]: Fix for PR/49806

2011-08-09 Thread Kai Tietz
Ups missed to update patch before sending it. Inlined tested patch. Kai Index: gcc/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c === --- gcc.orig/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c +++ gcc/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c @@ -4,8

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Kirill Yukhin
Hi, here is patch for fixing FMA typo + bunch of traling spaces removed. Changelog entry: 2011-08-09 Kirill Yukhin kirill.yuk...@intel.com * config/i386/i386.c: Remove traling spaces. * config/i386/sse.md: Likewise. (*fma_fmadd_mode): Update.

Re: Commit: RX: Disable extender peepholes at -O3

2011-08-09 Thread Nick Clifton
Hi Paul, It disables the peephole optimizations in the rx.md file that combine a load followed by a zero- or sign- extend operation. The disabling only happens at -O3 (or higher) as although the peepholes reduce the number of instructions they can introduce pipeline stalls that

Re: Merge alignments from coalesced SSA pointers

2011-08-09 Thread Michael Matz
Hi, On Mon, 8 Aug 2011, Ulrich Weigand wrote: This patch exposes a problem in libada. But I'd still be interested if it fixes the spu problem. It turns out that the patch not only fixes the pr49771 failure, but in fact *all* outstanding vectorizer test case failures on SPU in both

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Uros Bizjak
On Tue, Aug 9, 2011 at 1:00 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: here is patch for fixing FMA typo + bunch of traling spaces removed. Changelog entry: 2011-08-09  Kirill Yukhin  kirill.yuk...@intel.com        * config/i386/i386.c: Remove traling spaces.        *

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Kirill Yukhin
How was the patch tested? On the simulator? Actually, the problem is not catched by testing. I found one when runnning Spec 2006 under simulator. With the patched Spec 2006 suite seems to work OK Could anybody with `waa` commit it? Patch is OK and committed to mainline. Thanks, Uros.

Re: [patch] fix bootstrap in libgcc for PowerPC FreeBSD

2011-08-09 Thread Rainer Orth
Hi Andreas, the patch below survives bootstrap stage-1 on PowerPC FreeBSD successfully. W/o patch we try to fliter-out ibm-ldouble.c. So from my understanding the pattern ibm-ldouble.c does never match since there is a path prepended to the file name. With the patch we look for everything

Re: [build] Move gthr to toplevel libgcc

2011-08-09 Thread Rainer Orth
Hans-Peter Nilsson h...@bitrange.com writes: On Mon, 8 Aug 2011, Rainer Orth wrote: * SUPPORTS_WEAK is probably best detected with autoconf. We have libgfortran/acinclude.m4 (LIBGFOR_GTHREAD_WEAK), but should probably go for m4/ax_sys_weak_alias.m4 from the autoconf-archive instead. If

Re: [PATCH] Extend VRP BIT_IOR_EXPR to handle sign-bit

2011-08-09 Thread Richard Guenther
On Mon, 8 Aug 2011, Richard Guenther wrote: On Mon, 8 Aug 2011, Richard Guenther wrote: On Fri, 5 Aug 2011, Paolo Bonzini wrote: On 08/05/2011 01:04 PM, Richard Guenther wrote: (I believe that's the only bit we know sth about when both vr.min and vr.max are negative).

Re: [PATCH] Extend VRP BIT_IOR_EXPR to handle sign-bit

2011-08-09 Thread Jay Foad
On 9 August 2011 13:23, Richard Guenther rguent...@suse.de wrote: 2011-08-08  Richard Guenther  rguent...@suse.de        * tree-vrp.c (zero_nonzero_bits_from_vr): Also return precise        information for with only negative values. for *ranges* with ? Jay.

Re: [build] Move unwinder to toplevel libgcc (v2)

2011-08-09 Thread Rainer Orth
Paolo Bonzini bonz...@gnu.org writes: On 08/06/2011 05:07 PM, Mikael Morin wrote: On Saturday 06 August 2011 16:31:48 Paolo Bonzini wrote: Can you try this instead? It works. Thanks Committed, thanks. Thanks for fixing this. Rainer --

Re: [build] Move unwinder to toplevel libgcc (v2)

2011-08-09 Thread Rainer Orth
Andreas Schwab sch...@linux-m68k.org writes: It's already fixed, 'twas the missing ldflags. I see, so I wasn't the only victim :-) Thanks. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld

Re: [build] Move unwinder to toplevel libgcc (v2)

2011-08-09 Thread Rainer Orth
Richard Sandiford rdsandif...@googlemail.com writes: Rainer Orth r...@cebitec.uni-bielefeld.de writes: * config.host (unwind_header): New variable. (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip. (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*):

Re: [build] Move unwinder to toplevel libgcc (v2)

2011-08-09 Thread Andreas Schwab
Rainer Orth r...@cebitec.uni-bielefeld.de writes: Andreas Schwab sch...@linux-m68k.org writes: It's already fixed, 'twas the missing ldflags. I see, so I wasn't the only victim :-) Unfortunately it didn't really fix it, the undefined symbol is still present in libgcc_s.so. I'll experiment

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Kirill Yukhin
Hi, Here is second stage patch. It introduces AVX2 option, define etc. ChangeLog entry: 2011-08-09 Kirill Yukhin kirill.yuk...@intel.com * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX2_SET): New. (OPTION_MASK_ISA_FMA_UNSET): Update.

Re: [fixincludes] Allow properly defining __cplusplus with Solaris headers (PR libstdc++-v3/1773)

2011-08-09 Thread Bruce Korb
On Tue, Aug 9, 2011 at 2:35 AM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: Ok for mainline (no point in backporting to release branches since this will never be used)? Hi Rainer, never be used? OK. Looks good to me. Cheers - Bruce

Re: [fixincludes] Allow properly defining __cplusplus with Solaris headers (PR libstdc++-v3/1773)

2011-08-09 Thread Rainer Orth
Hi Bruce, On Tue, Aug 9, 2011 at 2:35 AM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: Ok for mainline (no point in backporting to release branches since this will never be used)? Hi Rainer, never be used? OK. Looks good to me. Cheers - Bruce I doubt anyone would consider

Re: [libcpp] Correctly define __cplusplus (PR libstdc++-v3/1773)

2011-08-09 Thread Marc Glisse
On Tue, 9 Aug 2011, Rainer Orth wrote: This patch achieves what all the previous ones have prepared: finally defining __cplusplus correctly instead of the current 1. I'm uncertain if it's already appropriate to define the C++ 2011 value yet, but I've kept it in the patch. Hello, I don't

Re: [PATCH] Fix PR47566

2011-08-09 Thread Ulrich Weigand
Richard Guenther wrote: On Mon, 8 Aug 2011, Ulrich Weigand wrote: OK, so what about the following version? This keeps not linking against libm so it will fail if cabs is not folded. On the other hand, it will provide a dummy implementation of sqrt to avoid failure simply because sqrt is

[commit, testsuite] Require pthread effective target for pr49948.c

2011-08-09 Thread Ulrich Weigand
Hello, the gcc.dg/pr49948.c test uses -ftree-parallelize-loops, and therefore can only run on targets supporting threads. All other similar tests carry a dg-require-effective-target pthread marker, but it is missing here. This causes failures on (e.g.) spu-elf. The patch below adds the

Re: Dump stats about hottest hash tables when -fmem-report

2011-08-09 Thread Richard Guenther
On Tue, Aug 9, 2011 at 3:18 PM, Tom Tromey tro...@redhat.com wrote: Dimitrios == Dimitrios Apostolou ji...@gmx.net writes: Dimitrios 2011-08-09  Dimitrios Apostolou  ji...@gmx.net [...] Dimitrios      * symtab.c (ht_dump_statistics): Beautified stats output. Make sure the ChangeLog entries

[commit, testsuite] Skip gfortran.dg/scratch_1.f90 on SPU

2011-08-09 Thread Ulrich Weigand
Hello, the gfortran.dg/scratch_1.f90 fails on SPU because the library allocates data structures that exceed the available local store size of 256KB. Like already done in similar cases, the patch below skips the test on the spu-*-* platform. Tested on spu-elf, committed to mainline. Bye, Ulrich

Re: [PATCH] Extend VRP BIT_IOR_EXPR to handle sign-bit

2011-08-09 Thread Michael Matz
Hi, On Tue, 9 Aug 2011, Richard Guenther wrote: Actually we should adjust the ranges only if it's either all positive or negative values from the start and the adjustment keeps us on the same side of zero. So we kept discussing this to death somewhat. Which eventually resulted in

Re: PING: PATCH: PR target/46770: Use .init_array/.fini_array sections

2011-08-09 Thread H.J. Lu
PING. On Sat, Aug 6, 2011 at 7:40 AM, H.J. Lu hjl.to...@gmail.com wrote: PING. On Fri, Jul 22, 2011 at 7:06 AM, H.J. Lu hjl.to...@gmail.com wrote: On Fri, Jul 22, 2011 at 7:00 AM, H.J. Lu hjl.to...@gmail.com wrote: On Fri, Jul 22, 2011 at 6:03 AM, H.J. Lu hjl.to...@gmail.com wrote: On Fri,

[PING] [PATCH] Fix PR49907

2011-08-09 Thread Richard Guenther
On Mon, 1 Aug 2011, Richard Guenther wrote: This fixes PR49907 - ok for trunk? Ping. Thanks, Richard. Thanks, Richard. 2011-08-01 Richard Guenther rguent...@suse.de PR bootstrap/49907 lto-plugin/ * configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall

Re: [build] Move unwinder to toplevel libgcc (v2)

2011-08-09 Thread Andreas Schwab
The definition of LIB2ADDEH from ia64/t-glibc is supposed to prevail. I've verified that the resulting libgcc_s.so aggrees with the one produced by the 4.6 branch. Checked in as obvious. Andreas. 2011-08-09 Andreas Schwab sch...@linux-m68k.org * config.host (ia64*-*-linux*): Move

Re: [build] Move unwinder to toplevel libgcc (v2)

2011-08-09 Thread Rainer Orth
Andreas, The definition of LIB2ADDEH from ia64/t-glibc is supposed to prevail. I've verified that the resulting libgcc_s.so aggrees with the one produced by the 4.6 branch. Checked in as obvious. in that case, ia64/t-eh-ia64 should be removed since it's overridden completely and only serves

Re: patch to fix PR49990

2011-08-09 Thread Vladimir Makarov
On 08/08/2011 10:35 PM, H.J. Lu wrote: On Mon, Aug 8, 2011 at 4:19 PM, Vladimir Makarovvmaka...@redhat.com wrote: The following patch fixes PR49990. The problem is described on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49936 Reg classes which can not change modes for some pseudo were

Re: patch to fix PR49990

2011-08-09 Thread H.J. Lu
On Tue, Aug 9, 2011 at 7:37 AM, Vladimir Makarov vmaka...@redhat.com wrote: On 08/08/2011 10:35 PM, H.J. Lu wrote: On Mon, Aug 8, 2011 at 4:19 PM, Vladimir Makarovvmaka...@redhat.com  wrote: The following patch fixes PR49990.  The problem is described on

[PATCH] Fix PR49937

2011-08-09 Thread Richard Guenther
This fixes PR49937 - callers of get_{pointer,object}_alignment probably should not use BIGGEST_ALIGNMENT to limit what these functions return (why do they do that? Maybe because formerly the routines returned TYPE_ALIGN? But why wasn't that bound by BIGGEST_ALIGNMENT?) - some targets define

Re: [patch, ia64] Fix unaligned accesses on IA64 from dwarf2out.c

2011-08-09 Thread Richard Henderson
On 08/08/2011 03:22 PM, Steve Ellcey wrote: Oh, so after I declare md5, I call md5_finish_ctx like: md5_finish_ctx (md5.ctx, md5.checksum); Is that what you are proposing? It seems a bit odd to put checksum in a a structure with ctx just to guarantee its alignment and not to pass

Re: [PING] [PATCH] Fix PR49907

2011-08-09 Thread Paolo Bonzini
On 08/09/2011 04:22 PM, Richard Guenther wrote: This fixes PR49907 - ok for trunk? Ping. Thanks, Richard. Ok. Paolo

Re: [build] Move sync, mips16.S to toplevel libgcc

2011-08-09 Thread Paolo Bonzini
On 08/09/2011 02:14 PM, Rainer Orth wrote: OK for the MIPS parts. Paolo, are you ok with the build parts? Yes. Paolo

Re: [RFC PATCH, i386]: Allow zero_extended addresses (+ problems with reload and offsetable address, o constraint)

2011-08-09 Thread H.J. Lu
On Tue, Aug 9, 2011 at 12:40 AM, Uros Bizjak ubiz...@gmail.com wrote: On Mon, Aug 8, 2011 at 7:11 PM, Uros Bizjak ubiz...@gmail.com wrote: Moves are special as far as reload is concerned.  If there is already a move instruction present *before* reload, it will get fixed up according to its

Fwd: Re: [C++0x] contiguous bitfields race implementation

2011-08-09 Thread Aldy Hernandez
Andrew's mail to gcc-patches keeps bouncing. Trying on his behalf. Original Message Subject:Re: [C++0x] contiguous bitfields race implementation Date: Tue, 09 Aug 2011 09:49:51 -0400 From: Andrew MacLeod amacl...@redhat.com To: Richard Guenther

Re: patch to fix PR49990

2011-08-09 Thread Vladimir Makarov
On 08/09/2011 10:50 AM, H.J. Lu wrote: On Tue, Aug 9, 2011 at 7:37 AM, Vladimir Makarovvmaka...@redhat.com wrote: On 08/08/2011 10:35 PM, H.J. Lu wrote: On Mon, Aug 8, 2011 at 4:19 PM, Vladimir Makarovvmaka...@redhat.com wrote: The following patch fixes PR49990. The problem is described

Re: Dump stats about hottest hash tables when -fmem-report

2011-08-09 Thread Tom Tromey
Richard == Richard Guenther richard.guent...@gmail.com writes: The libcpp part is ok with this change. Richard Note that sparsely populated hashes come at the cost of increased Richard cache footprint. Not sure what is more important here though, memory Richard access or hash computation. I

Re: [PATCH] [JAVA] Double.parseDouble(null) throw NullPointerException

2011-08-09 Thread Jie Liu
Hi Tom, RTEMS does not have virtual memory management, so there is no error when access the 0 address on rtems. So 'str-length()' donot throw NPE and just return an meaningless value. Ps: There is a test: http://code.google.com/p/rtemsgcj/source/browse/trunk/algorithm/20110810NPE/?r=127, npe.c

Re: [java, libjava] Allow C++ compilation with Solaris headers

2011-08-09 Thread Tom Tromey
Rainer == Rainer Orth r...@cebitec.uni-bielefeld.de writes: Rainer 2011-08-07 Rainer Orth r...@cebitec.uni-bielefeld.de Rainer gcc/java: Rainer * jcf-dump.c (print_constant): Cast first frexp arg. Rainer libjava: Rainer * exception.cc (std::abort): Remove

Re: [PATCH] [JAVA] Double.parseDouble(null) throw NullPointerException

2011-08-09 Thread Tom Tromey
Jie == Jie Liu lj8...@gmail.com writes: Jie RTEMS does not have virtual memory management, so there is no error Jie when access the 0 address on rtems. Jie So 'str-length()' donot throw NPE and just return an meaningless value. If you compile the Java parts of the library with

[PATCH v2, i386]: Expand round(a) as sgn(a) * floor(fabs(a) + 0.5) for x87 math

2011-08-09 Thread Uros Bizjak
Hello! One notable omission from x87 rounding sequences is plain round(), since x87 does not support round-to-nearest, away-from-zero directly. However, this function can be synthesized as round(a) = sgn(a) * floor(fabs(a) + 0.5). Fortunately, we have all building blocks ready in i386.md, we

[PATCH] Work around PR 50031, sphinx3 slowdown in powerpc on GCC 4.6 and GCC 4.7

2011-08-09 Thread Michael Meissner
This is an initial patch to work around the slow down of sphinx3 in power7 VSX that first shows up in GCC 4.6 and is still present in the current GCC 4.7 trunk. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50031 The key part of the slowdown is in this inner loop in the vector_gautbl_eval_logs3

Re: [PATCH] Work around PR 50031, sphinx3 slowdown in powerpc on GCC 4.6 and GCC 4.7

2011-08-09 Thread David Edelsohn
On Tue, Aug 9, 2011 at 2:07 PM, Michael Meissner meiss...@linux.vnet.ibm.com wrote: This is an initial patch to work around the slow down of sphinx3 in power7 VSX that first shows up in GCC 4.6 and is still present in the current GCC 4.7 trunk.  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50031

Re: [C++0x] contiguous bitfields race implementation

2011-08-09 Thread Aldy Hernandez
ok, so now you do this only for the first field in a bitfield group. But you do it for _all_ bitfield groups in a struct, not only for the interesting one. May I suggest to split the loop into two, first searching the first field in the bitfield group that contains fld and then in a separate

Re: [libcpp] Correctly define __cplusplus (PR libstdc++-v3/1773)

2011-08-09 Thread Jason Merrill
On 08/09/2011 09:14 AM, Marc Glisse wrote: I don't think we should define the C++ 2011 value yet. In my opinion, we should wait until: 1) the standard is official 2) gcc implements most of it: people will want to use __cplusplus as a test to know if they can use C++0X features, not if the

Scalar vector binary operation

2011-08-09 Thread Artem Shinkarov
This is a patch that was approved a long time ago here: http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01833.html but was never submitted. 2011-08-09 Artjoms Sinkarovs artyom.shinakr...@gmail.com /gcc * c-typeck.c (scalar_to_vector): New function. Try scalar to vector conversion. (stv_conv):

Re: Scalar vector binary operation

2011-08-09 Thread Artem Shinkarov
Sorry, I didn't attach the patch itself. Here we go, in the attachment. Artem. Index: gcc/doc/extend.texi === --- gcc/doc/extend.texi (revision 177589) +++ gcc/doc/extend.texi (working copy) @@ -6526,18 +6526,25 @@ In C it is

Ping #1: [Patch,AVR]: Fix PR29560 (map 16-bit shift to 8-bit)

2011-08-09 Thread Georg-Johann Lay
This patch is still pending review: http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02376.html Georg-Johann Lay a écrit: [...] So here is a cleaned up version that maps to QI shifts. Tested without regressions. Ok? Johann PR target/29560 * config/avr/avr.md (any_extend): New

Re: [patch, ia64] Fix unaligned accesses on IA64 from dwarf2out.c

2011-08-09 Thread Steve Ellcey
On Tue, 2011-08-09 at 08:25 -0700, Richard Henderson wrote: On 08/08/2011 03:22 PM, Steve Ellcey wrote: Oh, so after I declare md5, I call md5_finish_ctx like: md5_finish_ctx (md5.ctx, md5.checksum); Is that what you are proposing? It seems a bit odd to put checksum in a a

Re: [patch, ia64] Fix unaligned accesses on IA64 from dwarf2out.c

2011-08-09 Thread Richard Henderson
On 08/09/2011 02:32 PM, Steve Ellcey wrote: On Tue, 2011-08-09 at 08:25 -0700, Richard Henderson wrote: On 08/08/2011 03:22 PM, Steve Ellcey wrote: Oh, so after I declare md5, I call md5_finish_ctx like: md5_finish_ctx (md5.ctx, md5.checksum); Is that what you are proposing? It seems

Re: Ping: Re: [backport] arm,rx: don't ICE on naked functions with local vars

2011-08-09 Thread Richard Henderson
On 08/09/2011 12:20 AM, Nick Clifton wrote: Hi Richard, DJ is on vacation at the moment, but he asked me to ping you about backporting this patch: http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02321.html to the 4.5 and 4.6 branches:

Re: Dump stats about hottest hash tables when -fmem-report

2011-08-09 Thread Dimitrios Apostolou
On Tue, 9 Aug 2011, Tom Tromey wrote: Richard == Richard Guenther richard.guent...@gmail.com writes: The libcpp part is ok with this change. Richard Note that sparsely populated hashes come at the cost of increased Richard cache footprint. Not sure what is more important here though,

Re: [patch, ia64] Fix unaligned accesses on IA64 from dwarf2out.c

2011-08-09 Thread Steve Ellcey
On Tue, 2011-08-09 at 16:50 -0700, Richard Henderson wrote: I think I like using a union to ensure the alignment of checksum better. In dwarf2out.c we are always using one md5_ctx structure and one checksum buffer but in fold-const.c there are routines where we use one md5_ctx structure

Re: [PATCH] Fix PR49937

2011-08-09 Thread Hans-Peter Nilsson
On Tue, 9 Aug 2011, Richard Guenther wrote: This fixes PR49937 - callers of get_{pointer,object}_alignment probably should not use BIGGEST_ALIGNMENT to limit what these functions return (why do they do that? Maybe because formerly the routines returned TYPE_ALIGN? But why wasn't that bound

Re: [pph] Add initial support for including nested pph images (issue4847044)

2011-08-09 Thread Gabriel Charette
Gah.  I was going to commit this separately but forgot.  Sorry about that. K, why does this fix the test? seems weird that we had an infinite loop before and changing the flags gets rid of it? It wasn't an infinite loop but an ICE in the tree caches.  The different options were producing

Re: [pph] small multi-pph tests (issue4810074)

2011-08-09 Thread Lawrence Crowl
Let me know if my recent push has not solved this problem. On 8/5/11, Gabriel Charette gch...@google.com wrote: I now get the following test failure output after pulling this patch (potentially from the almost concurrent checkin of my linetable patch?) I can send you my diff's if you need to

Re: Ping #1: [Patch,AVR]: Fix PR29560 (map 16-bit shift to 8-bit)

2011-08-09 Thread Denis Chertykov
2011/8/10 Georg-Johann Lay a...@gjlay.de: This patch is still pending review: http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02376.html Georg-Johann Lay a écrit: [...] So here is a cleaned up version that maps to QI shifts. Tested without regressions. Ok? Ok. Denis.