Re: [PATCH] gcc 8: Implement -felide-function-bodies

2017-03-31 Thread Markus Trippelsdorf
On 2017.04.01 at 01:00 -0400, David Malcolm wrote: > The following patch implements a new function-body-elision > optimization, which can dramatically improve performance, > especially under certain benchmarks. > > gcc/ChangeLog: > * common.opt (felide-function-bodies): New option. > *

[PATCH] gcc 8: Implement -felide-function-bodies

2017-03-31 Thread David Malcolm
The following patch implements a new function-body-elision optimization, which can dramatically improve performance, especially under certain benchmarks. For example, given this test program... $ cat test.c int factorial (int i) { if (i > 1) return i * factorial (i - 1); else return

enumerators in generic tree

2017-03-31 Thread Joachim Ullrich
I got the hint, that gcc-help might not be the best mailing list for my issue, therefor I post it here again (sorry for double-posting): I work on a gcc plugin which provides a dependency model of the compiled sources. The information is derived by walking the generic tree and collecting decla

Re: Fwd: GCC front end and GCC internals

2017-03-31 Thread Andre Groenewald
What a blunder. > But you do know that methods have an extra (first, actually) parameter > containing the this pointer, right? I totally missed it. Thank you for informing me. I tested it with a dummy parameter. The dummy parameter taking the place of the this pointer. It worked perfectly. Obviou

Re: i370 port

2017-03-31 Thread Paul Edwards
Hi Joseph. (reviving a thread from 2009) I have been streamlining the execution of MVS (i370) via my "runmvs" script recently, and now it only takes a few seconds to do a test on MVS because I have taken out all the unnecessary pauses and made lots of other improvements, and bypassing bugs in Her

Re: Fwd: GCC front end and GCC internals

2017-03-31 Thread Martin Jambor
Hi, On Fri, Mar 31, 2017 at 08:56:26AM +0200, Andre Groenewald wrote: > Sorry about the fwd in the description. > > This is my implementation: > > fnDeclType = build_function_type_array(integer_type_node, > argVect.NumOfItems, parmTypes); > tree fnDecl = build_fn_decl(identifier->Str, fnDeclType