[wwwdocs] gcc-6/porting_to.html: Use instead of for code and command-line options.

2016-04-11 Thread Gerald Pfeifer
I found this in my tree. It must date back a while ago, and I do not remember full context, but probably I noticed this will reviewing some patches. Applied. Gerald Index: gcc-6/porting_to.html === RCS file: /cvs/gcc/wwwdocs/htdocs

Re: [PATCH IRA] save a call to init_reload

2016-04-11 Thread Vladimir Makarov
On 04/10/2016 11:24 PM, Zhouyi Zhou wrote: save a function call to init_reload when using lra, also remove the a type error in reload1.c because init_reload is called only once when compile process, the performance reduction may not be significant when compiling multi function source files. Th

[gomp4] backport parallel reduction changes

2016-04-11 Thread Cesar Philippidis
This patch backports the reduction changes in trunk to gomp-4_0-branch. Prior to this patch, gomp-4_0-branch was having the gimplifier create a temporary variable for reference-typed reductions. That's no longer necessary with this patch. Besides for the reference reduction changes, this patch als

Re: [DOC Patch] Add sample for @cc constraint

2016-04-11 Thread David Wohlferd
Ping? dw On 4/1/2016 4:39 PM, David Wohlferd wrote: > I would like executable code that verifies that this feature is indeed working as intended. First draft is attached. It tests all 28 (14 conditions plus 14 inverted). I wasn't sure what to set for optimization (O2? O3? O0?), so I left

Re: [RFC] [MIPS] Enable non-executable PT_GNU_STACK support

2016-04-11 Thread Faraz Shahbazker
Bump. On 02/05/2016 10:36 AM, Faraz Shahbazker wrote: > Enable non-executable stack mode if assembler and linker support it. > > Currently the MIPS FPU emulator uses eXecute Out of Line (XOL) on the stack to > handle instructions in the delay slots of FPU branches. Because of this MIPS > cannot

[PATCH] Fix PR c++/70610 (wrong overload resolution during template processing)

2016-04-11 Thread Patrick Palka
The gist of the issue is that with -std=c++03 or earlier a NON_DEPENDENT_EXPR is considered to always be an lvalue according to lvalue_kind(). This causes overload resolution to malfunction during template processing because it sometimes chooses an overload that expects an lvalue argument even tho

Re: [PATCH] Fix ssa coalescing with inline asm (PR middle-end/70593)

2016-04-11 Thread Jeff Law
On 04/08/2016 10:10 AM, Jakub Jelinek wrote: On Fri, Apr 08, 2016 at 06:04:38PM +0200, Richard Biener wrote: Hmm, don't we simply want to do this for all stmts (OK, only asm have multiple defs...)? For all stmts that have multiple defs (which is only GIMPLE_ASM right now). I thought the atomi

[PATCH, GCC 5] PR 70613, -fabi-version docs don't match implementation

2016-04-11 Thread Jim Wilson
Here is a patch to correct the -fabi-version docs on the GCC 5 branch. This was tested with an x86_64-linux bootstrap, make doc, make dvi, and checking the output info and dvi files to make sure the changes look right. Ok to check in? Jim Index: ChangeLog

Re: [PATCH] c++/70594 debug info differences

2016-04-11 Thread Patrick Palka
On Mon, Apr 11, 2016 at 3:42 PM, Nathan Sidwell wrote: > This proto patch addresses 70594, where the constexpr machinery causes > differences in -fcompare-debug checking. I'm looking for initial comments > about the approach this patch is taking. > > As described in the comments of > https://gcc.

[PATCH] c++/70594 debug info differences

2016-04-11 Thread Nathan Sidwell
This proto patch addresses 70594, where the constexpr machinery causes differences in -fcompare-debug checking. I'm looking for initial comments about the approach this patch is taking. As described in the comments of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70594 the change is being cau

[PATCH] Make distclean clean up more (PR70173)

2016-04-11 Thread Segher Boessenkool
Currently, distclean does not remove the libcc1, gnattools, and gotools directories, and not the stage_final file either. Fix that. This finishes PR70173. Tested on powerpc64-linux, --enable-languages=all,ada,go,obj-c++ , followed by "make distclean". Is this okay for trunk? Segher 2016-04-

Re: Fix pure/const discovery WRT interposition part 1

2016-04-11 Thread Bernd Edlinger
+ /* If this is a reference from symbol itself and there are no aliases, we + may be sure that the symbol was not interposed by soemthing else because + the symbol itself would be unreachable otherwise. */ typo: s/soemthing/something/ Bernd.

