Re: [PATCH] New optimize(0) versioning fix (PR target/60026, take 2)

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 12:50:22AM +0100, Jan Hubicka wrote: Don't we want to check opt_for_fn (node-decl, cp) instead and arrange -fipa-cp to be false when !optimize? I can easily imagine using !opt_for_fn (node-decl, optimize) || !opt_for_fn (node-decl, flag_ipa_cp) but guaranteeing

Re: Make gimple_get_virt_method_for_vtable O(1) and not allocating garbage

2014-02-07 Thread Richard Biener
On Thu, 6 Feb 2014, Jan Hubicka wrote: Hi, I did some memory measurements for Firefox. We seems in shape in exception of linemaps that takes about 20% of memory and I also noticed that we produce a lot of garbage by copy_tree_r. Analyzing the reasons for copy_tree_r I found two about

Re: Avoid unnnecesary copying of ipa-prop's expressions

2014-02-07 Thread Richard Biener
On Thu, 6 Feb 2014, Jan Hubicka wrote: Hi, at WPA we currently read trees accessed by jump functions and then copy them to remove location that is already known to be UNKNOWN and then keep copying them for every inline clone introduced (and there are many for firefox) This patch makes us

Re: Free constructor elts in LTO merging

2014-02-07 Thread Richard Biener
On Thu, 6 Feb 2014, Jan Hubicka wrote: Hi, according to memory stats this is relatively common reason for garbage left after tree merging. Bootstrapped/regtested x86_64-linux, OK? As CONSTRUCTOR_ELTS is a vec, va_gc please use if (CODE_CONTAINS_STRUCT (code, TS_CONSTRUCTOR))

Re: [PATCH] Fix up __builtin_setjmp_receiver handling (PR c++/60082, take 2)

2014-02-07 Thread Richard Biener
On Thu, 6 Feb 2014, Jakub Jelinek wrote: On Thu, Feb 06, 2014 at 11:00:14AM +0100, Richard Biener wrote: Ah, so __builtin_setjmp_receiver is like setjmp in this regard and setjmp is LEAF (it's a stmt that doesn't direct control-flow anywhere else). So __builtin_setjmp_receiver should be

Re: [PATCH] Add alloc_align and assume_aligned attributes (PR middle-end/60092)

2014-02-07 Thread Richard Biener
On Thu, 6 Feb 2014, Jakub Jelinek wrote: Hi! As discussed on IRC, this patch introduces two new attributes, so that the C library (and other headers) have a way to a) tell the compiler something about functions like aligned_alloc or memalign b) tell the compiler the alignment of

Re: wide-int, lto

2014-02-07 Thread Richard Biener
On Thu, Feb 6, 2014 at 7:56 PM, Mike Stump mikest...@comcast.net wrote: On Nov 25, 2013, at 3:09 AM, Richard Biener richard.guent...@gmail.com wrote: please add streamer_read/write_wi () helpers to data-streamer* replicating the above loop N times is too ugly. Agreed. Below is the patch

Re: [RFA] [middle-end/54041] Convert modes as needed from expand_expr

2014-02-07 Thread Richard Biener
On Thu, Feb 6, 2014 at 8:33 PM, Jeff Law l...@redhat.com wrote: expand_expr has, for as long as I can remember, had the ability to ignore the desired mode provided by its callers and instead returning something in a completely different mode. It's always been the caller's responsibility to

Re: minor help message fix

2014-02-07 Thread Richard Biener
On Thu, Feb 6, 2014 at 10:30 PM, Xinliang David Li davi...@google.com wrote: Hi the following patch removes the 'state' print for -ftree-tree-vectorize option which does not make sense anymore. Ok for trunk? Hmm, isn't it more appropriate to remove 'Report' from ftree-vectorize in common.opt?

Re: [ARM][PATCH] Vectorizer generates unaligned access when -mno-unaligned-access is enabled

2014-02-07 Thread Richard Biener
On Fri, Feb 7, 2014 at 7:40 AM, Yury Gribov y.gri...@samsung.com wrote: As can be seen here: http://cbuild.validation.linaro.org/build/cross-validation/gcc/207533/report-build-info.html this has caused some regressions on armv5t targets. IMHO this is expected: with this patch we prohibited

Re: [PATCH] PR60092 - lower posix_memalign to make align-info accessible

