Re: [PATCH, trivial][AArch64] Fix mode iterator for *aarch64_simd_ld1rmode pattern

2014-11-15 Thread Yangfei (Felix)
On 13 November 2014 06:14, Yangfei (Felix) felix.y...@huawei.com wrote: Hi, We find that the VALLDI mode iterator used in *aarch64_simd_ld1rmode pattern is not appropriate. The reason is that it's impossible to get a new operand of DImode by vec_duplicating an operand of the same

[PATCH] Check 'fd' neither -1 nor 0, before close it

2014-11-15 Thread Chen Gang
'fd' may be 0 which does not need 'open' operation, so neither need 'close' operation on it when it is 0. Also in c_common_read_pch(), when failure occurs, also need be sure the 'fd' is not '-1' for the next close operation. It passes testsuite under Fedora x86_64-unknown-linux-gnu. gcc/

[Patch, Fortran] Convert gfc_fatal_error to common diagnostics

2014-11-15 Thread Tobias Burnus
Especially since color diagnostic is now the default [1], it makes sense to convert more gfortran diagnostics to use the common diagnostics. For an example, see [1]. That also brings all the nice features like placing the warning option in brackets: Warning: USE statement at (1) has no ONLY

Re: Follow-up to PR51471

2014-11-15 Thread Eric Botcazou
IIRC, fill_eager and its related friends are all speculative in some way and aren't those precisely the ones that are causing us problems. Also note we have backends working around this stuff in fairly blunt ways: I'd say that the PA back-end went a bit too far here, especially if it marks

Re: Drop target_option_node reconstruction logic.

2014-11-15 Thread Richard Biener
On November 14, 2014 8:13:15 PM CET, Jan Hubicka hubi...@ucw.cz wrote: Hi, this patch kills lto's code to rebuilt DECL_FUNCTION_SPECIFIC_TARGET from target attributes. This code was never complete and it should be no-op now when we save tehe target nodes. It also makes free_land_data_in_decl to

Re: [Patch, Fortran] Convert gfc_fatal_error to common diagnostics

2014-11-15 Thread FX
Build and regtested on x86-64-gnu-linux. OK for the trunk? Please document, in the source, the difference between gfc_fatal_error and gfc_fatal_error_1. They currently have the same generic description, which wouldn’t help people writing new front-end code to know which one to use. Moreover,

Re: [GRAPHITE, PATCH] Ping: Loop unroll and jam optimization

2014-11-15 Thread Mircea Namolaru
The close of stage 1 is getting close (very close). Even there is not so much new code (basically the new code computes the separation class option for AST build), I am not sure that the patch qualify for stage 2. There is very nice code generated by unroll-and-jam (stride mining) for small

Re: [gimple-classes, committed 4/6] tree-ssa-tail-merge.c: Use gassign

2014-11-15 Thread David Malcolm
On Thu, 2014-11-13 at 11:45 +0100, Richard Biener wrote: On Thu, Nov 13, 2014 at 2:41 AM, David Malcolm dmalc...@redhat.com wrote: On Tue, 2014-11-11 at 11:43 +0100, Richard Biener wrote: On Tue, Nov 11, 2014 at 8:26 AM, Jakub Jelinek ja...@redhat.com wrote: On Mon, Nov 10, 2014 at

Re: [Patch, Fortran] Convert gfc_fatal_error to common diagnostics

