Re: Ping: RFA: testsuite patches (1/6): keeps_null_pointer_checks effect on pta/alias dump files

2013-09-05 Thread Richard Biener
On Thu, Sep 5, 2013 at 5:02 PM, Mike Stump wrote: > On Sep 5, 2013, at 7:42 AM, Joern Rennecke > wrote: >> This patch has not been reviewed for more than two weeks: >> http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00990.html > > I'd like a pta type person (or anyone that has an opinion on the cha

Re: RFC - Next refactoring steps

2013-09-05 Thread Richard Biener
On Thu, Sep 5, 2013 at 5:47 PM, Andrew MacLeod wrote: > On 09/05/2013 09:08 AM, Richard Biener wrote: >> >> On Thu, Sep 5, 2013 at 2:57 PM, Andrew MacLeod >> wrote: >>> >>> Now that tree.h is split in two, there are some follow up things that >>> will >>> facilitate the deforestation of gimple.

Re: RFC - Next refactoring steps

2013-09-05 Thread Richard Biener
On Thu, Sep 5, 2013 at 11:53 PM, Steven Bosscher wrote: > On Thu, Sep 5, 2013 at 5:47 PM, Andrew MacLeod wrote: >> ok, so to dwell on header file cleanup. When creating new header files for >> say, tree-ssa-ter.h, what other include files should we make assumptions >> have already been include

Re: [ping][PATCH][1 of 2] Add value range info to SSA_NAME for zero sign extension elimination in RTL

2013-09-05 Thread Richard Biener
On 9/3/13 2:15 PM, Kugan wrote: > Thanks Richard for reviewing. > > On 02/09/13 22:15, Richard Biener wrote: >> On Wed, Jul 3, 2013 at 2:25 PM, Kugan >> wrote: >>> On 17/06/13 18:33, Richard Biener wrote: On Mon, 17 Jun 2013, Kugan wrote: +/* Extract the value range of assigned exp

Re: [PATCH] C++-ify and move control dependence code

2013-09-05 Thread Richard Biener
On 9/5/13 11:58 PM, Steven Bosscher wrote: > On Thu, Sep 5, 2013 at 4:05 PM, Richard Biener wrote: >> >> This C++-ifies and moves the control dependence code from tree-ssa-dce.c >> to cfganal.c as I am about to re-use that code from loop distribution. > > I'd recommend re-implementing the control

Re: [PATCH, powerpc] Rework VSX scalar floating point support

2013-09-05 Thread David Edelsohn
Mike, Why does rs6000_init_hard_regno_mode_ok() include #if 0 code? Because the patch affects e500, has this patch been tested in an e500 configuration? The cover message did not make it clear that you are merging SFmode and DFmode patterns using mode iterators. That really should have been a se

Re: RFC - Next refactoring steps

2013-09-05 Thread Joseph S. Myers
On Thu, 5 Sep 2013, Andrew MacLeod wrote: > Or are you suggesting that coretypes.h is a file we can assume is available? Every .c file should start with includes of config.h, system.h and coretypes.h, in that order, so all other headers can assume they have been included. (In principle I think

Re: wide-int branch now up for public comment and review

2013-09-05 Thread Mike Stump
On Sep 5, 2013, at 2:00 PM, Richard Sandiford wrote: > Ping. I should have said that bootstrapping with rtl checking enabled > is broken as things stand. Yes, this is fine. > Richard Sandiford writes: >> Mike Stump writes: >>> @@ -643,12 +653,14 @@ equality. */ >>>

Re: Silence gcc.dg/autopar/pr49960.c

2013-09-05 Thread Mike Stump
On Sep 5, 2013, at 3:50 PM, Jan Hubicka wrote: > Comitted as obvoius. > > Honza > > Index: ChangeLog > === > --- ChangeLog (revision 202296) > +++ ChangeLog (working copy) > @@ -1,3 +1,6 @@ > +2013-09-05 Jan Hubicka > + > + *

Re: [PATCH, libvtv] Fix most of the testsuite.

