Re: [PATCH 2/4] Add liboffloadmic

2014-10-29 Thread Ilya Verbin
On 22 Oct 23:21, Ilya Verbin wrote: On 22 Oct 10:54, Jakub Jelinek wrote: On Tue, Oct 21, 2014 at 09:20:34PM +0400, Ilya Verbin wrote: This patch contains liboffloadmic library. It is used by ICC for offloading. The sources are imported from upstream (

Re: [PATCH, IPA ICF] Fix PR63664, PR63574 (segfault in ipa-icf pass)

2014-10-29 Thread Martin Liška
On 10/29/2014 03:07 PM, Ilya Enkovich wrote: 2014-10-29 17:01 GMT+03:00 Martin Liška mli...@suse.cz: On 10/29/2014 02:45 PM, Ilya Enkovich wrote: On 29 Oct 10:34, Richard Biener wrote: On Tue, Oct 28, 2014 at 5:14 PM, Ilya Enkovich enkovich@gmail.com wrote: Hi, This patch fixes

[PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Kyrill Tkachov
Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. Another place where machine_mode is used is machine_function which is not needed for libgcc2

Re: fix math wrt volatile-bitfields vs C++ model

2014-10-29 Thread DJ Delorie
Ok. For the branch please wait until after 4.9.2 is out. Thanks! Committed to trunk.

[PATCH][AArch64] Fix/revert fallout from machine_mode change

2014-10-29 Thread Kyrill Tkachov
Hi all, This is similar to the arm patch (https://gcc.gnu.org/ml/gcc-patches/2014-10/msg03104.html), it adds back the enum keyword to machine_mode in the definition of MACHMODE. This allows the aarch64* build to succeed. Ok for trunk? Thanks, Kyrill 2014-10-28 Kyrylo Tkachov

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Christophe Lyon
On 29 October 2014 17:31, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. Another place where

Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-29 Thread Andreas Schwab
I'm getting these test failures on m68k-linux: FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^type _tsbf_anon_pad1 struct { c uint[0-9]*; }$ FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^type _tsbf_anon_pad5 struct { c uint[0-9]*; }$ FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^type

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-29 Thread Ian Taylor
On Wed, Oct 29, 2014 at 9:38 AM, Andreas Schwab sch...@suse.de wrote: I'm getting these test failures on m68k-linux: Can you send the file BUILDDIR/gcc/testsuite/gcc/godump-1.out? Ian

Re: [PATCH] warning about const multidimensional array as function parameter

2014-10-29 Thread Joseph S. Myers
On Tue, 28 Oct 2014, Martin Uecker wrote: attached is a revised and extended patch. Changes with respect to the previous patch are: Thanks for the revised patch. I've moved this to gcc-patches as the more appropriate mailing list for discussion of specific patches as opposed to more

Re: [PATCH, C++] Fix PR63366: __complex not equivalent to __complex double in C++

2014-10-29 Thread Jason Merrill
On 10/29/2014 05:47 AM, Thomas Preud'homme wrote: From: Nathan Sidwell [mailto:nat...@codesourcery.com] Sent: Thursday, October 09, 2014 2:30 PM On 10/09/14 09:25, Jason Merrill wrote: I would think we want to handle this up in the existing defaulted_int block: my thought was to at least put

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-29 Thread Andreas Schwab
= 5.0.0 20141029 (experimental) const ___linux__ = 1 const ___SCHAR_MAX__ = 0x7f const ___GLIBC_MINOR__ = 18 const ___ATOMIC_ACQ_REL = 4 const ___DEC64_MAX__ = 9.999E384 const _INT_FAST16_MIN = (-2147483647-1) const __SVID_SOURCE = 1 const ___WORDSIZE = 32 const ___WCHAR_MIN__

Re: [PATCH][AArch64] Fix/revert fallout from machine_mode change

2014-10-29 Thread Kyrill Tkachov
On 29/10/14 16:34, Kyrill Tkachov wrote: Hi all, This is similar to the arm patch (https://gcc.gnu.org/ml/gcc-patches/2014-10/msg03104.html), it adds back the enum keyword to machine_mode in the definition of MACHMODE. This allows the aarch64* build to succeed. Ok for trunk? I've committed

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Ramana Radhakrishnan
On Wed, Oct 29, 2014 at 4:31 PM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. Another place

Re: [C PATCH] Add 'aka's on type printing in diagnostics

2014-10-29 Thread Joseph S. Myers
On Sat, 25 Oct 2014, Marek Polacek wrote: + pp_c_ws_string (cpp, aka); That should be _(aka), as it's an English word, not a C syntax construct. OK with that change. -- Joseph S. Myers jos...@codesourcery.com

Re: genmatch infinite loop during bootstrap on AIX

2014-10-29 Thread David Edelsohn
On Wed, Oct 29, 2014 at 9:24 AM, Richard Biener richard.guent...@gmail.com wrote: Because only genmatch calls functions from libstdc++. Btw, why would genmatch miscompile an empty function or the call to it? I tried bootstrapping with libstdc++ built without the AIX ld -G flag and that is

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-29 Thread Ian Taylor
Thanks. Part of the problem is that the m68k max alignment is 16 bits, but the godump test expects it to be at least 64 bits. This is BIGGEST_ALIGNMENT in config/m68k/m68k.h. Another part of the problem seems to be that structs are sometimes aligned to 16 bits although there is no obvious

Re: [gomp4] Rationalise thread-local variables in libgomp OpenACC support

2014-10-29 Thread Thomas Schwinge
Hi Julian! On Tue, 28 Oct 2014 11:16:19 +, Julian Brown jul...@codesourcery.com wrote: This patch rationalises TLS support by moving all thread-local variables into a single structure. Because this meant interfering with how per-thread/per-device initialisation was done, I took the

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Joseph S. Myers
On Wed, 29 Oct 2014, Kyrill Tkachov wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. But why is CUMULATIVE_ARGS needed for libgcc?

Add Library Fundamentals experimental/algorithm and experimental/functional

2014-10-29 Thread Jonathan Wakely
The first patch adds the following from Library Fundamentals v1: std::experimental::sample std::experimental::search std::experimental::default_searcher std::experimental::make_default_searcher std::experimental::boyer_moore_searcher std::experimental::make_boyer_moore_searcher

[patch] Use perfect forwarding in std::function's invokers

2014-10-29 Thread Jonathan Wakely
As pointed out in http://stackoverflow.com/q/26543242/981959 our std::function does more copying/moving than necessary. The solution is to use perfect forwarding for the internal invoker functions, even if functionR(Args...)::operator() and the target function take their arguments by value.

[gimple-classes, committed 03/10] Make remaining gimple_omp_teams_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_omp_teams_clauses): Strengthen param from const_gimple to const gomp_teams *. (gimple_omp_teams_clauses_ptr): Strengthen param from gimple to gomp_teams *. * gimple-walk.c (walk_gimple_op): Add checked cast.

[gimple-classes, committed 00/10] Even more accessor typesafety

2014-10-29 Thread David Malcolm
I've pushed the following ten patches to the git branch dmalcolm/gimple-classes. Successfully bootstrappedregrtested the combination of the ten patches upon the branch on x86_64-unknown-linux-gnu (Fedora 20) - same results relative to an unpatched control bootstrap of trunk's r216746. David

[gimple-classes, committed 01/10] Make all of gimple_omp_task_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_omp_task_clauses): Strengthen param from const_gimple to const gomp_task *. (gimple_omp_task_child_fn): Likewise. (gimple_omp_task_data_arg): Likewise. (gimple_omp_task_copy_fn): Likewise.

[gimple-classes, committed 07/10] Make remaining gimple_omp_target_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_omp_target_clauses): Strengthen param from const_gimple to const gomp_target *. (gimple_omp_target_kind): Likewise. (gimple_omp_target_clauses_ptr): Strengthen param from gimple to gomp_target *. *

[gimple-classes, committed 09/10] Make remaining gimple_eh_filter_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_eh_filter_types): Strengthen param from const_gimple to const geh_filter *. (gimple_eh_filter_types_ptr): Strengthen param from gimple to geh_filter *. (gimple_eh_filter_failure_ptr): Likewise.