2014-11-15 Thread Tobias Burnus
FX wrote: Please document, in the source, the difference between gfc_fatal_error and gfc_fatal_error_1. They currently have the same generic description, which wouldn’t help people writing new front-end code to know which one to use. Moreover, if the transition will not be complete soon (or

Re: [PATCH] Add force option to find_best_rename_reg in regrename pass

2014-11-15 Thread Eric Botcazou
It looks at register that respect the constraints of all the instructions in the set and tries to pick one in the preferred class for all the instructions involved. This is generally useful for any pass that wants to do register renaming. However it also contains some logic to only select the

Re: [Patch, Fortran] Convert gfc_fatal_error to common diagnostics

2014-11-15 Thread FX
Thus, I don't think it should be put into the wiki. (Admittedly, I also do not know which page you are referring to.) In any case, there are several PRs about issues fixed by the on-going change to the common diagnostics. OK. (The page I was referring to is here:

[PATCH] Fix Cilk+ ICEs with overflow builtins (PR middle-end/63884)

2014-11-15 Thread Marek Polacek
The problem here is that the Cilk+ code wasn't prepared to handle internal calls that the new overflow builtins entail. Fixed by checking that the CALL_EXPR_FN isn't NULL. Looking at cilk-plus.exp, I think this file will need some tweaks now that the C default is gnu11... Bootstrapped/regtested

Add log message for max-completely-peeled-times

2014-11-15 Thread Eric Botcazou
Try_unroll_loop_completely logs a message for max-completely-peeled-insns: else if (unr_insns (unsigned) PARAM_VALUE (PARAM_MAX_COMPLETELY_PEELED_INSNS)) { if (dump_file (dump_flags TDF_DETAILS)) fprintf (dump_file, Not unrolling loop %d:

openacc kernels directive -- initial support

2014-11-15 Thread Tom de Vries
Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ... 1 Expand oacc kernels after

Fix ICE on pragma Loop_Optimize in Ada

2014-11-15 Thread Eric Botcazou
The attached testcase triggers an ICE because it contains pragma Loop_Optimize which survives down to RTL expansion. There are 2 bugs: first, this should not ICE but issue a ignoring loop annotation message (this was accidentally disabled in

Re: [PATCH 2/5] combine: handle I2 a parallel of two SETs

2014-11-15 Thread Segher Boessenkool
On Fri, Nov 14, 2014 at 08:35:48PM +0100, Bernd Schmidt wrote: On 11/14/2014 08:19 PM, Segher Boessenkool wrote: + /* If I2 is a PARALLEL of two SETs of REGs (and perhaps some CLOBBERs), + make those two SETs separate I1 and I2 insns, and make an I0 that is + the original I1. */ +

Re: [PATCH][AArch64] LR register not used in leaf functions

2014-11-15 Thread Jiong Wang
2014-11-15 0:15 GMT+00:00 Andrew Pinski pins...@gmail.com: On Tue, Sep 30, 2014 at 8:00 AM, Jiong Wang jiong.w...@arm.com wrote: On 27/09/14 22:20, Kugan wrote: On 23/09/14 01:58, Jiong Wang wrote: + /* If we decided that we didn't need a leaf frame pointer but then used + LR in the

Re: patch switching on LRA remat

2014-11-15 Thread H.J. Lu
On Fri, Nov 14, 2014 at 12:07 PM, Vladimir Makarov vmaka...@redhat.com wrote: The LRA rematerialization patch I've submitted about day ago broke H.J.'s 32-bit bootstrap. So I switched off the rematerialization right away. The set for bootstrapping used by H.J. was very useful. I've fixed

Re: [PATCH][AArch64] LR register not used in leaf functions

2014-11-15 Thread Andrew Pinski
On Sat, Nov 15, 2014 at 6:08 AM, Jiong Wang wong.kwongyuan.to...@gmail.com wrote: 2014-11-15 0:15 GMT+00:00 Andrew Pinski pins...@gmail.com: On Tue, Sep 30, 2014 at 8:00 AM, Jiong Wang jiong.w...@arm.com wrote: On 27/09/14 22:20, Kugan wrote: On 23/09/14 01:58, Jiong Wang wrote: + /*

[committed,testsuite] Fix dg-error for a darwin testcase

2014-11-15 Thread FX
Committed as trivial, as the error wording changed due to more precise diagnostics: it now says ‘CFStringRef {aka const struct __CFString *}’ instead of just ‘CFStringRef’ FX 2014-10-19 Francois-Xavier Coudert fxcoud...@gcc.gnu.org * gcc.dg/darwin-cfstring-format-1.c: Adjust

Re: [gofrontend-dev] [PATCH 4/4] Gccgo port to s390[x] -- part II

2014-11-15 Thread Ian Taylor
On Thu, Nov 13, 2014 at 2:58 AM, Dominik Vogt v...@linux.vnet.ibm.com wrote: What do you think about the attached patches? They work for me, but I'm not sure whether the patch to go-test.exp is good because I know nothing about tcl. Looks plausible to me. Ian

Re: [PATCH][AArch64] LR register not used in leaf functions

2014-11-15 Thread Andrew Pinski
On Sat, Nov 15, 2014 at 7:21 AM, Andrew Pinski pins...@gmail.com wrote: On Sat, Nov 15, 2014 at 6:08 AM, Jiong Wang wong.kwongyuan.to...@gmail.com wrote: 2014-11-15 0:15 GMT+00:00 Andrew Pinski pins...@gmail.com: On Tue, Sep 30, 2014 at 8:00 AM, Jiong Wang jiong.w...@arm.com wrote: On

[committed,testsuite] Fix missing includes for darwin testcases

2014-11-15 Thread FX
Committed as trivial. And also, fixed wrong date on my earlier ChangeLog entry :) FX 2014-11-15 Francois-Xavier Coudert fxcoud...@gcc.gnu.org * gcc.dg/pubtypes-3.c: Include string.h. * gcc.dg/pubtypes-4.c: Likewise. Index: gcc.dg/pubtypes-3.c

Re: [BUILDROBOT] error: �??cl_target_option_stream_in�?? was not declared in this scope (was: LTO streaming of TARGET_OPTIMIZE_NODE)

2014-11-15 Thread Jan-Benedict Glaw
On Fri, 2014-11-14 19:53:33 +0100, Jan Hubicka hubi...@ucw.cz wrote: Breaks build: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute

[committed,testsuite] Only run gcc.dg/tree-ssa/pr61144.c when aliases are supported

2014-11-15 Thread FX
All other tests in gcc.dg/ that use __attribute__((__alias__())) are guarded by dg-require-alias. Let’s do the same for gcc.dg/tree-ssa/pr61144.c, otherwise it complains on darwin. 2014-11-15 Francois-Xavier Coudert fxcoud...@gcc.gnu.org * gcc.dg/tree-ssa/pr61144.c: Add

Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan Hubicka
Hi, this patch implements OPTIMIZATION_NODE streaming same was as previous patch did for TARGET_OPTION_NODE. Since the code turned out to be completely analogous to the previous one I will go ahead and commit it as obvious. It will help to make followup changes easier to follow. I also tested

Re: patch switching on LRA remat

2014-11-15 Thread Vladimir Makarov
On 2014-11-15 9:58 AM, H.J. Lu wrote: On Fri, Nov 14, 2014 at 12:07 PM, Vladimir Makarov vmaka...@redhat.com wrote: The LRA rematerialization patch I've submitted about day ago broke H.J.'s 32-bit bootstrap. So I switched off the rematerialization right away. The set for bootstrapping used

[PATCH, 1/8] Expand oacc kernels after pass_build_ealias

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

[PATCH, 2/8] Add pass_oacc_kernels

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

[PATCH, 3/8] Add pass_ch_oacc_kernels to pass_oacc_kernels

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

[PATCH, 4/8] Add pass_tree_loop_{init,done} to pass_oacc_kernels

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

[PATCH, 6/8] Add pass_ccp to pass_oacc_kernels

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

[PATCH, 5/8] Add pass_loop_im to pass_oacc_kernels

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

[PATCH, 7/8] Add pass_parloops_oacc_kernels to pass_oacc_kernels

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

[PATCH, 8/8] Do simple omp lowering for no address taken var

2014-11-15 Thread Tom de Vries
On 15-11-14 13:14, Tom de Vries wrote: Hi, I'm submitting a patch series with initial support for the oacc kernels directive. The patch series uses pass_parallelize_loops to implement parallelization of loops in the oacc kernels region. The patch series consists of these 8 patches: ...

Re: [PATCH] Fix Cilk+ ICEs with overflow builtins (PR middle-end/63884)

2014-11-15 Thread Jakub Jelinek
On Sat, Nov 15, 2014 at 01:03:46PM +0100, Marek Polacek wrote: The problem here is that the Cilk+ code wasn't prepared to handle internal calls that the new overflow builtins entail. Fixed by checking that the CALL_EXPR_FN isn't NULL. Looking at cilk-plus.exp, I think this file will need

PATCH: PR bootstrap/63888: [5 Regression] bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror

2014-11-15 Thread H.J. Lu
Hi, GCC uses xstrndup/xstrdup throughout the source tree and those memory may not be freed explicitly before exut. LeakSanitizer isn't very useful here. This patch suppresses LeakSanitizer in bootstrap. OK for trunk? This patch isn't sufficient. I got configure:3612:

Re: patch switching on LRA remat

2014-11-15 Thread H.J. Lu
On Sat, Nov 15, 2014 at 9:07 AM, Vladimir Makarov vmaka...@redhat.com wrote: On 2014-11-15 9:58 AM, H.J. Lu wrote: On Fri, Nov 14, 2014 at 12:07 PM, Vladimir Makarov vmaka...@redhat.com wrote: The LRA rematerialization patch I've submitted about day ago broke H.J.'s 32-bit bootstrap. So

[committed,testsuite] Not run gcc.target/i386/sibcall-1.c on PIC targets

2014-11-15 Thread FX
Don’t run gcc.target/i386/sibcall-1.c on PIC targets. 2014-11-15 Francois-Xavier Coudert fxcoud...@gcc.gnu.org PR target/60104 * gcc.target/i386/sibcall-1.c: Don't run on pic targets. Index: gcc.target/i386/sibcall-1.c

Re: [PATCH][AArch64] LR register not used in leaf functions

2014-11-15 Thread Jiong Wang
2014-11-15 15:49 GMT+00:00 Andrew Pinski pins...@gmail.com: My local modifications can be found in the gcc git at apinski/thunderx-cost. Note I reverted this patch so I can continue working. The testcase is compiling newlib. Let me try to get it again. I was configuring a combined build

Re: [committed,testsuite] Not run gcc.target/i386/sibcall-1.c on PIC targets

2014-11-15 Thread H.J. Lu
On Sat, Nov 15, 2014 at 11:46 AM, FX fxcoud...@gmail.com wrote: Don’t run gcc.target/i386/sibcall-1.c on PIC targets. 2014-11-15 Francois-Xavier Coudert fxcoud...@gcc.gnu.org PR target/60104 * gcc.target/i386/sibcall-1.c: Don't run on pic targets. Index:

Re: [committed,testsuite] Not run gcc.target/i386/sibcall-1.c on PIC targets

2014-11-15 Thread FX
This looks wrong. This test should pass for 64-bit or ia32 nonpic. It was Kai’s original testcase, so I don’t want to modify it too much, other than make it skip where it clearly fails. FX

Re: [committed,testsuite] Not run gcc.target/i386/sibcall-1.c on PIC targets

2014-11-15 Thread H.J. Lu
On Sat, Nov 15, 2014 at 12:22 PM, FX fxcoud...@gmail.com wrote: This looks wrong. This test should pass for 64-bit or ia32 nonpic. It was Kai’s original testcase, so I don’t want to modify it too much, other than make it skip where it clearly fails. Original bug report was filed against

Re: Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan-Benedict Glaw
On Sat, 2014-11-15 17:57:20 +0100, Jan Hubicka hubi...@ucw.cz wrote: Hi, this patch implements OPTIMIZATION_NODE streaming same was as previous patch did for TARGET_OPTION_NODE. Since the code turned out to be completely analogous to the previous one I will go ahead and commit it as obvious.

RE: Follow-up to PR51471

2014-11-15 Thread Matthew Fortune
Eric Botcazou ebotca...@adacore.com writes: IIRC, fill_eager and its related friends are all speculative in some way and aren't those precisely the ones that are causing us problems. Also note we have backends working around this stuff in fairly blunt ways: I'd say that the PA back-end

Re: Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan Hubicka
The recent work, I'm not exactly sure if it's actually /this/ commit, broke nios2-rtems, see eg. build http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=376303 g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W

Re: [PATCH] Fix gimple_fold_stmt_to_constant regression

2014-11-15 Thread H.J. Lu
On Fri, Nov 14, 2014 at 4:39 AM, Richard Biener rguent...@suse.de wrote: Following up https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01233.html and fixing the regressions this caused as soon as I removed the dispatch to fold_unary (and more regressions it would have caused if I managed to

Re: [PING][PATCH] c11-atomic-exec-5: Avoid dead code where LDBL_MANT_DIG is 106

2014-11-15 Thread Maciej W. Rozycki
On Fri, 14 Nov 2014, Joseph Myers wrote: OK. Applied, thanks. Maciej

Re: [PATCH] gcc/testsuite: guality.exp: Fix `test_counts' restoration

2014-11-15 Thread Maciej W. Rozycki
On Fri, 14 Nov 2014, Jakub Jelinek wrote: gcc/testsuite/ * g++.dg/guality/guality.exp (check_guality): Fix `test_counts' restoration. Ok, thanks. Applied, thanks. Maciej

Small C++ constexpr PATCHes

2014-11-15 Thread Jason Merrill
Here are two small constexpr changes that I made while working on C++14 constexpr support that I thought should go in separately. The first clarifies the error about missing mem-initializers in constexpr constructors so that people aren't confused about why assigning to the field in the

Small C++ PATCH to cp_parser_omp_declare_reduction_exprs

2014-11-15 Thread Jason Merrill
With the C++14 constexpr support we were getting confused by using finish_expr_stmt on something that isn't an expression. This already should have been add_stmt, so I'm checking it in separately. Tested x86_64-pc-linux-gnu, applying to trunk. commit 046fdf7db65830bc1030d766ffa8f4ba696e0660

Re: Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan Hubicka
Jonah, Yep, it is because my code does not handle streaming of arrays into the target optimization nodes. I will take a look on why that array is really needed. It seems like a overkill? I am looking into the nios2_register_custom_code and I do not quite understand what it is good for? If

[BUILDROBOT] nios2: build breakage (was: Rerog streaming of OPTIMIZATION_NODE)

2014-11-15 Thread Jan-Benedict Glaw
Hi, On Sun, 2014-11-16 00:36:27 +0100, Jan Hubicka hubi...@ucw.cz wrote: Yep, it is because my code does not handle streaming of arrays into the target optimization nodes. I will take a look on why that array is really needed. It seems like a overkill? I am looking into the

[PATCH, committed] Sync config.{guess,sub} with upstream

2014-11-15 Thread Jan-Benedict Glaw
Hi! I was under the impression that somebody else took over keeping an eye on syncing common files between gcc, binutils, automake, config, ... Seems I was kind of wrong with that assumption? Alas, I've started my scripts again and will continue my former syncing work, starting with some easy

Fix speculation in ipa-cp

2014-11-15 Thread Jan Hubicka
Hi, this patch enables propagation of speculative contextes I promised to fix after Martin's merge. There were few bugs that ended up disturbing testsuite: 1) ipa_polymorphic_call_context::combine_with did not handle very well case where the incomming type is in construction and it's

Re: OpenACC middle end changes

2014-11-15 Thread Gerald Pfeifer
On Thursday 2014-11-13 17:59, Thomas Schwinge wrote: Here is our current set of OpenACC middle end changes. As discussed before, this is not yet all of OpenACC 2.0 -- we shall a) document what is working already, and b) continue to work on closing the gap. As David wrote in a different

Re: Concepts code review

2014-11-15 Thread Braden Obrzut
I don't believe I'll be able to familiarize myself adequately with the more complex issues before the stage 1 deadline (from what I understand Andrew is/was taking care of the blocking issues?), so I will leave what I have for the more trivial issues and a few comments. On 11/11/2014 12:05

[PATCH] driver: ignore SIGINT while waiting on subprocesses to finish

2014-11-15 Thread Patrick Palka
Currently the top-level driver handles SIGINT by immediately killing itself even when the driver has subprocesses (e.g. cc1, as) running. I don't think this is a good idea because 1. if the top-level driver is waiting on a hanging subprocess, pressing ^C will kill the driver but it may not

Re: [BUILDROBOT] nios2: build breakage

2014-11-15 Thread Sandra Loosemore
On 11/15/2014 04:49 PM, Jan-Benedict Glaw wrote: Hi, On Sun, 2014-11-16 00:36:27 +0100, Jan Hubicka hubi...@ucw.cz wrote: Yep, it is because my code does not handle streaming of arrays into the target optimization nodes. I will take a look on why that array is really needed. It seems like a

Re: [PATCH, libgfortran] PR 60324 Unbounded stack allocations in libgfortran

2014-11-15 Thread Janne Blomqvist
On Sat, Nov 15, 2014 at 8:01 AM, Janne Blomqvist blomqvist.ja...@gmail.com wrote: On Fri, Nov 14, 2014 at 11:02 PM, Tobias Burnus bur...@net-b.de wrote: I think instead of doing a run-time check I'd prefer something like the following, keeping the compile-time assert. ---

Re: [PATCH] driver: ignore SIGINT while waiting on subprocesses to finish

2014-11-15 Thread Patrick Palka
On Sat, 15 Nov 2014, Patrick Palka wrote: Currently the top-level driver handles SIGINT by immediately killing itself even when the driver has subprocesses (e.g. cc1, as) running. I don't think this is a good idea because 1. if the top-level driver is waiting on a hanging subprocess,

Re: Concepts code review

2014-11-15 Thread Jason Merrill
On 11/15/2014 07:58 PM, Braden Obrzut wrote: Variable templates (and thus concepts) are TEMPLATE_ID_EXPR. I changed the comment to explicitly state that it will be a TEMPLATE_ID_EXPR, but I'm not sure the name needs to be changed. If I recall correctly, I initially implemented as *_var_concept

Re: [Patch] PR 61692 - Fix for inline asm ICE

2014-11-15 Thread David Wohlferd
On 9/15/2014 2:51 PM, Jeff Law wrote: Let's go with your original inputs + outputs + labels change and punt the clobbers stuff for now. jeff I have also added the test code you requested. I have a release on file with the FSF, but don't have SVN write access. Problem: extract_insn() in

Re: [PATCH] Look through widening type conversions for possible edge assertions

2014-11-15 Thread Patrick Palka
On Wed, Nov 12, 2014 at 3:38 AM, Richard Biener richard.guent...@gmail.com wrote: On Wed, Nov 12, 2014 at 5:17 AM, Patrick Palka patr...@parcs.ath.cx wrote: On Tue, Nov 11, 2014 at 8:48 AM, Richard Biener richard.guent...@gmail.com wrote: On Tue, Nov 11, 2014 at 1:10 PM, Patrick Palka

RFA (tree-inline): PATCH for more C++14 constexpr support

2014-11-15 Thread Jason Merrill
This patch implements more support for C++14 constexpr: it allows arbitrary modification of variables in a constexpr function, but does not currently handle jumping -- multiple returns, loops, switches. The approach I took for this was to just use the DECL_SAVED_TREE for a constexpr function

a patch to fix an x86 bootstrap with LRA

2014-11-15 Thread Vladimir Makarov
The following patch fixes a x86 bootstrap failure with different sets of options (-with-arch=corei7 -with-cpu=intel, -with-arch=core2 -with-cpu=slm). The patch was bootstrapped on x86 (with the 2 sets) and x86-64. Committed as rev. 217624. 2014-11-15 Vladimir Makarov

RFC: PATCH to genericize C++ loops to LOOP_EXPR instead of gotos

2014-11-15 Thread Jason Merrill
I've had a TODO in genericize_cp_loop for a long time suggesting that we should genericize to LOOP_EXPR rather than gotos, and now that I need to interpret the function body for constexpr evaluation, making this change will also simplify that handling. This change also does away with

Re: RFA (tree-inline): PATCH for more C++14 constexpr support

2014-11-15 Thread Jason Merrill
On 11/15/2014 11:59 PM, Jason Merrill wrote: This handles some more C++14 testcases and has no regressions on C++11 constexpr testcases. Support for jumps will follow soon. Like this, though it still needs a bit of cleaning up. diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c index

Avoid applying inline plan for all functions ahead of late compilation

2014-11-15 Thread Jan Hubicka
Hi, late in GCC 4.9 development we broke the feature that ltrans stages do not read all functions in ahead. This is because of late IPA passes that do not like to see functions without IPA transformations applied. I was originally OK with the solution based on fact that we have only IPA-PTA

Re: Avoid applying inline plan for all functions ahead of late compilation

2014-11-15 Thread Richard Biener
On November 16, 2014 8:15:37 AM CET, Jan Hubicka hubi...@ucw.cz wrote: Hi, late in GCC 4.9 development we broke the feature that ltrans stages do not read all functions in ahead. This is because of late IPA passes that do not like to see functions without IPA transformations applied. I was