2013-09-05 Thread Mike Stump
On Sep 5, 2013, at 1:52 PM, Caroline Tice wrote: > Ping? Could somebody please review this for me? Why? Is one review and approval not enough? :-) http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01939.html > On Fri, Aug 30, 2013 at 2:55 PM, Caroline Tice wrote: >> The attached patch fixes most

[C++ Patch] PR 43452

2013-09-05 Thread Paolo Carlini
Hi, this very old minor issue is about the kind of diagnostic we want to produce for something like the existing g++.dg/init/delete1.C: class C; void foo(void *p) { delete [] ((C*)p) ; } that is when the array delete is called for a pointer to incomplete type. Currently we emit an hard

Re: [RFC] Fix for PR58201

2013-09-05 Thread Jan Hubicka
Hi, this is the patch I commited after testing on x86_64-linux. Honza Index: ChangeLog === *** ChangeLog (revision 202271) --- ChangeLog (working copy) *** *** 1,3 --- 1,9 + 2013-09-04 Jan Hubicka + +

Fix g++.dg/lto/20090311 and g++.dg/lto/20091210-1 on some setups

2013-09-05 Thread Jan Hubicka
Hi, ipa-devirt uses mangled names to establish equivalence in between symbols. I added assert for cloned names, since I convinced myself that otherwise we can miss matches in between local static symbols. I also convinced myself we should never rename. I was wrong on both: declaration merging mak

Re: Ping^5/update: contribute Synopsys Designware ARC port (7/7): testsuite

2013-09-05 Thread Mike Stump
On Sep 5, 2013, at 12:18 PM, Joern Rennecke wrote: > OK to apply? Ok.

Re: RFC - Next refactoring steps

2013-09-05 Thread Andrew MacLeod
On 09/05/2013 06:38 PM, Steven Bosscher wrote: On Fri, Sep 6, 2013 at 12:22 AM, Andrew MacLeod wrote: Or are you suggesting that coretypes.h is a file we can assume is available? that seems like a bit of a slippery slope, but we could pick a few. I prefer it be explicit myself. coretypes.h is

Re: [PATCH] Enable non-complex math builtins from C99 for Bionic

2013-09-05 Thread Bernhard Reutner-Fischer
On 5 September 2013 13:02:29 Kirill Yukhin wrote: Hello, On 04 Sep 20:11, Maxim Kuvyrkov wrote: > On 4/09/2013, at 7:43 PM, Alexander Ivchenko wrote: > The patch is OK with definitions of OPTION_GLIBC, OPTION_UCLIBC and OPTION_BIONIC copied verbatim from gcc/config/l Checked into main trunk:

Silence gcc.dg/autopar/pr49960.c

2013-09-05 Thread Jan Hubicka
Hi, this testcase breaks with partial inlining because it depends on hand hoisted loop header out of the loop nest. Partial inling (correctly) moves the test out of function and prevents the analysis to happen. The whole testcase is very artificial, so I think it is fine to disable partial inl

Re: RFC - Next refactoring steps

2013-09-05 Thread Steven Bosscher
On Fri, Sep 6, 2013 at 12:22 AM, Andrew MacLeod wrote: > Or are you suggesting that coretypes.h is a file we can assume is available? > that seems like a bit of a slippery slope, but we could pick a few. I > prefer it be explicit myself. coretypes.h is available. Why do you think that's a slipper

[PATCH] Fix PR58300, issue with -fvtable-verify=preinit

2013-09-05 Thread Caroline Tice
This fixes a bug where using -fvtable-verify=preinit sometimes causes an ICE. In particular, when the preinit flag was used, the vtable verification constructor initialization function was being written to the assembly file before it was being checked with cgraph_process_new_functions. This somet

Simplify jump threading slightly

2013-09-05 Thread Jeff Law
The basic structure we're moving towards for the general form of the FSA optimization will look something like: while (something changed) { changed = thread_through_empty_blocks () if (!threaded_through_block_with_side_effects) changed |= thread_through_block_with_wide_effects

Re: [PATCH] C++-ify and move control dependence code

