[PATCH] doc: discourage use of __attribute__((optimize())) in production code

2015-12-13 Thread Markus Trippelsdorf
Many developers are still using __attribute__((optimize())) in production code, although it quite broken. * doc/extend.texi (Common Function Attributes) [optimize]: Discourage use of the optimize attribute. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 883d9b334ab5

[PATCH] m68k testsuite TLC

2015-12-13 Thread Jeff Law
'twas about to post a fix for an old m68k bug when I noticed the m68k target tests weren't clean. Two minor issues. First, 20090709-1.c. It's expecting a definition and two references to a string in the constant pool. However, one reference to that string was eliminated in favor of using

[PATCH][PR target/19201] Peephole to improve clearing items in structure for m68k

2015-12-13 Thread Jeff Law
Every release I try to dig through some old bug reports and clear them out of the system. This release is no different. I'm a bit surprised I didn't tackle bz19201 in prior releases given that Kazu had an almost correct patch attached to the BZ. I suspect this could be generalized to more

Re: [PATCH, 4/16] Implement -foffload-alias

2015-12-13 Thread Tom de Vries
On 11/12/15 14:00, Richard Biener wrote: On Fri, 11 Dec 2015, Tom de Vries wrote: On 13/11/15 12:39, Jakub Jelinek wrote: We simply have some compiler internal interface between the caller and callee of the outlined regions, each interface in between those has its own structure type used to co

[PIING][PATCH, 9/16] Add pass_parallelize_loops_oacc_kernels

2015-12-13 Thread Tom de Vries
On 24/11/15 13:24, Tom de Vries wrote: On 16/11/15 12:59, Tom de Vries wrote: On 09/11/15 20:52, Tom de Vries wrote: On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the o

Re: [PATCH 6/6] [DJGPP] configure.ac: enable LTO

2015-12-13 Thread Jeff Law
On 12/12/2015 09:40 AM, Andris Pavenis wrote: On 12/11/2015 12:32 AM, Jeff Law wrote: On 12/05/2015 10:25 AM, Andris Pavenis wrote: Patch enables LTO support for DJGPP in top level configure.ac Andris 2015-12-05 Andris Pavenis * configure.ac: enable LTO for *-*-msdosdjgpp OK once prereqs h

Re: [PATCH 6/6] [DJGPP] configure.ac: enable LTO

2015-12-13 Thread DJ Delorie
> You can list me as your sponsor. I've been wanting him to be a djgpp target/host maintainer for years anyway, so +1 from me :-)

Re: [PATCH] doc: discourage use of __attribute__((optimize())) in production code

2015-12-13 Thread Andi Kleen
Markus Trippelsdorf writes: > Many developers are still using __attribute__((optimize())) in > production code, although it quite broken. Wo reads documentation? @) If you want to discourage it better warn once at runtime. -Andi

[PATCH] rs6000: Fix a mistake in cstore_si_as_di (PR68865, PR68879)

2015-12-13 Thread Segher Boessenkool
convert_move does not know how to zero-extend a constant integer to the target mode -- simply because it does not know the target mode. As a result, 32-bit SImode with the high bit set would be effectively sign- extended instead of zero-extended. This patch fixes it. Is this okay for trunk? (bo

Re: [PATCH] rs6000: Fix a mistake in cstore_si_as_di (PR68865, PR68879)

2015-12-13 Thread Segher Boessenkool
On Mon, Dec 14, 2015 at 07:04:06AM +, Segher Boessenkool wrote: > convert_move does not know how to zero-extend a constant integer to the > target mode -- simply because it does not know the target mode. That last "target" should be "source", of course. Segher