[Patch ARM] PR48203 Don't split call from it's CALL_ARG_LOCATION note.

2011-03-20 Thread Ramana Radhakrishnan
Hi, The attached patch fixes PR48203 for ARM by not splitting the call from it's call_arg_location note while emitting literal pools. This is similar to the patch for s390 and I notice one for sh that fixes a similar issue. The other patch in the audit trail by Jakub is needed to fix up the

Re: [PATCH] Document --with-plugin-ld

2011-03-20 Thread Richard Guenther
On Sat, Mar 19, 2011 at 7:06 PM, Gerald Pfeifer wrote: > On Fri, 18 Mar 2011, Richard Guenther wrote: >> ! @item --with-plugin-ld=@var{pathname} >> ! Enable an alternate linker to be used at link-time optimization (LTO) >> ! link time when @option{-fuse-linker-plugin} is enabled. > > I will admit

[patch] Fix PR48183, NEON ICE in emit-rtl.c:immed_double_const() under -g

2011-03-20 Thread Chung-Lin Tang
Hi, PR48183 is a case where ARM NEON instrinsics, under -O -g, produce debug insns that tries to expand OImode (32-byte integer) zero constants, much too large to represent as two HOST_WIDE_INTs; as the internals manual indicates, such large constants are not supported in general, and ICEs on the G

Re: [patch] Fix PR48183, NEON ICE in emit-rtl.c:immed_double_const() under -g

2011-03-20 Thread Richard Guenther
On Sun, Mar 20, 2011 at 12:01 PM, Chung-Lin Tang wrote: > Hi, > PR48183 is a case where ARM NEON instrinsics, under -O -g, produce debug > insns that tries to expand OImode (32-byte integer) zero constants, much > too large to represent as two HOST_WIDE_INTs; as the internals manual > indicates, s

Re: [PATCH] Fix -fcrossjumping at -O1 (PR rtl-optimization/48156)

2011-03-20 Thread Jakub Jelinek
On Sat, Mar 19, 2011 at 09:42:26AM -0400, Kenneth Zadeck wrote: > i think that this is the right way to go.my view is not just > what the code currently does, but also from the perspective of the > way i want this to work as the back ends evolve. Here is the updated patch, bootstrapped/regtest

[PATCH] Fix shorten_compare (PR c/48197)

2011-03-20 Thread Jakub Jelinek
Hi! As this testcase shows, shorten_compare misbehaves if *restype_ptr is wider than one of the operands and get_narrower returns something even narrower than opN. If primopN is sign-extended to opN, but opN is unsigned, unsignedpN is zero, but the mixed extension behaves differently from sign-ex

[PATCH] ENTRY_VALUE fixes (PR debug/48203)

2011-03-20 Thread Jakub Jelinek
Hi! This patch fixes a few problems: 1) on arm bootstrap fails, because expansion creates ENTRY_VALUE of a MEM with virtual reg address, which then is changed for ap + constant and dwarf2out doesn't expect that. As in most passes ENTRY_VALUE is treated like a black box, we shouldn't ac

Re: [PATCH] Fix -fcrossjumping at -O1 (PR rtl-optimization/48156)

2011-03-20 Thread Kenneth Zadeck
yes On 03/20/2011 08:44 AM, Jakub Jelinek wrote: On Sat, Mar 19, 2011 at 09:42:26AM -0400, Kenneth Zadeck wrote: i think that this is the right way to go.my view is not just what the code currently does, but also from the perspective of the way i want this to work as the back ends evolve.

C-family stack check for threads

2011-03-20 Thread Thomas Klein
Hi I would like to have a stack check for threads with small stack space for each thread. (I'm using a ARM Cortex-M3 microcontroller with a stack size of a 1 KByte per Thread.) Each thread having its own limit address. The thread scheduler can then calculate the limit and store this value ins

[Patch ARM] PR47930 Fix documentation for marm / mthumb

2011-03-20 Thread Ramana Radhakrishnan
Hi, This fixes up documentation for the -marm option and changes the behaviour of mthumb to reject the negative options to bring this to behave similar to the marm option. The option needs to be documented since we now have situations where toolchains default to Thumb state and folks need a

Re: [PATCH] libstdc++ ABI issues with __int128

2011-03-20 Thread Jakub Jelinek
On Sun, Mar 20, 2011 at 01:58:24AM +0100, Benjamin Kosnik wrote: > 2011-03-19 Jakub Jelinek > > * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no]. > (CXXABI_1.3.5): Export _ZTI[PK]*[no]. > > This looks good to me, nice catch. I'll figure out what happened with >

