Re: PR 54075 Restore 4.6 growth factor

2012-07-28 Thread Jonathan Wakely
Please remember to CC gcc-patches too. On 28 July 2012 21:49, François Dumont wrote: > Hi > > Here is the patch to restore the 4.6 growth factor of 2. I prefer to > validate the restored behavior by adding a performance test. Without the > patch the result was: > > unordered_set.cc

[C++ Patch] PR 53624

2012-07-28 Thread Paolo Carlini
Hi, as the testcase shows (merge of 53624 & 54104), in case of local types (possibly synthesized for a lambda) we check for the default template arguments of the synthesized template parameters according to the rules for *types* (instead of those for functions) and we spuriously reject. As fa

complex.h

2012-07-28 Thread Marc Glisse
Hello, here is a patch for PR54112. It does 2 things: * #undef complex after including the system's complex.h * in C++11, still include the system's complex.h The C++11 standard says that including complex.h is equivalent to including , with the rationale that a C++ compiler can't parse a C99

Re: [RFC C++ / PR51033 ] Handle __builtin_shuffle in constexpr properly in the C++ frontend.

2012-07-28 Thread Marc Glisse
On Mon, 18 Jun 2012, Ramana Radhakrishnan wrote: This patch following on from the fix for turning on __builtin_shuffle for c++ , enables folding of vec_perm_exprs in the front-end for constexpr and constructor style values. Hello, I took a look, and the example I gave in http://gcc.gnu.org/ml

[PATCH v3, i386]: Handle zero extended addresses in ix86_avoid_lea_for_addr

2012-07-28 Thread Uros Bizjak
On Fri, Jul 27, 2012 at 7:16 PM, Uros Bizjak wrote: >> Attached patch enables ix86_avoid_lea_for_addr to process >> zero-extended addresses. This patch should help atom performance, >> especially in x32 mode. >> >> Please note the complication with insn re-recognition in >> ix86_avoid_lea_for_add