2013-09-05 Thread Steven Bosscher
On Thu, Sep 5, 2013 at 4:05 PM, Richard Biener wrote: > > This C++-ifies and moves the control dependence code from tree-ssa-dce.c > to cfganal.c as I am about to re-use that code from loop distribution. I'd recommend re-implementing the control dependence code, then. The current implementation is

Re: RFC - Next refactoring steps

2013-09-05 Thread Andrew MacLeod
On 09/05/2013 05:53 PM, Steven Bosscher wrote: On Thu, Sep 5, 2013 at 5:47 PM, Andrew MacLeod wrote: ok, so to dwell on header file cleanup. When creating new header files for say, tree-ssa-ter.h, what other include files should we make assumptions have already been included... or should we

Re: RFC - Next refactoring steps

2013-09-05 Thread Steven Bosscher
On Thu, Sep 5, 2013 at 5:47 PM, Andrew MacLeod wrote: > ok, so to dwell on header file cleanup. When creating new header files for > say, tree-ssa-ter.h, what other include files should we make assumptions > have already been included... or should we make none? > For instance, the header files

[gomp4] #pragma omp target* fixes

2013-09-05 Thread Jakub Jelinek
Hi! I've committed this patch to gomp4 branch to: 1) fix handling of reference based array sections - reference to array and reference to pointer. The latter actually needs 3 map clauses, one to map the array section, one to map the pointer to it, and one to map the reference to the pointer. 2) i

Re: wide-int branch now up for public comment and review

2013-09-05 Thread Richard Sandiford
Ping. I should have said that bootstrapping with rtl checking enabled is broken as things stand. Thanks, Richard Richard Sandiford writes: > Mike Stump writes: >> @@ -643,12 +653,14 @@ equality. */ >> __FUNCTION__); \ >> &_rtx->u.hwi

Re: [PATCH] Enable non-complex math builtins from C99 for Bionic

2013-09-05 Thread Joseph S. Myers
On Thu, 5 Sep 2013, Bernhard Reutner-Fischer wrote: > uClibc has C99 math support optionally as well as other optional, nonstandard > feature sets. Your patch does not seem to check (in a cross-compilable > fashion, of course) if C99 math is supported in libc or not, thus regressing > on uClibc wi

Re: [RFC] Changes to the wide-int classes

2013-09-05 Thread Richard Sandiford
Richard Biener writes: >> * wide-int.h no longer includes tm.h. >> >> This is done by adding a new MAX_BITS_PER_UNIT to machmode.def, >> so that the definition of MAX_BITSIZE_MODE_ANY_MODE no longer relies on >> BITS_PER_UNIT. Although I think we usually assume that BITS_PER_UNIT >> is a

Re: [PATCH 1/4] Support lambda templates.

2013-09-05 Thread Adam Butcher
On 05.09.2013 20:14, Adam Butcher wrote: On 03.09.2013 22:25, Jason Merrill wrote: On 09/03/2013 03:50 PM, Adam Butcher wrote: Problem is that no RTL is set for the incoming parms in the instantiation of the expansion. It ICEs in gimple_expand_cfg because 'DECL_RTL_IF_SET (var)' returns nullp

Re: [PATCH, libvtv] Fix most of the testsuite.

2013-09-05 Thread Caroline Tice
Ping? Could somebody please review this for me? -- Caroline Tice cmt...@google.com On Fri, Aug 30, 2013 at 2:55 PM, Caroline Tice wrote: > The attached patch fixes most of the libvtv testsuite tests to run in > the dejagnu test harness. There are still a few tests that I haven't > been able to

Re: [PATCH, vtv update] Add documentation for --enable-vtable-verify configure option...

2013-09-05 Thread Caroline Tice
Ping? Could somebody please review this for me? -- Caroline Tice cmt...@google.com On Wed, Aug 28, 2013 at 2:15 PM, Caroline Tice wrote: > Discussion on this topic seems to have petered out. I have removed > references to ENABLE_VTABLE_VERIFY from libvtv, as requested. I > cannot remove them

Ping^5/update: contribute Synopsys Designware ARC port (1/7): configuration