[gimple-classes, committed 02/10] Make all gimple_omp_for_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_omp_for_kind): Strengthen param from const_gimple to const gomp_for *. (gimple_omp_for_combined_p): Likewise. (gimple_omp_for_combined_into_p): Likewise. (gimple_omp_for_clauses): Likewise.

[gimple-classes, committed 04/10] Make all gimple_omp_sections_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_omp_sections_clauses): Strengthen param from const_gimple to const gomp_sections *. (gimple_omp_sections_control): Likewise. (gimple_omp_sections_clauses_ptr): Strengthen param from gimple to gomp_sections *.

[gimple-classes, committed 06/10] Convert remaining gimple_omp_single_ accessors to be typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_omp_single_clauses): Strengthen param from const_gimple to const gomp_single *. (gimple_omp_single_clauses_ptr): Strengthen param from gimple to gomp_single *. * gimple-walk.c (walk_gimple_op): Add checked

[gimple-classes, committed 05/10] Make all gimple_omp_return_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (struct gimple_statement_omp_return): Rename to... (struct gomp_return): ...this. (is_a_helper gimple_statement_omp_return *::test): Rename to... (is_a_helper gomp_return *::test): ...this. (is_a_helper const

Re: [PATCH] Add top-level config support for gold mips target

2014-10-29 Thread Cary Coutant
Ping? On Mon, Oct 20, 2014 at 10:31 AM, Cary Coutant ccout...@google.com wrote: This patch adds support for the mips target in gold. OK to commit? -cary 2014-10-20 Cary Coutant ccout...@google.com * configure (--enable-gold): Add mips*-*-*. * configure.ac: Regenerate.

[gimple-classes, committed 10/10] Introduce gpredict subclass and use it for all gimple_predict_ accessors

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * coretypes.h (struct gpredict): Add forward declaration. * doc/gimple.texi (Class hierarchy of GIMPLE statements): Add gpredict. * gimple-pretty-print.c (pp_gimple_stmt_1): Within case GIMPLE_PREDICT, add local predict_stmt via

[gimple-classes, committed 08/10] Make remainging gimple_omp_parallel_ accessors typesafe

2014-10-29 Thread David Malcolm
gcc/ChangeLog.gimple-classes: * gimple.h (gimple_omp_parallel_combined_p): Strengthen param from const_gimple to const gomp_parallel *. (gimple_omp_parallel_clauses): Likewise. (gimple_omp_parallel_set_combined_p): Strengthen param from gimple to

[gomp4] libgomp: Also consider --with-cuda-driver flags for build-tree testing (was: [2/3] OpenACC 2.0 support for libgomp - new tests)

2014-10-29 Thread Thomas Schwinge
Hi! On Tue, 28 Oct 2014 17:00:38 +0100, I wrote: Committed in r216804: commit 4f9566b3e2954218c0d9ce3c585e14e539f0c1af Author: tschwinge tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Tue Oct 28 15:57:48 2014 + libgomp: Don't refer to CUDA installation in

Re: [PATCH 1/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code

2014-10-29 Thread Uros Bizjak
On Wed, Oct 29, 2014 at 1:28 PM, Evgeny Stupachenko evstu...@gmail.com wrote: The test passes now. So let's remove xfail. 2014-10-29 Evgeny Stupachenko evstu...@gmail.com gcc/testsuite * gcc.target/i386/pr23098.c: Remove xfail. OK. Thanks, Uros.

Re: [PATCH][AArch64] Restore recog state after finding pre-madd instruction

2014-10-29 Thread Marcus Shawcroft
On 29 October 2014 10:03, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This patch fixes an issue with the final_prescan workaround for the Cortex-A53 erratum 835769 where calling recog_memoized could modify the recog data for the multiply-accumulate instruction when looking at a

RE: [PATCHv2][MIPS] Implement O32 ABI extensions (GCC)

2014-10-29 Thread Moore, Catherine
-Original Message- From: Matthew Fortune [mailto:matthew.fort...@imgtec.com] Sent: Tuesday, October 28, 2014 1:13 PM To: Moore, Catherine; 'gcc-patches@gcc.gnu.org' (gcc- patc...@gcc.gnu.org); Eric Christopher (echri...@gmail.com) Cc: Richard Sandiford; Rich Fuhler; Rozycki,

Re: [PATCH][AArch64][4.9] Restore recog state after finding pre-madd instruction

2014-10-29 Thread Marcus Shawcroft
On 29 October 2014 10:05, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This is the backport of the trunk patch posted at https://gcc.gnu.org/ml/gcc-patches/2014-10/msg03019.html. It is essentially the same content (only the diff context differs). Jakub, this is a regression fix so,

Re: [PATCH][AArch64][4.8] Restore recog state after finding pre-madd instruction

2014-10-29 Thread Marcus Shawcroft
On 29 October 2014 10:05, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This is the 4.8 backport of the trunk patch (https://gcc.gnu.org/ml/gcc-patches/2014-10/msg03019.html). Tested similarly. Ok for that branch? OK once the 4.9 fix is committed. /Marcus

Re: [PATCH][AArch64][4.9] Restore recog state after finding pre-madd instruction

2014-10-29 Thread Jakub Jelinek
On Wed, Oct 29, 2014 at 07:57:46PM +, Marcus Shawcroft wrote: On 29 October 2014 10:05, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This is the backport of the trunk patch posted at https://gcc.gnu.org/ml/gcc-patches/2014-10/msg03019.html. It is essentially the same content

Re: libcc1

2014-10-29 Thread Jakub Jelinek
On Wed, Oct 29, 2014 at 11:45:51AM +0100, Jakub Jelinek wrote: On Wed, Oct 29, 2014 at 11:37:26AM +0100, Paolo Bonzini wrote: On 10/29/2014 11:31 AM, Jakub Jelinek wrote: shouldn't libcc1 be in build_tools instead? I mean, it is a library meant to be dlopened by gdb and gcc plugin that

Re: libcc1

2014-10-29 Thread Jeff Law
On 10/29/14 08:32, Phil Muldoon wrote: On 29/10/14 14:26, Phil Muldoon wrote: On 29/10/14 11:24, Phil Muldoon wrote: On 29/10/14 10:31, Jakub Jelinek wrote: It would be nice to have libcc1 built just once, not bootstrap it, but it is a build module, is that possible? In toplevel configure.ac

Re: [PATCH, IPA ICF] Fix PR63664, PR63574 (segfault in ipa-icf pass)

2014-10-29 Thread Jeff Law
On 10/29/14 10:28, Martin Liška wrote: PR63574.changelog gcc/testsuite/ChangeLog: 2014-10-29 Martin Liskamli...@suse.cz * g++.dg/ipa/pr63574.C: New test. gcc/ChangeLog: 2014-10-29 Martin Liskamli...@suse.cz * ipa-icf-gimple.c (func_checker::compare_variable_decl):

Re: [PATCH] Improve spillcost of literal pool loads

2014-10-29 Thread Jeff Law
On 10/29/14 07:21, Wilco Dijkstra wrote: This patch adjusts the spill cost of literal pool loads to reduce the chance of them being caller-saved (which is inefficient). Such loads should be rematerialized and thus should not include the cost of a spill store. This was done only on constants

Re: [Patch 2/6 s390] Deprecate MOVE_BY_PIECES_P, move to hookized version

2014-10-29 Thread Jeff Law
On 10/29/14 04:46, James Greenhalgh wrote: Hi, This patch moves s390 to TARGET_MOVE_BY_PIECES_PROFITABLE_P. I tried building a compiler and there were no fires, but otherwise, I have no reasonable way to test this patch. If one of the s390 maintainers wants to pick it up and test it, that

Re: [Patch 3/6 arc] Deprecate MOVE_BY_PIECES_P, move to hookized version

2014-10-29 Thread Jeff Law
On 10/29/14 04:48, James Greenhalgh wrote: Hi, This patch moves arc to TARGET_MOVE_BY_PIECES_PROFITABLE_P. While I am there, arc defines a macro CAN_MOVE_BY_PIECES, which is unused, so clean that up too. I tried building a compiler but no amount of fiddling with target strings got me to a

Re: [Patch 5/6 mips] Deprecate MOVE_BY_PIECES_P, move to hookized version

2014-10-29 Thread Jeff Law
On 10/29/14 04:50, James Greenhalgh wrote: Hi, This patch moves mips to TARGET_MOVE_BY_PIECES_PROFITABLE_P. I tried building a compiler and there were no fires, I don't have access to any MIPS hardware, so if one of the MIPS maintainers wanted to pick this up and test it, that would be very

Re: [Patch 6/6] Remove MOVE_BY_PIECES_P

2014-10-29 Thread Jeff Law
On 10/29/14 04:50, James Greenhalgh wrote: Hi, This final patch gets rid of MOVE_BY_PIECES_P. Bootstrapped on x86_64, ARM and AArch64. Thanks, James --- gcc/ 2014-10-28 James Greenhalgh james.greenha...@arm.com * doc/tm.texi.in (MOVE_BY_PIECES_P): Remove. * doc/tm.texi:

Re: [Patch 4/6 sh] Deprecate MOVE_BY_PIECES_P, move to hookized version

2014-10-29 Thread Jeff Law
On 10/29/14 04:49, James Greenhalgh wrote: Hi, This patch moves sh to TARGET_MOVE_BY_PIECES_PROFITABLE_P. I tried building a compiler and there were no fires, but otherwise, I have no reasonable way to test this patch. If one of the sh maintainers wants to pick it up and test it, that would

Re: [PATCH, Pointer Bounds Checker 40/x] Support in IPA ICF

2014-10-29 Thread Jeff Law
On 10/28/14 10:38, Ilya Enkovich wrote: Hi, After recent merge with trunk I found that new IPA pass ICF requires few modifications for instrumented code: - instrumentation thunk existence means we cannot merge function into another one and should generate thunk instead - thunk generation

Re: The nvptx port [7/11+] Inform the port about call arguments

2014-10-29 Thread Jeff Law
On 10/28/14 08:49, Bernd Schmidt wrote: On 10/22/2014 08:12 PM, Jeff Law wrote: Yea, let's keep your approach. Just wanted to explore a bit since the PA seems to have a variety of similar characteristics. Here's an updated version of the patch. I experimented a little with ptx calling

Re: The nvptx port [10/11+] Target files

2014-10-29 Thread Jeff Law
On 10/28/14 08:56, Bernd Schmidt wrote: I have patches that expose all the address spaces to the middle-end through a lower-as pass that runs early. The preliminary patches for that ran into some resistance and into general brokenness of our address space support, so I decided to rip all that

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Ramana Radhakrishnan
On Wed, Oct 29, 2014 at 5:50 PM, Joseph S. Myers jos...@codesourcery.com wrote: On Wed, 29 Oct 2014, Kyrill Tkachov wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the

Re: ptx preliminary rtl patches [1/4]

2014-10-29 Thread Bernd Schmidt
On 09/11/2014 03:24 PM, Bernd Schmidt wrote: The nvptx backend is somewhat unusual in that call insns set a pseudo. The combiner is surprised by this and allows combining them into other insns, which remain as INSN rather than CALL_INSN. Aborts ensue. Bootstrapped and tested on x86_64-linux,

Re: ptx preliminary rtl patches [4/4]

2014-10-29 Thread Bernd Schmidt
On 09/11/2014 05:58 PM, Steven Bosscher wrote: On Thu, Sep 11, 2014 at 3:27 PM, Bernd Schmidt wrote: It turns out that we're calling eliminate_regs for global variables which can't possibly have eliminable regs in their decl. At that point, reg_eliminate can be NULL. This patch avoids

Re: [Patch 4/6 sh] Deprecate MOVE_BY_PIECES_P, move to hookized version

2014-10-29 Thread Kaz Kojima
James Greenhalgh james.greenha...@arm.com wrote: This patch moves sh to TARGET_MOVE_BY_PIECES_PROFITABLE_P. I tried building a compiler and there were no fires, but otherwise, I have no reasonable way to test this patch. If one of the sh maintainers wants to pick it up and test it, that

Re: The nvptx port [10/11+] Target files

2014-10-29 Thread Bernd Schmidt
On 10/30/2014 12:35 AM, Jeff Law wrote: A nit -- Richard S. recently removed the need to include the enum for enum machine_mode. I believe he had a script to handle the mundane parts of that change. Please make sure to update the nvptx port to conform to that new convention, obviously feel

[jit] Tweaks to install.texi

2014-10-29 Thread David Malcolm
On Tue, 2014-10-21 at 15:24 -0400, David Malcolm wrote: On Tue, 2014-10-21 at 18:15 +0200, Gerald Pfeifer wrote: On Monday 2014-10-20 15:19, David Malcolm wrote: +@item Sphinx (any working version) As opposed to any non-working version? ;-) I'd just omit working from this. FWIW,

Re: The nvptx port [10/11+] Target files

2014-10-29 Thread Jeff Law
On 10/29/14 17:55, Bernd Schmidt wrote: Thanks! I've pinged some of the preliminary patches that went unapproved up to this point. Thanks. One leftover issue, discussed in the [0/11] mail - what amount of documentation is appropriate for this, given that we don't want to support using this

Re: ptx preliminary rtl patches [1/4]

2014-10-29 Thread Jeff Law
On 09/11/14 07:24, Bernd Schmidt wrote: The nvptx backend is somewhat unusual in that call insns set a pseudo. The combiner is surprised by this and allows combining them into other insns, which remain as INSN rather than CALL_INSN. Aborts ensue. Bootstrapped and tested on x86_64-linux,

Re: ptx preliminary rtl patches [4/4]

2014-10-29 Thread Jeff Law
On 10/29/14 17:48, Bernd Schmidt wrote: On 09/11/2014 05:58 PM, Steven Bosscher wrote: On Thu, Sep 11, 2014 at 3:27 PM, Bernd Schmidt wrote: It turns out that we're calling eliminate_regs for global variables which can't possibly have eliminable regs in their decl. At that point, reg_eliminate

Re: [PATCH 5/5] add libcc1

2014-10-29 Thread Jeff Law
On 10/28/14 06:23, Jakub Jelinek wrote: On Tue, Oct 28, 2014 at 11:47:31AM +, Phil Muldoon wrote: I think I have a solution. Though my automake fu is very weak. Does this patch work for you? I'm really not sure how to deal with the three possible versions of libiberty any other way.

Re: [PATCH] Adjust/remove REG_EQ{UAL,UIV} notes in REE (PR rtl-optimization/63659)

2014-10-29 Thread Jeff Law
On 10/27/14 14:47, Jakub Jelinek wrote: Hi! The following testcase is miscompiled in 4.8+ on x86_64 at -O2+, because REE widens for ZERO_EXTEND mode on (set (reg:QI ax) (const_int -1)) instruction to SImode, but doesn't adjust REG_EQUAL note of (const_int -1) also to (const_int 0xff) like it

PA port -- promoting various arguments/local variables to rtx_insn *

2014-10-29 Thread Jeff Law
For the first time in over a decade, I'm going to poke a bit at the PA port. Basically I want to use Bin's work to do insn fusion to generate fmpyadd and fmpysub instructions on the PA -- doing so ought to answer most of my questions about the implementation. Ultimately that'll be

Re: [PATCH 5/5] add libcc1

2014-10-29 Thread Jeff Law
On 10/29/14 04:28, Jakub Jelinek wrote: On Tue, Oct 28, 2014 at 05:36:50PM +, Phil Muldoon wrote: On 28/10/14 13:19, Joseph S. Myers wrote: I'm seeing a different bootstrap failure from those already discussed: In file included from

Re: [PATCH, ifcvt] Check size cost in noce_try_store_flag_mask

2014-10-29 Thread Jeff Law
On 10/26/14 19:53, Zhenqiang Chen wrote: Hi, Function noce_try_store_flag_mask converts if (test) x = 0; to x = -(test == 0); But from code size view, x = -(test == 0); might have more instructions than if (test) x = 0;. The patch checks the cost to determine the conversion is valuable or not.

Re: [PATCH, Pointer Bounds Checker 14/x] Passes [1/n] Expand interfaces

2014-10-29 Thread Jeff Law
On 10/15/14 11:54, Ilya Enkovich wrote: Thanks for review! I see no more patches not reviewed at all. I see 4 more patches requiring approve before I can start a merge. Two of them are parts of split #14 (Passes): #14.3 (Helper functions) and #14.16 (Reduce bounds lifetime) These are fine.

<    1   2