Re: [off list] Re: [PATCH] x86: use 'rep bsf' syntax when assembler supports it

2012-07-01 Thread Uros Bizjak
On Sat, Jun 23, 2012 at 12:00 AM, Roland McGrath wrote: > Here is an alternative patch that just changes the configure test > controlling %; so it will elide the ; only for an assembler that > also accepts 'rep bsf', 'rep bsr', and 'rep ret', and just uses > %; for these cases too. You'll need to

[PATCH, c-family]: Remove unused variables from c_common_write_pch

2012-07-01 Thread Uros Bizjak
Hello! 2012-07-01 Uros Bizjak * c-pch.c (c_common_write_pch): Remove unused variables. Tested on x86_64-pc-linux-gnu, committed to mainline SVN. Uros. Index: c-pch.c === --- c-pch.c (revision 189099) +++ c-pch.c

Re: [patch] Move lowering of switches to bit tests to GIMPLE

2012-07-01 Thread Richard Guenther
On Sat, Jun 30, 2012 at 12:29 PM, Steven Bosscher wrote: > Hello, > > This patch moves the emit_case_bit_tests method of switch lowering > from 'expand' to a GIMPLE pass. > > Initially, I planned to move all switch lowering to something other > than a casesi or tablejump to GIMPLE, but this is mor

Re: [Patch, Fortran] Handle C_F_POINTER with a noncontiguous SHAPE=

2012-07-01 Thread Dominique Dhumieres
Hi Tobias, I am puzzled by the subject: the test gfortran.dg/c_f_pointer_shape_tests_5.f90 does not need the patch to succeed (at least after 4.5.3, it fails only for 4.4.6). Note that the similar test in http://gcc.gnu.org/ml/fortran/2012-04/msg00115.html fails because c_f_pointer(x, ptr, shap

[PATCH, i386]: Use __builtin_ia32_pause some more

2012-07-01 Thread Uros Bizjak
Hello! gcc/ 2012-07-01 Uros Bizjak * config/i386/xmmintrin.h (_mm_sfence): Use __builtin_ia32_pause. libgomp/ 2012-07-01 Uros Bizjak * config/linux/x86/futex.h (cpu_relax): Use __builtin_ia32_pause. * testsuite/libgomp.c/sort-1.c (busy_wait): Ditto. libitm/ 201

Re: [PATCH] Don't try to perform conditional_replacement on vectors (PR tree-optimization/53748)

2012-07-01 Thread Paolo Bonzini
Il 25/06/2012 16:44, Jakub Jelinek ha scritto: > Hi! > > On vectors, even when they satisfy > integer_zerop/integer_onep/integer_all_onesp, the routine doesn't > handle vector types and it is questionable if it would be a good > optimization for them anyway. I think it's not questionable at all,

Re: [C++ Pubnames Patch] Anonymous namespaces enclosed in named namespaces. (issue6343052)

2012-07-01 Thread Gabriel Dos Reis
On Thu, Jun 28, 2012 at 12:50 PM, Sterling Augustine wrote: > The enclosed patch adds a fix for the pubnames anonymous namespaces contained > within named namespaces, and adds an extensive test for the various pubnames. > > The bug is that when printing at verbosity level 1, and lang_decl_name see

Re: [wwwdocs] Update coding conventions for C++

2012-07-01 Thread Gabriel Dos Reis
On Fri, Jun 29, 2012 at 1:17 PM, Lawrence Crowl wrote: > Resend, as I replied to a message that didn't have the usual suspects > on the cc line. > > On 6/27/12, Lawrence Crowl wrote: >> ..., does anyone object to removing the permission to use C++ >> streams? > > Having heard no objection, I remo

Re: [wwwdocs] Update coding conventions for C++

2012-07-01 Thread Jason Merrill
On 06/29/2012 02:17 PM, Lawrence Crowl wrote: +RTTI anddynamic_cast + + +Run-time type information (RTTI) is permitted +when certain non-default--enable-checking options are enabled, +so as to allow checkers to report dynamic types. +However, by default, RTTI is not permitted +and the compiler m

Re: [ARM Patch 1/n] PR53447: optimizations of 64bit ALU operation with constant

2012-07-01 Thread Carrot Wei
On Fri, Jun 29, 2012 at 9:57 PM, Ramana Radhakrishnan wrote: > > On 29 June 2012 12:23, Carrot Wei wrote: > > Hi > > > > So the following is updated patch. Tested on qemu with arm/thumb modes > > Assuming this testing was with and without neon ? Because the patterns > changed are different whethe

[wwwdocs] Buildstat update for 4.7

2012-07-01 Thread Tom G. Christensen
Latest results for 4.7.x -tgc Testresults for 4.7.1: alphaev68-unknown-linux-gnu i386-pc-solaris2.8 (2) i686-pc-linux-gnu (2) powerpc-apple-darwin8.11.0 x86_64-unknown-linux-gnu --- buildstat.html 2012-06-15 20:00:05.615216445 +0200 +++ /tmp/buildstat.out 2012-07-01 20:56:20.97961

Re: [patch] Move lowering of switches to bit tests to GIMPLE

2012-07-01 Thread Steven Bosscher
On Sun, Jul 1, 2012 at 11:58 AM, Richard Guenther wrote: >> OK for trunk? > > This is ok. Grrr, I now get regressions on both powerpc64 and x86_64 (although both still bootstrap). I'm withdrawing this patch until I've sorted out these new problems. Ciao! Steven

[SH] PR 51244 - Eliminate redundant movt and tst insns.

2012-07-01 Thread Oleg Endo
Hello, The attached patch is the same patch as posted in the PR. It eliminates redundant movt and tst insns, which started to appear a while ago. Tested against rev 189081 with make -k check RUNTESTFLAGS="--target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a/-mb,-m2a-single/-mb,-m4/-ml,-m4/-mb, -m4-sing

Re: [SH] PR 51244 - Eliminate redundant movt and tst insns.

2012-07-01 Thread Kaz Kojima
Oleg Endo wrote: > The attached patch is the same patch as posted in the PR. > It eliminates redundant movt and tst insns, which started to appear a > while ago. This patch is OK. Regards, kaz