Re: [PATCH, ARM] VSHL, VSHR, VLSHR immediate values support

2011-03-20 Thread Ramana Radhakrishnan
On Fri, Mar 4, 2011 at 1:16 PM, Dmitry Plotnikov wrote: > On 03/02/2011 05:27 PM, Dmitry Plotnikov wrote: >> >> On 02/28/2011 02:49 AM, Ramana Radhakrishnan wrote: >>> >> > There was a mistake in the patch.  According to documentation vshl should > have .i suffix, while vshr should have .s or .u .

Re: [patch, fortran] Function call optimization

2011-03-20 Thread Thomas Koenig
Hi Mikael, - Array elementals: here it's hard to tell which one is faster; save function calls to a temporary and use the temporary or do multiple function calls every time (but without temporary). I have removed elementals for now. It would probably be best to create a scalar temporary varia

[PATCH] Fix s390 delegitimize_address ICE (PR target/48213)

2011-03-20 Thread Jakub Jelinek
Hi! My recent PR debug/48043 fix regressed on the following testcase on s390 apparently, the problem is that the clc insn has BLKmode arguments and when var-tracking tries to canonicalize insns, it will try to delegitimize even that BLKmode mem/u/c from (insn 39 45 10 2 (parallel [ (se

Re: [PATCH, 4.7] PR 48192, Make conditional macros not defined for #ifdef

2011-03-20 Thread Mark Mitchell
On 3/18/2011 4:26 PM, Michael Meissner wrote: > This patch makes conditional macros that are used in the PowerPC and SPU ports > not be 'defined' for the #ifdef, #ifndef, and #if defined(...) tests. I think that's a desirable change, from a language semantics point of view, but I would defer to

Fix PR bootstrap/48168

2011-03-20 Thread Eric Botcazou
This is the Ada bootstrap failure on SPARC caused by the recent VTA changes. As on other platforms, the delegitimize_address routine needs to be enhanced. Applied on the mainline. 2011-03-20 Eric Botcazou PR bootstrap/48168 * config/sparc/sparc.c (sparc_delegitimize_address):

Re: PATCH: PR rtl-optimization/47502: Never combine asm statement

2011-03-20 Thread Richard Henderson
On 03/19/2011 08:29 AM, H.J. Lu wrote: > PR rtl-optimization/47502 > * gcc.target/i386/pr47502-1.c: New. > * gcc.target/i386/pr47502-2.c: Likewise. Ok. r~

Re: [patch, fortran] Function call optimization

2011-03-20 Thread Mikael Morin
> Here is the new version of the patch. Regression-tested. OK for trunk? OK this time. Thank you. Mikael

Re: [PATCH, 4.7] PR 48192, Make conditional macros not defined for #ifdef

2011-03-20 Thread Joseph S. Myers
On Sun, 20 Mar 2011, Mark Mitchell wrote: > On 3/18/2011 4:26 PM, Michael Meissner wrote: > > > This patch makes conditional macros that are used in the PowerPC and SPU > > ports > > not be 'defined' for the #ifdef, #ifndef, and #if defined(...) tests. > > I think that's a desirable change, fr

Trunk merged into fortran-exp branch

2011-03-20 Thread Jerry DeLisle
I have completed a merge of trunk into the branch. Committed revision 171203. Regards, Jerry

Re: [x32] PATCH: PR middle-end/47725: [x32] error: unable to find a register to spill in class DIREG

2011-03-20 Thread H.J. Lu
On Thu, Mar 17, 2011 at 9:00 PM, H.J. Lu wrote: > On Thu, Mar 17, 2011 at 5:30 PM, H.J. Lu wrote: >> On Tue, Feb 15, 2011 at 2:55 PM, Bernd Schmidt >> wrote: >>> On 02/14/2011 08:46 PM, Eric Botcazou wrote: > I agree with Jeff that combine would be the correct place to fix this. > At le

[PATCH] Committed: fix typo in comment

2011-03-20 Thread Mingjie Xing
Hi, I checked the patch in trunk directly since it is obvious. Committed revision 171206. Thanks, Mingjie 2011-03-21 Mingjie Xing * tree-dfa.c (add_referenced_var): Fix typo in comment. Index: tree-dfa.c === --- tree-d