2014-02-07 Thread Richard Biener
On Thu, 6 Feb 2014, Richard Biener wrote: On Thu, 6 Feb 2014, Richard Biener wrote: This re-writes posix_memalign calls to posix_memalign (ptr, align, size); tem = *ptr; tem = __builtin_assume_aligned (align); *ptr = tem; during CF lowering (yeah,

Re: [s390] Split out pre-prologue rewrite into separate pass

2014-02-07 Thread Andreas Krebbel
On 04/02/14 12:14, Richard Sandiford wrote: s390_emit_prologue performs some optimisations on the function before emitting the prologue. It also rewrites constant pool accesses to make the base register explicit. Doing this in the prologue pattern makes the interaction with direct returns

Re: [s390] Fix some epilogue CFA notes

2014-02-07 Thread Andreas Krebbel
On 04/02/14 12:19, Richard Sandiford wrote: This patch fixes the CFA notes used when an epilogue restores a GPR from an FPR. It also makes sure that s390_optimize_prologue preserves the CFA information. Tested in the same way as the previous patch. OK to install? Thanks, Richard

Re: [s390] Add return and simple_return patterns

2014-02-07 Thread Andreas Krebbel
On 04/02/14 12:27, Richard Sandiford wrote: This patch adds return and simple_return patterns to the s390 backend, which eanbles shrink-wrapping and conditional returns to be used. Perhaps the only subtle thing is the handling of call-clobbered base registers. The idea is to emit the

Re: [PATCH 12/8] [AVX-512] Improve EAS, ICC, GCC conformance.

2014-02-07 Thread Uros Bizjak
On Fri, Feb 7, 2014 at 10:49 AM, Kirill Yukhin kirill.yuk...@gmail.com wrote: This (should be) the last patch for AVX-512 support in v4.9. It improves correspondence between ICC, SDM [1], and official intrinsics guide [2]. What was done: - Fixed shifts such as VPSLLD and friends. Actual

Re: [PATCH 12/8] [AVX-512] Improve EAS, ICC, GCC conformance.

2014-02-07 Thread Uros Bizjak
On Fri, Feb 7, 2014 at 11:13 AM, Uros Bizjak ubiz...@gmail.com wrote: This (should be) the last patch for AVX-512 support in v4.9. It improves correspondence between ICC, SDM [1], and official intrinsics guide [2]. What was done: - Fixed shifts such as VPSLLD and friends. Actual

[PATCH] Fix for PR60080

2014-02-07 Thread Bernd Edlinger
Hi, there has been a ICE on solaris 9 and 10 when dumping ASM_INPUT objects without valid source loation at print-rtl.c. print_rtx did not check for this, and tried to print NULL with printf format %s. This happens to be handled by glibc's printf to print (null) but not on solaris. Attached is

[PATCH] optabs: Allow CAS expanders to fail

2014-02-07 Thread Andreas Krebbel
Hi, on S/390 128 bit atomic operations are not allowed for misaligned operands. The expanders are supposed to FAIL in that case. While it works for the other routines atomic_load/store it does not work currently during compare and swap expansion. The patch just turns an expand_insn into

[PATCH] S/390: Reject misaligned operands in atomic expanders

2014-02-07 Thread Andreas Krebbel
Hi, on S/390 atomic operands need to be naturally aligned. Otherwise the instruction throws an specification exception. With the patch the expanders reject operands not being properly aligned. This only works if the expander code actually allows atomic expanders to fail. This did not seem to

[PATCH] sync builtin testcase: Add alignment attribute on TImode variable

2014-02-07 Thread Andreas Krebbel
Hi, the S/390 expanders reject operands not being naturally aligned. This makes the gcc-have-sync-compare-and-swap.c failing. The attached patch adds an alignment attribute to the data type used in the check to make it succeed on S/390 again. In the future perhaps it would be more appropriate

Re: [PATCH] PR60092 - lower posix_memalign to make align-info accessible

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 10:33:45AM +0100, Richard Biener wrote: Thus like the following. Bootstrapped and tested on x86_64-unknown-linux-gnu, ok for trunk at this stage? Thanks, Richard. 2014-02-07 Richard Biener rguent...@suse.de PR middle-end/60092 * gimple-low.c

Re: [PATCH] sync builtin testcase: Add alignment attribute on TImode variable

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 02:12:44PM +0100, Andreas Krebbel wrote: 2014-02-07 Andreas Krebbel andreas.kreb...@de.ibm.com * gcc.dg/gcc-have-sync-compare-and-swap.c: Align the 16 byte variable used for atomic operations. Ok. ---

Re: [PATCH] optabs: Allow CAS expanders to fail

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 12:58:37PM +0100, Andreas Krebbel wrote: 2014-02-07 Andreas Krebbel andreas.kreb...@de.ibm.com * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail. Ok. --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -7383,12 +7383,13 @@

[PATCH] Fix more typos in error messages

2014-02-07 Thread Benno Schulenberg
Hi, The below fixes some more typos in GCC's error messages. When found okay, please apply. 2014-02-07 Benno Schulenberg bensb...@justemail.net * config/arc/arc.c (arc_init): Fix typo in error message. * config/i386/i386.c (ix86_expand_builtin): Likewise.

Re: [PATCH] Add alloc_align and assume_aligned attributes (PR middle-end/60092)

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 10:02:29AM +0100, Richard Biener wrote: + if (TREE_CODE (position) != INTEGER_CST + || TREE_INT_CST_HIGH (position) + || TREE_INT_CST_LOW (position) 1 + || TREE_INT_CST_LOW (position) arg_count) You make it easier for wide-int folks if you use

Re: [PATCH] Add alloc_align and assume_aligned attributes (PR middle-end/60092)

2014-02-07 Thread Richard Biener
On Fri, 7 Feb 2014, Jakub Jelinek wrote: On Fri, Feb 07, 2014 at 10:02:29AM +0100, Richard Biener wrote: + if (TREE_CODE (position) != INTEGER_CST + || TREE_INT_CST_HIGH (position) + || TREE_INT_CST_LOW (position) 1 + || TREE_INT_CST_LOW (position) arg_count)

Re: [PING] [PATCH] _Cilk_for for C and C++

2014-02-07 Thread Jakub Jelinek
On Wed, Feb 05, 2014 at 05:27:26AM +, Iyer, Balaji V wrote: Attached, please find a fixed patch (diff.txt) that will do as you requested (model _Cilk_for like a #pragma omp parallel for). Along with this, I have also attached two Changelog entries (1 for C and 1 for C++). It

RE: [PING] [PATCH] _Cilk_for for C and C++

2014-02-07 Thread Iyer, Balaji V
-Original Message- From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Jakub Jelinek Sent: Friday, February 7, 2014 9:03 AM To: Iyer, Balaji V Cc: 'Jason Merrill'; 'Jeff Law'; 'Aldy Hernandez'; 'gcc-patches@gcc.gnu.org'; 'r...@redhat.com'

Re: [PING] [PATCH] _Cilk_for for C and C++

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 02:33:41PM +, Iyer, Balaji V wrote: So, the issues I see: 1) what is iter.1, why do you have it at all, and, after all, the iterator is a class that needs to be constructed/destructed in the general way, so creating any further copies of something is both

Re: Avoid unnnecesary copying of ipa-prop's expressions

2014-02-07 Thread Jan Hubicka
On Thu, 6 Feb 2014, Jan Hubicka wrote: Hi, at WPA we currently read trees accessed by jump functions and then copy them to remove location that is already known to be UNKNOWN and then keep copying them for every inline clone introduced (and there are many for firefox) This patch

Re: [PATCH] New optimize(0) versioning fix (PR target/60026, take 2)

2014-02-07 Thread Jan Hubicka
On Fri, Feb 07, 2014 at 12:50:22AM +0100, Jan Hubicka wrote: Don't we want to check opt_for_fn (node-decl, cp) instead and arrange -fipa-cp to be false when !optimize? I can easily imagine using !opt_for_fn (node-decl, optimize) || !opt_for_fn (node-decl, flag_ipa_cp) but

Re: [PATCH] Fix linemap_location_before_p with adhoc locs (PR preprocessor/56824)

2014-02-07 Thread Tom Tromey
Jakub == Jakub Jelinek ja...@redhat.com writes: Jakub Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Ok. Thanks. Tom

Fix _Unwind_GetIPInfo detection on Mac OS X 10.4

2014-02-07 Thread Misty De Meo
Revision 192853 added a new test for availability of _Unwind_GetIPInfo in the system unwinder to the configure script of libbacktrace: http://repo.or.cz/w/official-gcc.git/commitdiff/a4a5a77adfc9c28d6963e5ae054c997d57cfc7fa It was apparently added to fix a bug building with GCC 4.0 on Mac OS X

Re: minor help message fix

2014-02-07 Thread Xinliang David Li
On Fri, Feb 7, 2014 at 1:22 AM, Richard Biener richard.guent...@gmail.com wrote: On Thu, Feb 6, 2014 at 10:30 PM, Xinliang David Li davi...@google.com wrote: Hi the following patch removes the 'state' print for -ftree-tree-vectorize option which does not make sense anymore. Ok for trunk?

Re: [PATCH] Fix PR52289, a typoed word in an error message

2014-02-07 Thread Jeff Law
On 02/06/14 13:39, Benno Schulenberg wrote: [Oops, had a wrong bug number in the subject line.] Below patch fixes another miswording in an error message, reported by Roland Stigge. Please apply. 2014-02-06 Benno Schulenberg bensb...@justemail.net PR translation/52289 *

Re: RFA: MN10300: Include saved registers in stack usage

2014-02-07 Thread Jeff Law
On 02/06/14 08:37, nick clifton wrote: Hi Jeff, According to our coding conventions, the ability to build with something other than gcc is still desirable. You could argue that you're unlikely to be bootstrapping on a mn103 with something other than GCC and if you're building a cross, you

Re: [PATCH] optabs: Allow CAS expanders to fail

2014-02-07 Thread Joseph S. Myers
On Fri, 7 Feb 2014, Andreas Krebbel wrote: Hi, on S/390 128 bit atomic operations are not allowed for misaligned operands. The expanders are supposed to FAIL in that case. While it works for the other routines atomic_load/store it does not work currently during compare and swap

Re: [Bug fortran/60066] Bad elemental invocation of non-scalar base object

2014-02-07 Thread Paul Richard Thomas
Dear All, I propose to add the attached to the testsuite. It is the testcase from PR60066, which was fixed by the patch for PR59066. OK for trunk, 4.8 and 4.7? On 5 February 2014 12:38, pault at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60066

New Finnish PO file for 'cpplib' (version 4.9-b20140202)

2014-02-07 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Finnish team of translators. The file is available at: http://translationproject.org/latest/cpplib/fi.po (This file,

Contents of PO file 'cpplib-4.9-b20140202.fi.po'

2014-02-07 Thread Translation Project Robot
cpplib-4.9-b20140202.fi.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator. coordina...@translationproject.org

RFA: patch for PR59535

2014-02-07 Thread Vladimir Makarov
The following patch improves code size for ARM. Before the patch CSiBE size generated by GCC configured --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard (with -mthumb) was 2414926 After the patch the size is 2396798 For comparison, when the reload pass is used the size is

Re: [Patch, Fortran] PR 58470: [4.9 Regression] [OOP] ICE on invalid with FINAL procedure and type extension

2014-02-07 Thread Janus Weil
But after all I think that the patch should not hurt. After giving it some second thoughts, the only alternative I could see is this: Index: gcc/fortran/resolve.c === --- gcc/fortran/resolve.c(revision 207485) +++

Re: Fix _Unwind_GetIPInfo detection on Mac OS X 10.4

2014-02-07 Thread Ian Lance Taylor
On Fri, Feb 7, 2014 at 9:06 AM, Misty De Meo mistyde...@gmail.com wrote: Revision 192853 added a new test for availability of _Unwind_GetIPInfo in the system unwinder to the configure script of libbacktrace:

[RFC] PR 59776 - esra vs gimple_debug

2014-02-07 Thread Richard Henderson
In the testcases with the PR, we have a bit of type punning going on, *(int *) s2.f = 0; s2 = s1; which SRA trasforms to # DEBUG s2 = 0 MEM[(int *)s2] = 0; # DEBUG s2 = s1$f_7 # DEBUG s2$g = s1$g_6 s2 ={v} {CLOBBER}; Note that it has chosen not to expand s1.f like s1.g, but to

Fix more trivial comment typos

2014-02-07 Thread Jeff Law
I meant to install this a week or so ago, but got sidetracked by other more pressing issues. Installed on the trunk as obvious. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5703bb5..ce9c066 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-02-07 Jeff Law

Re: [Patch, Fortran] PR 58470: [4.9 Regression] [OOP] ICE on invalid with FINAL procedure and type extension

2014-02-07 Thread Mikael Morin
Le 06/02/2014 23:40, Janus Weil a écrit : Hi Mikael, thanks for your comments ... attached is a small patch which fixes an ICE-on-invalid regression with finalization. In the PR, Dominique objected to the patch, but I think it's the correct thing to do after all. The line that I'm

Re: [Patch, Fortran] PR 58470: [4.9 Regression] [OOP] ICE on invalid with FINAL procedure and type extension

2014-02-07 Thread Mikael Morin
Le 07/02/2014 21:42, Mikael Morin a écrit : maybe add gcc_assert to make it clear that fini-proc_tree should be set at this point. Or better: a comment ;-)