2013-09-05 Thread Joern Rennecke
Since I posted the port the last time, there have been a number of changes as well in GCC trunk as in the port, so a new patch set is required to build the port in trunk. Sanity-checked by bootstrapping i686-pc-linux-gnu. OK to apply? toplevel: 2013-02-25 Simon Cook Changes to build

Re: Ping: RFA: testsuite patches (1/6): keeps_null_pointer_checks effect on pta/alias dump files

2013-09-05 Thread Mike Stump
On Sep 5, 2013, at 7:42 AM, Joern Rennecke wrote: > This patch has not been reviewed for more than two weeks: > http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00990.html I'd like a pta type person (or anyone that has an opinion on the change) to review/comment on this… Surely we have at least 1 p

Ping^5/update: contribute Synopsys Designware ARC port (6/7): documentation

2013-09-05 Thread Joern Rennecke
OK to apply? 2013-08-31 Joern Rennecke Jeremy Bennett * doc/install.texi (--with-cpu): Mention ARC. (arc-*-elf32): New paragraph. (arc-linux-uclibc): Likewise. * doc/md.texi (Machine Constraints): Add ARC part. * doc/invoke.texi: (menu): Ad

Ping^5/update: contribute Synopsys Designware ARC port (7/7): testsuite

2013-09-05 Thread Joern Rennecke
OK to apply? FWIW, my colleague Simon Cook is currently working on adding more target option / builtin tests. 2013-08-31 Joern Rennecke Vineet Gupta * gcc.c-torture/execute/20101011-1.c [__arc__] (DO_TEST): Define as 0. * testsuite/gcc.target/arc: New directory.

Re: Fix PR middle-end/57370

2013-09-05 Thread Easwaran Raman
On Tue, Aug 27, 2013 at 3:35 AM, Richard Biener wrote: > On Thu, Aug 1, 2013 at 1:34 AM, Easwaran Raman wrote: >> I have a new patch that supersedes this. The new patch also fixes PR >> tree-optimization/57393 and PR tree-optimization/58011. Bootstraps and >> no test regression on x86_64/linux. O

Re: [PATCH 1/4] Support lambda templates.

2013-09-05 Thread Adam Butcher
On 03.09.2013 22:25, Jason Merrill wrote: On 09/03/2013 03:50 PM, Adam Butcher wrote: Problem is that no RTL is set for the incoming parms in the instantiation of the expansion. It ICEs in gimple_expand_cfg because 'DECL_RTL_IF_SET (var)' returns nullptr for the incoming parms resulting in a f

RFA: accept opaque vectors as compatible to same-size,same-element-size vectors in binary operations (Was: Re: Ping: RFA: Consider int and same-size short as equivalent vector components)

2013-09-05 Thread Joern Rennecke
Quoting Nathan Sidwell : On 09/05/13 15:50, Joern Rennecke wrote: Apart from Paolo Carlini's suggestion to improve the wording of the ChangeLog, this patch hasn't been reviewed for more than a week: http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01634.html I suppose the original subject has

Re: RFC - Next refactoring steps

2013-09-05 Thread Andrew MacLeod
On 09/05/2013 09:08 AM, Richard Biener wrote: On Thu, Sep 5, 2013 at 2:57 PM, Andrew MacLeod wrote: Now that tree.h is split in two, there are some follow up things that will facilitate the deforestation of gimple. I've also thrown in a couple of structuring issues for good measure. What are

Ping: RFA: Consider int and same-size short as equivalent vector components

2013-09-05 Thread Joern Rennecke
Apart from Paolo Carlini's suggestion to improve the wording of the ChangeLog, this patch hasn't been reviewed for more than a week: http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01634.html

[Patch, AArch64] Fix vdup_lane_* intrinsics' lane parameter.

2013-09-05 Thread Tejas Belagod
Hi, This patch fixes vdup_lane_* intrinsics in arm_neon.h to have the correct lane parameter as opposed to the present '0'. Tested on aarch64-none-elf. OK for trunk? Thanks, Tejas Belagod ARM. Changelog: 2013-09-05 Tejas Belagod gcc/ * config/aarch64/arm_neon.h: Fix all vdup in

Re: [ARM] Fix register r3 wrongly used to save ip in nested APCS frame

