Re: [PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-24 Thread Eric Botcazou
> Passes bootstrap and regression test powerpc64-linux. Thanks a lot, Alan! So, Aurelien, you only need to adjust the formatting of the patch and post a ChangeLog entry along with it. TIA. -- Eric Botcazou

Re: [wwwdocs] Fix some nits in GCC 4.7 changes.html

2012-03-24 Thread Gerald Pfeifer
On Thu, 22 Mar 2012, Rainer Orth wrote: > Indeed: neither the original nor my patch were right here. I've updated > my patch to include the correct syntax. > > Ok now? Oh, yes. You just could have gone ahead. :-) Gerald

Re: RFA: Document addition of Epiphany support

2012-03-24 Thread Gerald Pfeifer
Sure, this is a no-brainer. As a port maintainer, the release notes are yours for changes like this (and others). :-) Gerald

[patch, fortran-dev] Use fixed variable sizes for stride calculations

2012-03-24 Thread Thomas Koenig
Hello world, this patch uses division by known sizes (which can usually be replaced by a simple shift because intrinsics have sizes of power of two) instead of division by the size extracted from the array descriptor itself. This should save about 20 cycles for a single calculation. I'll go thr

PATCH [4.7]: Fix a typo in testsuite/demangle-expected

2012-03-24 Thread H.J. Lu
Hi, I am checking this patch into 4.7 branch to fix a typo in testsuite/demangle-expected. Otherwise demangle test will fail. H.J. -- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 2517416..c0ed02f 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2012-03-

PATCH: PR target/52698: -maddress-mode=long doesn't work

2012-03-24 Thread H.J. Lu
Hi, Zero-extend UNSPEC_TP leads problems in ix86_decompose_address. In 64bit mode for both x32 and x86-64, thread pointer is an address stored in %fs, which is a 64bit segment register. Since there is no direct access to %fs from user space, OS provides a system call to write/read %fs: i

[SPARC] Fix PR target/52656

2012-03-24 Thread Eric Botcazou
An obvious pasto. Applied on the mainline. 2012-03-24 Eric Botcazou PR target/52656 * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto. -- Eric Botcazou Index: config/sparc/sparc.c === --- config/spa

[SPARC] Fix PR target/52610

2012-03-24 Thread Eric Botcazou
We need to pass -Av8 to the assembler when -mcpu=leon is specified. Applied on the mainline and 4.7 branch. 2012-03-24 Eric Botcazou PR target/52610 * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon. -- Eric Botcazou Index: config/sparc/sparc.h ===

Minor tweaks in optimize_bitfield_assignment_op

2012-03-24 Thread Eric Botcazou
optimize_bitfield_assignment_op deals with PLUS_EXPR/MINUS_EXPR on the one hand and with BIT_IOR_EXPR/BIT_XOR_EXPR on the other hand. The code for the former pair uses str_mode/str_bitsize whereas the code for the latter pair uses the more convoluted GET_MODE (str_rtx) and GET_MODE_BITSIZE (GET

[patch] Assert assemble_external is only called during or after expanding to RTL

2012-03-24 Thread Steven Bosscher
Hello, This patch tightens the conditions on when assemble_external() may be called. It also removes a comment that "most platforms do not define ASM_OUTPUT_EXTERNAL", because hasn't been true since r119764 added a definition of ASM_OUTPUT_EXTERNAL to elfos.h. This is the first step toward addres

Re: [wwwdocs] Fix some nits in GCC 4.7 changes.html

2012-03-24 Thread Gerald Pfeifer
On Thu, 22 Mar 2012, Rainer Orth wrote: > One issue I forgot: there are currently two instances of the long form > of the bugzilla URLs. Shouldn't we better use http://gcc.gnu.org/PR > here? Good idea, yes. Changed thusly. Gerald Index: gcc-4.7/changes.html

[wwwdocs] Use generic bug references in GCC 4.6 release notes

2012-03-24 Thread Gerald Pfeifer
Rainer noticed that we were not consistent here for the GCC 4.7 release note, and after fixing those, I realized that GCC 4.6 is also affected. Fixed thusly. Gerald Index: changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/c

PATCH: Add OPTION_MASK_ISA_X86_64 and support TARGET_BI_ARCH == 2

2012-03-24 Thread H.J. Lu
Hi, In i386 option mask, there is OPTION_MASK_ISA_64BIT for -m64 or -mx32 code generations and OPTION_MASK_ISA_X32 for -mx32 code generation. We support -m64: OPTION_MASK_ISA_64BIT && !OPTION_MASK_ISA_X32 -mx32: OPTION_MASK_ISA_64BIT && OPTION_MASK_ISA_X32 -m32: !OPTION_MASK_ISA_64BIT i386.opt h

Re: [wwwdocs] Add link to Git mirror on main page

2012-03-24 Thread Gerald Pfeifer
On Thu, 22 Mar 2012, Diego Novillo wrote: > From a thread on IRC. We don't have a prominent link to the Git mirror > and it's becoming one of the favourite ways for people to access the > repo. > > Gerald, OK for the main page? I can't seem to be able to preview this > change locally (dunno h

C++ PATCH to add auto return type deduction with -std=c++1y

2012-03-24 Thread Jason Merrill
As I mentioned in my patch to add -std=c++1y, I've been working on a proposal for the next standard to support return type deduction for normal functions, not just lambdas. This patch implements that proposal. I tried to send this message before with the proposal attached in HTML, but the mai