Re: remove C_EXPR_APPEND macro

2014-02-07 Thread Joseph S. Myers
On Sat, 8 Feb 2014, Prathamesh Kulkarni wrote: This patch removes C_EXPR_APPEND macro in c-tree.h OK for trunk ? Thanks, this is OK with the orphan comment A varray of c_expr_t. also removed (please send the revised patch if you'd like someone to commit it for you). Although this is small

remove C_EXPR_APPEND macro

2014-02-07 Thread Prathamesh Kulkarni
This patch removes C_EXPR_APPEND macro in c-tree.h OK for trunk ? * c-parser.c (c_parser_get_builtin_args): replace calls to C_EXPR_APPEND (cexpr_list, expr) by vec_safe_push (cexpr_list, expr) * c-tree.h (C_EXPR_APPEND): removed Index: gcc/c/c-parser.c

Re: Fix _Unwind_GetIPInfo detection on Mac OS X 10.4

2014-02-07 Thread Misty De Meo
On Fri, Feb 7, 2014 at 11:09 AM, Ian Lance Taylor i...@google.com wrote: On Fri, Feb 7, 2014 at 9:06 AM, Misty De Meo mistyde...@gmail.com wrote: Revision 192853 added a new test for availability of _Unwind_GetIPInfo in the system unwinder to the configure script of libbacktrace:

Re: remove C_EXPR_APPEND macro

2014-02-07 Thread Prathamesh Kulkarni
On Sat, Feb 8, 2014 at 2:22 AM, Joseph S. Myers jos...@codesourcery.com wrote: On Sat, 8 Feb 2014, Prathamesh Kulkarni wrote: This patch removes C_EXPR_APPEND macro in c-tree.h OK for trunk ? Thanks, this is OK with the orphan comment A varray of c_expr_t. also removed (please send the

Re: Fix _Unwind_GetIPInfo detection on Mac OS X 10.4

2014-02-07 Thread Ian Lance Taylor
On Fri, Feb 7, 2014 at 12:59 PM, Misty De Meo mistyde...@gmail.com wrote: On Fri, Feb 7, 2014 at 11:09 AM, Ian Lance Taylor i...@google.com wrote: On Fri, Feb 7, 2014 at 9:06 AM, Misty De Meo mistyde...@gmail.com wrote: Revision 192853 added a new test for availability of _Unwind_GetIPInfo in

Re: remove C_EXPR_APPEND macro

2014-02-07 Thread Marek Polacek
On Sat, Feb 08, 2014 at 02:51:03AM +0530, Prathamesh Kulkarni wrote: On Sat, Feb 8, 2014 at 2:22 AM, Joseph S. Myers jos...@codesourcery.com wrote: On Sat, 8 Feb 2014, Prathamesh Kulkarni wrote: This patch removes C_EXPR_APPEND macro in c-tree.h OK for trunk ? Thanks, this is OK

Re: [Bug fortran/60066] Bad elemental invocation of non-scalar base object

2014-02-07 Thread Mikael Morin
Le 07/02/2014 19:18, Paul Richard Thomas a écrit : Dear All, I propose to add the attached to the testsuite. It is the testcase from PR60066, which was fixed by the patch for PR59066. OK for trunk, 4.8 and 4.7? Yes, sure. Mikael.

Re: remove C_EXPR_APPEND macro

2014-02-07 Thread Prathamesh Kulkarni
On Sat, Feb 8, 2014 at 3:06 AM, Marek Polacek pola...@redhat.com wrote: On Sat, Feb 08, 2014 at 02:51:03AM +0530, Prathamesh Kulkarni wrote: On Sat, Feb 8, 2014 at 2:22 AM, Joseph S. Myers jos...@codesourcery.com wrote: On Sat, 8 Feb 2014, Prathamesh Kulkarni wrote: This patch removes

Re: RFA: patch for PR59535

2014-02-07 Thread Jeff Law
On 02/07/14 11:20, Vladimir Makarov wrote: The following patch improves code size for ARM. Before the patch CSiBE size generated by GCC configured --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard (with -mthumb) was 2414926 After the patch the size is 2396798 For comparison,

Re: [RFA] [middle-end/54041] Convert modes as needed from expand_expr

2014-02-07 Thread Jeff Law
On 02/07/14 02:17, Richard Biener wrote: diff --git a/gcc/expr.c b/gcc/expr.c index 878a51b..9609c45 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -7708,6 +7708,11 @@ expand_expr_addr_expr_1 (tree exp, rtx target, enum machine_mode tmode, modifier == EXPAND_INITIALIZER

Re: [PATCH] Add alloc_align and assume_aligned attributes (PR middle-end/60092)

2014-02-07 Thread Bernhard Reutner-Fischer
On 6 February 2014 16:42:05 Jakub Jelinek ja...@redhat.com wrote: Hi! As discussed on IRC, this patch introduces two new attributes, so that the C library (and other headers) have a way to a) tell the compiler something about functions like aligned_alloc or memalign b) tell the compiler the

[PR target/40977] Split ashldi_extsi

2014-02-07 Thread Jeff Law
As outlined in the PR, we end up generating poor code because of the existence of the ashldi_extsi insn in the m68k backend. The pattern recognizes that left shifting a DImode value by 32 deposits the low part of the input into the high part of the output and clears the low part of the

Re: [RFC] PR 59776 - esra vs gimple_debug

2014-02-07 Thread Richard Biener
On February 7, 2014 8:35:16 PM GMT+01:00, Richard Henderson r...@redhat.com wrote: In the testcases with the PR, we have a bit of type punning going on, *(int *) s2.f = 0; s2 = s1; which SRA trasforms to # DEBUG s2 = 0 MEM[(int *)s2] = 0; # DEBUG s2 = s1$f_7 # DEBUG s2$g = s1$g_6

[PATCH] Fix Cilk+ catch_exc.cc

2014-02-07 Thread Jakub Jelinek
Hi! install_builtin calls build_fn_decl, which sets TREE_NOTHROW by default. In most cases I think that is desirable, but __cilkrts_rethrow apparently conditionally throws an exception, thus marking it TREE_NOTHROW is very much undesirable and the fact that the testcase happened to work (except

RE: [PATCH] Fix Cilk+ catch_exc.cc

2014-02-07 Thread Iyer, Balaji V
Hi Jakub, This should fix PR 59834 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59834) on i686-linux. Thanks, Balaji V. Iyer. -Original Message- From: Jakub Jelinek [mailto:ja...@redhat.com] Sent: Friday, February 7, 2014 6:51 PM To: Iyer, Balaji V; Richard Biener Cc:

Re: Disable accumulate-outgoing-args for Generic and Buldozers

2014-02-07 Thread Jakub Jelinek
On Thu, Feb 06, 2014 at 06:25:16PM +0100, Jan Hubicka wrote: The expr.[ch]/function.h/tree-tailcall.c bits are ok. I see your changes clash with my PR60077 fix, does your patch make them obsolete and you take care of using proper alignment info? If so, at least the two tests from that PR's

Re: [RFC] PR 59776 - esra vs gimple_debug

2014-02-07 Thread Richard Henderson
On 02/07/2014 03:12 PM, Richard Biener wrote: On February 7, 2014 8:35:16 PM GMT+01:00, Richard Henderson r...@redhat.com wrote: In the testcases with the PR, we have a bit of type punning going on, *(int *) s2.f = 0; s2 = s1; which SRA trasforms to # DEBUG s2 = 0 MEM[(int *)s2] =

Re: [RFC] PR 59776 - esra vs gimple_debug

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 04:37:22PM -0800, Richard Henderson wrote: Thoughts on how this might really be solved? Add a VIEW_CONVERT_EXPR around the rhs of the debug statement. Well, ok, though I'm pretty sure that the debug info will pretty much barf on that immediately. Why? That is

[PATCH, ARM] Document armv7e-m for ARM option -march

2014-02-07 Thread Terry Guo
Hi, This small patch intends to add missing armv7e-m in the documentation of ARM option -march. I will commit it to trunk and then back port to 4.7/4.8 branch as obvious. BR, Terry 2014-02-08 Terry Guo terry@arm.com * doc/invoke.texi: Document ARM -march=armv7e-m. diff --git

RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8

2014-02-07 Thread Joey Ye
Ping ^ 2 OK to 4.8? -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Monday, January 20, 2014 10:47 To: gcc-patches@gcc.gnu.org Subject: RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8 Ping -Original Message- From: Joey Ye

FRE may run out of memory

2014-02-07 Thread dxq
hi all, We found that gcc would run out of memory on Windows when compiling a *big* function (10 lines). More investigation shows that gcc crashes at the function *compute_avail*, in tree-fre pass. *compute_avail* collects information from basic blocks, so memory is allocated to record