2013-09-05 Thread Eric Botcazou
> This is all fragile code, so a testcase would be very much appreciated. A small one is ACATS c45342a (ada/acats/tests/c4/c45342a.ada). -- Eric Botcazou

Re: [Patch] Rewrite _StateSeq in regex

2013-09-05 Thread Tim Shen
On Thu, Sep 5, 2013 at 10:07 AM, Paolo Carlini wrote: > On 09/04/2013 05:37 AM, Tim Shen wrote: > Thanks. Apparently there aren't further comments, thus please install it. Committed. Complete unmatched parentheses in last commit :) -- Tim Shen

Re: Ping: RFA: Consider int and same-size short as equivalent vector components

2013-09-05 Thread Nathan Sidwell
On 09/05/13 15:50, Joern Rennecke wrote: Apart from Paolo Carlini's suggestion to improve the wording of the ChangeLog, this patch hasn't been reviewed for more than a week: http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01634.html I don't think the issue is whether they should be treated as equi

Re: [PATCH] C++-ify and move control dependence code

2013-09-05 Thread Jeff Law
On 09/05/2013 08:05 AM, Richard Biener wrote: This C++-ifies and moves the control dependence code from tree-ssa-dce.c to cfganal.c as I am about to re-use that code from loop distribution. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2013-09-05 Richard Biener

Ping: RFA: testsuite patches (1/6): keeps_null_pointer_checks effect on pta/alias dump files

2013-09-05 Thread Joern Rennecke
This patch has not been reviewed for more than two weeks: http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00990.html

Re: [ARM] Fix register r3 wrongly used to save ip in nested APCS frame

2013-09-05 Thread Richard Earnshaw
On 05/09/13 15:07, Eric Botcazou wrote: > Hi, > > in case the ip register needs to be saved before establishing an APCS frame, > i.e. when it is used as the static chain register, the prologue tries various > tricks in the following order: > > 1. The last argument register r3. >

Re: [Patch] Rewrite _StateSeq in regex