[PATCH] [FIX PR c/48116] -Wreturn-type does not work as advertised

2016-04-11 Thread Prasad Ghangal
Hi! This is proposed patch for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48116 (-Wreturn-type does not work as advertised) Currently gcc doesn't give any warning with -Wreturn-type or -Wall option for test cases like : void x (void) { } void y(void) { return x(); } applying this patch gives

Re: [PATCH 2/3] [graphite] add array access function in the right order

2016-04-11 Thread Sebastian Pop
On Sat, Apr 9, 2016 at 11:00 AM, Tom de Vries wrote: > On 09/12/15 19:26, Sebastian Pop wrote: >> >> we used to add the access functions in the wrong order, Fortran style, >> leading to unprofitable interchanges. >> --- >> gcc/graphite-sese-to-poly.c | 2 +- >> 1 file changed, 1 insertion(+), 1

Re: C++ PATCH for implicit abi_tag on template member function

2016-04-11 Thread Jason Merrill
On 04/06/2016 12:22 PM, Jason Merrill wrote: We were incorrectly omitting the ABI tag on the instantiation of this member function because we were setting the tags on the instantiation and looking for them on the temploid. Still not quite right... Tested x86_64-pc-linux-gnu, applying to trunk.

Re: [PATCH][ARM] PR target/70566 Check that condition register is dead in tst-imm -> lsls-imm Thumb2 peepholes

2016-04-11 Thread Kyrill Tkachov
On 08/04/16 10:30, Richard Earnshaw (lists) wrote: On 07/04/16 15:51, Kyrill Tkachov wrote: Hi all, In this wrong-code PR we have a Thumb2 peephole transforming: tstr3, #2 bne.L3 beq.L6 into: lslsr3, r3, #30 // LSLS is shorter than TST in Thumb2 bmi

Fix pure/const discovery WRT interposition part 1

2016-04-11 Thread Jan Hubicka
Hi, this is preparation patch for fix for PR ipa/70018. It adds binds_to_current_def predicate that works just like decl_binds_to_current_def but at symtab level. The main change is that local binding depends on user (if function refers itself and has no aliases, it must bind to current def and l

Re: [PATCH], Re-fix PR 70381 (disable -mfloat128 by default) and add workaround for PR 70589

2016-04-11 Thread David Edelsohn
On Thu, Apr 7, 2016 at 7:44 PM, Michael Meissner wrote: > After applying the fix for PR 70381 to not enable -mfloat128 by default, I > discovered the IEEE 128-bit floating point emulation routines in libgcc are no > longer being built. > > The reason for this is the configuration test involved com

Re: rs6000 stack_tie mishap again

2016-04-11 Thread Olivier Hainque
> On Mar 28, 2016, at 19:41 , Richard Henderson wrote: > > But I expect for stage4, the best solution is to strengthen the stack_tie > pattern to block all memory. Early scheduling of the stack frame > deallocation (a simple logic insn) can't really be that important to > performance. Somet

Re: [Patch AArch64 0/3] Fix PR70133

2016-04-11 Thread Richard Earnshaw (lists)
On 06/04/16 11:10, James Greenhalgh wrote: > Hi, > > This patch set fixes PR70133, which is a bug in the way we handle extension > strings after using -march or -mcpu=native. In investigating this, I found > other bugs in the way we communicate architceture intention between the > compiler and the

[wwwdocs] index.html -- remove obsolete text/css section

2016-04-11 Thread Gerald Pfeifer
This has not been active for some months, but somehow survived. Gone it is, now. Gerald Index: index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v retrieving revision 1.1000 diff -u -r1.1000 index.html --- index.html 10

Re: [Patch AArch64 3/3] Fix up for pr70133

2016-04-11 Thread James Greenhalgh
> Hi, > > Having updated the way we parse and output extension strings, now we just > need to wire up the native detection to use these new features. > > In doing some cleanup and rename I ended up fixing 8-spaces to tabs in > about half the file. I've done the rest while I'm here to save us from

Re: [gomp4] Remove superfluous passes in kernels pass list

2016-04-11 Thread Jakub Jelinek
On Mon, Apr 11, 2016 at 08:30:09AM +0200, Tom de Vries wrote: > Hi, > > this patch removes passes from the kernels pass list on gomp-4_0-branch, > that are not present in the kernels pass list on trunk. > > Bootstrapped and reg-tested on x86-64. > > Committed to trunk. You mean committed to bra