Re: extend fwprop optimization

2013-03-17 Thread Andrew Pinski
On Sun, Mar 17, 2013 at 12:15 AM, Wei Mi w...@google.com wrote: Hi, On Sat, Mar 16, 2013 at 3:48 PM, Steven Bosscher stevenb@gmail.com wrote: On Tue, Mar 12, 2013 at 8:18 AM, Wei Mi wrote: For the motivational case, I need insn splitting to get the cost right. insn splitting is not

[patch, fortran, 4.9] Improve efficiency of array constructor operators

2013-03-17 Thread Thomas Koenig
Hello world, this patch finally makes the idiom if (any([a,b,c] eps)) then equivalent to if (aeps .or. beps .or. ceps) then so that there is no loss in efficiency through generating temporary arrays. OK for trunk? Thomas 2013-03-17 Thomas Koenig tkoe...@gcc.gnu.org

Fix ICE building Mozilla with LTO

2013-03-17 Thread Jan Hubicka
Hi, current mainline (as well as release branch) dies by ICE in cgraph_mark_address_taken because we attempt to create reference to inline clone. This happens becuase of ltrans propagation for pretty special case from devirtualization missed by WPA but taken by constant propagation happening

Fold VEC_COND_EXPR to abs, min, max

2013-03-17 Thread Marc Glisse
Hello, this patch adds a bit of folding to VEC_COND_EXPR so it is possible to generate ABS_EXPR and MAX_EXPR for vectors without relying on the vectorizer. I would have preferred to merge the COND_EXPR and VEC_COND_EXPR cases, but there are too many things that need fixing first, so I just

[committed] Fix ARM REG_CLASS_NAMES (PR target/56640)

2013-03-17 Thread Jakub Jelinek
Hi! Committed as obvious to trunk and 4.8 branch. 2013-03-17 Jakub Jelinek ja...@redhat.com PR target/56640 * config/arm/arm.h (REG_CLASS_NAMES): Add SFP_REG and AFP_REG class names. Remove trailing comma after ALL_REGS. --- gcc/config/arm/arm.h2013-03-16

[v3] libstdc++/55979 (+ notes about 55977)

2013-03-17 Thread Paolo Carlini
Hi, I had a look to these two PRs and, as regards the former, the below patchlet seems Ok to me even for 4.8.1. About the latter: a similar change works fine for std::vector and std::deque, but std::list for example has another problem, which is already exposed by the v1.emplace_back(i);

Re: [v3] libstdc++/55979 (+ notes about 55977)

2013-03-17 Thread Jonathan Wakely
On 17 March 2013 17:14, Paolo Carlini wrote: I guess we could at least work around the problem by going back to _M_get_Tp_allocator().construct in _M_create_node (or, better, the allocator_traits::construct equivalent, per the recent fix for 56613; we would use it on _Tp actually, everywhere)

Re: Fix a MinGW warning in libiberty/setenv.c

2013-03-17 Thread Eli Zaretskii
Date: Wed, 13 Mar 2013 11:52:48 -0700 From: Ian Lance Taylor i...@google.com Cc: gdb-patc...@sourceware.org, d...@redhat.com, gcc-patches@gcc.gnu.org On 3/13/13, Eli Zaretskii e...@gnu.org wrote: #ifdef __MSVCRT__ extern _CRTIMP char *** __cdecl __MINGW_NOTHROW

[PATCH 1/n, i386]: Introduce x64 and nox64 isa attributes; merge FP move patterns

2013-03-17 Thread Uros Bizjak
Hello! Attached patch introduces x64 and nox64 isa attributes. These are used to merge various TARGET_64BIT only patterns with base patterns. This patch merges FP move patters, but there will be several follow-up patches that merge other patterns, too. 2013-03-17 Uros Bizjak ubiz...@gmail.com

Re: [patch, fortran, 4.9] Dependency and string length calculation improvements

2013-03-17 Thread Dominique Dhumieres
Thomas, Your test gfortran.dg/dependency_40.f90 does not have depedencies and does not create a temporary (assuming that -Warray-temporaries does not miss any) with/without your patch and with gcc4.6, 4.7, and 4.8. 4.5 gives a warning. I have tried a few variants attempting to create a temporary

Re: C++ PATCH for c++/17232 (abstract class, array and sfinae)

2013-03-17 Thread Jason Merrill
On 03/16/2013 03:38 PM, Jason Merrill wrote: In SFINAE context, we need to instantiate a class so that we can tell whether or not is abstract. Doing this in non-SFINAE context caused problems, so I've made it conditional. But it still causes problems, such as PR 56642. So I've reverted the

[PATCH, boehm-gc, AArch64] Add AArch64 support

2013-03-17 Thread Yvan Roux
Hi, this is a backport from gc mainline of the basic AArch64 support (it covers the Linux and bare machine mode). I tested it on the Foundation model with enabling the objc frontend, and passing the testsuite manually (maybe I miss-configured it, but it seems that the boehm-gc testsuite is not

Re: C++ PATCH for c++/54359 ('this' in trailing-return-type with out-of-class method defn)

2013-03-17 Thread Jason Merrill
This patch caused c++/56639: when within a function we were trying to parse something that could be either a declaration or an expression, we went to set current_class_ptr and failed the assertion that it wasn't already set. We could save and restore the value, but instead with this patch I