2013-09-05 Thread Paolo Carlini
On 09/04/2013 05:37 AM, Tim Shen wrote: According to this email(http://gcc.gnu.org/ml/libstdc++/2013-09/msg5.html), I add a testcase. Thanks. Apparently there aren't further comments, thus please install it. Thanks again, Paolo.

[PATCH] Move lto-symtab.c to lto/

2013-09-05 Thread Richard Biener
$subject - it's only used from the lto frontend. LTO bootstrap running on x86_64-unknown-linux-gnu. Richard. 2013-09-05 Richard Biener * lto-streamer.h (lto_global_var_decls): Remove. * Makefile.in (OBJS): Remove lto-symtab.o. (lto-symtab.o): Remove. (GTFILES

[PATCH] C++-ify and move control dependence code

2013-09-05 Thread Richard Biener
This C++-ifies and moves the control dependence code from tree-ssa-dce.c to cfganal.c as I am about to re-use that code from loop distribution. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2013-09-05 Richard Biener * basic-block.h (class control_dependence

Re: [PING][PATCH] Fix PR58139 by correctly initializing reg_raw_mode[]

2013-09-05 Thread Peter Bergner
On Tue, 2013-09-03 at 11:08 -0400, Vladimir Makarov wrote: > The patch is ok for the trunk. Thanks! Committed as revision 202286 with Jakub's ChangeLog suggestions. > I'd wait for some time (may be 2 weeks) before committing it for gcc-4.8 > as it might affect other targets (especially code gen

[ARM] Fix register r3 wrongly used to save ip in nested APCS frame

2013-09-05 Thread Eric Botcazou
Hi, in case the ip register needs to be saved before establishing an APCS frame, i.e. when it is used as the static chain register, the prologue tries various tricks in the following order: 1. The last argument register r3. 2. A slot on the stack above the frame.

[VxWorks] Resurrect ARM port (again)

2013-09-05 Thread Eric Botcazou
The new extra_objs setting for the ARM was overridden for VxWorks. Applied on the mainline as obvious. 2013-09-05 Eric Botcazou * config.gcc (*-*-vxworks*): Do not override an existing extra_objs. -- Eric BotcazouIndex: config.gcc ==

Re: RFC - Next refactoring steps

2013-09-05 Thread Andrew MacLeod
On 09/05/2013 09:08 AM, Richard Biener wrote: On Thu, Sep 5, 2013 at 2:57 PM, Andrew MacLeod wrote: Now that tree.h is split in two, there are some follow up things that will facilitate the deforestation of gimple. I've also thrown in a couple of structuring issues for good measure. What are

Re: RFC - Next refactoring steps

2013-09-05 Thread Richard Biener
On Thu, Sep 5, 2013 at 2:57 PM, Andrew MacLeod wrote: > Now that tree.h is split in two, there are some follow up things that will > facilitate the deforestation of gimple. I've also thrown in a couple of > structuring issues for good measure. > > What are your thoughts on these subjects? Jumpin

Re: [RFC] Changes to the wide-int classes

2013-09-05 Thread Michael Matz
Hi, On Thu, 5 Sep 2013, Richard Biener wrote: > > (1) whether it's OK for wide_ints to be writable. > > > > The interface already exposed the idea of an array of blocks, > > via get_val() and get_len(). The question here is whether it is OK > > to also have the corresponding write f

RFC - Next refactoring steps

2013-09-05 Thread Andrew MacLeod
Now that tree.h is split in two, there are some follow up things that will facilitate the deforestation of gimple. I've also thrown in a couple of structuring issues for good measure. What are your thoughts on these subjects? 1 - I think we ought to split out the data structures from gimple

Re: [AARCH64][Insn classification unification 3/N] ALU/shift types

2013-09-05 Thread Richard Earnshaw
On 05/09/13 10:06, James Greenhalgh wrote: > > *PING* > > I've rebased this patch on to current trunk, the changes between this and > the previous version are below: > >> @@ -3203,7 +3203,7 @@ (define_insn "*aarch64_ashl_sisd_or_int_ >> (set_attr "simd_type" "simd_shift_imm,simd_shift,*") >>

[PATCH] Fix PR58137

2013-09-05 Thread Richard Biener
This makes the vectorizer no longer produce vector types with pointer components as it doesn't properly use POINTER_PLUS_EXPR which then confuses other passes dealing with vectors in a generic way. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Sitting back and waiting fo

[PATCH, ARM] Improve Thumb2 prologues when using STRD

2013-09-05 Thread Richard Earnshaw
This patch slightly improves the code sequence generated when using STRD instructions instead of PUSH. Rather than emit a stack decrement operation followed by a sequence of STRDs and a final STR we merge the stack decrement with the initial store. Furthermore, we arrange the STR operation so tha

RE: [PATCH] Portable Volatility Warning

2013-09-05 Thread Bernd Edlinger
On Wed, 4 Sep 2013 19:48:13, Hans-Peter Nilsson wrote: > On Tue, 3 Sep 2013, Richard Biener wrote: >> I think the warning can be completely implemented inside struct-layout.c >> for example in finish_bitfield_representative (if you pass that the first >> field >> in the group, too). Of course that

[PATCH] Make reference removal and speculative devirtualization coexist peacefully

2013-09-05 Thread Martin Jambor
Hi, the patch below fixes the first testcase which currently fails to link because we remove one-too-many references to symbol b and remove it when creating and inlining speculative call graph edges. It also removes the reference when speculation is un-done, transparently in the call graph edge d

Re: [PATCH, AArch64] support extension option 'crc' in -march and -mcpu

2013-09-05 Thread Marcus Shawcroft
On 4 September 2013 15:47, Yufeng Zhang wrote: > gcc/ > > * config/aarch64/aarch64-option-extensions.def: Add > AARCH64_OPT_EXTENSION of 'crc'. > * config/aarch64/aarch64.h (AARCH64_FL_CRC): New define. > (AARCH64_ISA_CRC): Ditto. > * doc/invoke.texi (-marc

Re: [PATCH] Enable non-complex math builtins from C99 for Bionic

2013-09-05 Thread Kirill Yukhin
Hello, On 04 Sep 20:11, Maxim Kuvyrkov wrote: > On 4/09/2013, at 7:43 PM, Alexander Ivchenko wrote: > The patch is OK with definitions of OPTION_GLIBC, OPTION_UCLIBC and > OPTION_BIONIC copied verbatim from gcc/config/l Checked into main trunk: http://gcc.gnu.org/ml/gcc-cvs/2013-09/msg00137.html

Re: [AArch64] Fix categorisation of the frecp* insns.

2013-09-05 Thread Marcus Shawcroft
On 3 September 2013 12:30, James Greenhalgh wrote: > 2013-09-03 James Greenhalgh > > * config/aarch64/aarch64.md > (type): Remove frecpe, frecps, frecpx. > (aarch64_frecp): Move to aarch64-simd.md, > fix to be a TARGET_SIMD instruction. > (aarch64_frecp

RE: [PATCH] Fix PR tree-optimization/58137

2013-09-05 Thread Bernd Edlinger
On Thu, 5 Sep 2013 12:25:08, Richard Biener wrote: > On Thu, Sep 5, 2013 at 11:43 AM, Bernd Edlinger > wrote: >> >> this would cause an ICE in test case 2629-1.c... > > Well, that's easily fixable. > >> So removing the pointer of vectors is not an option. > > Let me nevertheless try this. > >

Re: [PATCH, AArch64] Improve handling of constants destined for FP_REGS

2013-09-05 Thread Marcus Shawcroft
On 4 September 2013 17:42, Ian Bolton wrote: > (This patch supercedes this one: > http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01462.html) > 2013-09-04 Ian Bolton > > gcc/ > * config/aarch64/aarch64.c (aarch64_preferred_reload_class): > Return NO_REGS for immediate that can't b

Re: [PATCH 6/6] Add manual GTY hooks

2013-09-05 Thread Diego Novillo
On Wed, Sep 4, 2013 at 11:40 AM, David Malcolm wrote: > On Sat, 2013-08-31 at 19:27 +0200, Richard Biener wrote: >> David Malcolm wrote: >> >On Fri, 2013-08-30 at 10:09 +0200, Richard Biener wrote: >> >> On Thu, Aug 29, 2013 at 9:44 PM, Steven Bosscher >> > wrote: >> >> > On Thu, Aug 29, 2013 at

[PATCH] Fix vectorizer thinko

2013-09-05 Thread Richard Biener
This fixes an ICE I am seeing with local changes - the definition stmt of an SSA name is never "NULL", but it is a GIMPLE_NOP if it does not have a definition. Those are the stmts that are not associated with any basic-block. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard

Re: [PATCH] Fix PR tree-optimization/58137

2013-09-05 Thread Richard Biener
On Thu, Sep 5, 2013 at 11:43 AM, Bernd Edlinger wrote: > On Tue, 3 Sep 2013 10:38:33, Richard Biener wrote: >> I'd rather go with the simple fix as the issue in forwprop is at least >> latent. We can >> improve on the code-gen as followup where I believe handling of >> POINTER_PLUS_EXPR >> would n

Re: [RFC] Changes to the wide-int classes

2013-09-05 Thread Richard Biener
On Sun, 1 Sep 2013, Richard Sandiford wrote: > This is an RFC and patch for an alternative way of organising the > wide-int classes, along the lines I mentioned earlier. The main points > are below, each with a "headline" and a bit of extra waffle that can be > skipped if too long: > > * As Rich

RE: [PATCH] Fix PR tree-optimization/58137

2013-09-05 Thread Bernd Edlinger
On Tue, 3 Sep 2013 10:38:33, Richard Biener wrote: > I'd rather go with the simple fix as the issue in forwprop is at least > latent. We can > improve on the code-gen as followup where I believe handling of > POINTER_PLUS_EXPR > would need to be added (that we avoid POINTER_PLUS_EXPR for vectors is

Re: [RFC] Changes to the wide-int classes

2013-09-05 Thread Richard Biener
On Thu, 5 Sep 2013, Richard Sandiford wrote: > Kenneth Zadeck writes: > > It is possible restore the privacy of the original patches but this > > seems to involve using a private class inside the namespace and using > > C++ friends. > > > > Adding visibility adds extra code > > > > namespace wi

Re: RFC - Refactor tree.h

2013-09-05 Thread Richard Biener
On Thu, Sep 5, 2013 at 2:06 AM, Mike Stump wrote: > On Aug 30, 2013, at 4:22 PM, Diego Novillo wrote: >> Thanks for the suggestions. I've incorporated them into the patch. >> It now adds tree-core.h with all the structures, enums, typedefs and >> some fundamental declarations from tree.h. Every

Re: [PATCH 6/6] Add manual GTY hooks

2013-09-05 Thread Richard Biener
On Wed, Sep 4, 2013 at 5:40 PM, David Malcolm wrote: > On Sat, 2013-08-31 at 19:27 +0200, Richard Biener wrote: >> David Malcolm wrote: >> >On Fri, 2013-08-30 at 10:09 +0200, Richard Biener wrote: >> >> On Thu, Aug 29, 2013 at 9:44 PM, Steven Bosscher >> > wrote: >> >> > On Thu, Aug 29, 2013 at 6

Re: [AArch64, AArch32][Insn classification refactoring 6/N] Remove "neon_type" attribute

2013-09-05 Thread Richard Earnshaw
On 19/08/13 13:46, James Greenhalgh wrote: > > Hi, > > This patch does two things: > > 1. Moves all the "neon_type" attribute values in the ARM backend into > "type", and removes "neon_type". > > 2. Splits type f_2_r and r_2_f to enable them to be used in a similar > way as neon_mcr et. al. >

Re: [patch, bz #58312] Fix libssp handling of vsnprintf for cross-compilers

2013-09-05 Thread Rainer Orth
Jakub Jelinek writes: > That looks wrong, the test was intentionally looking for badly implemented > vsnprintf, see > http://www.gnu.org/software/gnulib/manual/html_node/snprintf.html > "This function does not return a byte count as specified in C99 on some > platforms: HP-UX 11, IRIX 6.5, OSF/1

Re: [gomp4] Accelerator constructs omp lowering and expansion

2013-09-05 Thread Jakub Jelinek
On Wed, Sep 04, 2013 at 08:54:47PM +0200, Jakub Jelinek wrote: > Any issues you can spot in the patch? If not, I'll commit it tomorrow, so > that I can continue poking in these areas without too much pending stuff. Committed now. > Known issues that don't affect host fallback, but will be a prob

Re: [RFC] Fix for PR58201

2013-09-05 Thread Jan Hubicka
> On 09/04/2013 10:49 AM, Bernd Schmidt wrote: > >On 09/04/2013 06:04 PM, Jan Hubicka wrote: > >>this is third fallout of my change to remove DECL_ARGUMENTS/DECL_RESULT for > >>functions w/o > >>bodies I did not really anticipate. > >[...] > >>I would like to basically ask if it seems to make sens

Re: [PATCH] More comments about DECL_BUILT_IN and DECL_IS_BUILTIN (was Re: Why DECL_BUILT_IN and DECL_IS_BUILTIN?)

2013-09-05 Thread Dodji Seketeli
Ian Lance Taylor a écrit: > On Wed, Sep 4, 2013 at 1:46 AM, Dodji Seketeli wrote: >> >> +/* In a FUNCTION_DECL, nonzero means a built in function of a >> + standard library or more generally a built in function that is >> + recognized by optimizers and expanders. >> + >> + Note that it is

Re: Fwd: Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-09-05 Thread Christian Bruel
On 08/30/2013 05:50 PM, Joseph S. Myers wrote: > On Fri, 30 Aug 2013, Christian Bruel wrote: > >> So to cross build a target library | >> --with-build-sysroot=|dir looks appropriate to specify the alternative >> host root path. >> but >> --with-sysroot looks not appropriate because it changes the

Re: [RFC] Changes to the wide-int classes

2013-09-05 Thread Richard Sandiford
Kenneth Zadeck writes: > It is possible restore the privacy of the original patches but this > seems to involve using a private class inside the namespace and using > C++ friends. > > Adding visibility adds extra code > > namespace wi { > class impl { > private: >