Re: PATCH: PR target/54785: Document -mprefer-avx128

2012-10-02 Thread Uros Bizjak
On Tue, Oct 2, 2012 at 11:01 PM, H.J. Lu hjl.to...@gmail.com wrote: This patch documents -mprefer-avx128. OK for trunk and 4.7? 2012-10-02 H.J. Lu hongjiu...@intel.com PR target/54785 * doc/invoke.texi: Document -mprefer-avx128. OK everywhere. Thanks, Uros.

[C++ PATCH] Fix ICE with COMPOUND_EXPR in constexpr (PR c++/54777)

2012-10-02 Thread Jakub Jelinek
Hi! We ICE on the following testcase, because cxx_eval_constant_expression on COMPOUND_EXPR uses STRIP_NOPS (op1) - needed for the check whether it is an artificial COMPOUND_EXPR. Unfortunately that means it uses op1 without NOP_EXPRs even if it is a user comma expression. Fixed thusly,

Go patch committed: Update testsuite

2012-10-02 Thread Ian Lance Taylor
This patch updates the Go testsuite to the current master testsuite. All the tests should pass. The complete patch is too large to include here, and consists simply of copying files from the master repository. I have included only the patch to the testsuite driver, go-test.exp. The Go testsuite

Go patch committed: Fix parse of (- chan - chan - int)(x)

2012-10-02 Thread Ian Lance Taylor
http://code.google.com/p/go/issues/detail?id=4110 points out that the Go frontend is misparsing some channel operations. The parsing in this area is rather complex for a recursive descent parser (though straightforward for an LALR parser). In any case, this patch fixes the problem. Bootstrapped

Re: RFC: LRA for x86/x86-64 [7/9]

2012-10-02 Thread Vladimir Makarov
On 12-10-02 7:30 AM, Bernd Schmidt wrote: On 09/28/2012 12:59 AM, Vladimir Makarov wrote: + We keep RTL code at most time in such state that the virtual + registers can be changed by just the corresponding hard registers + (with zero offsets) and we have the right RTL code. To achieve

Go patch committed: Fix some type reflection strings

2012-10-02 Thread Ian Lance Taylor
This patch to the Go frontend fixes the type reflection strings in a couple of cases to match those generated by the gc compiler. For an empty struct, this generates struct {} rather than struct { }. For a type defined within a function, this generates pkg.type rather than

Re: RFC: LRA for x86/x86-64 [7/9]

2012-10-02 Thread Vladimir Makarov
On 10/02/2012 06:42 PM, Bernd Schmidt wrote: On 10/03/2012 12:29 AM, Vladimir Makarov wrote: On 12-10-02 7:30 AM, Bernd Schmidt wrote: On 09/28/2012 12:59 AM, Vladimir Makarov wrote: + We keep RTL code at most time in such state that the virtual + registers can be changed by just the

Re: Use conditional casting with symtab_node

2012-10-02 Thread Lawrence Crowl
Updated Patch Add functions symtab_node_def::try_function and symtab_node_def::try_variable. These function return a pointer to the more specific type (e.g. cgraph_node*) if and only if the general type (symtab_node aka symtab_node_def*) is an instance of the specific type. These functions are

Propagate profile counts during switch expansion

2012-10-02 Thread Easwaran Raman
Hi, This patch propagates the profile counts during RTL expansion. In many cases, there is no way to determine the exact count of an edge generated during the expansion. So this patch uses some simple heuristics to estimate the edge counts but ensures that the counts of the basic blocks

Re: Second ping: Re: Add a configure option to disable system header canonicalizations (issue6495088)

2012-10-02 Thread Ollie Wild
Tom, this is mainly a libcpp change. Would you mind taking a look? Thanks, Ollie On Mon, Oct 1, 2012 at 9:56 AM, Simon Baldwin sim...@google.com wrote: Ping, again. On 21 September 2012 12:45, Simon Baldwin sim...@google.com wrote: Ping.

[PATCH, build]: Compile with -fasynchronous-unwind-tables

2012-10-02 Thread Uros Bizjak
On Tue, Oct 2, 2012 at 8:31 PM, Ian Lance Taylor i...@google.com wrote: On a related issue, it looks to me that the compiler itself should be compiled with -funwind-tables, otherwise there are no backtraces generated, even if libbacktrace is linked in and operational. Again,

Re: Convert more non-GTY htab_t to hash_table.

2012-10-02 Thread Ian Lance Taylor
On Tue, Oct 2, 2012 at 12:10 PM, Lawrence Crowl cr...@googlers.com wrote: On 10/2/12, Richard Guenther rguent...@suse.de wrote: You are changing a hashtable used by fold checking, did you test with fold checking enabled? I didn't know I had to do anything beyond the normal make check. What

libgo patch committed: Update to Go 1.0.3 release

2012-10-02 Thread Ian Lance Taylor
This patch updates libgo to the Go 1.0.3 release. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch. Ian foo.patch.bz2 Description: patch

<    1   2