Re: Gcc plugin for modification of source code ?

2014-06-14 Thread Basile Starynkevitch
On Sun, 2014-06-15 at 02:40 +0530, Mohsin Khan wrote: > Hi, > I'm working on a gcc plugin project. I had a doubt, can somebody help > me on this. [no need to ask on gcc-help@; plugins are definitely gcc internals related and should better be discussed on gcc@gcc.gnu.org] > Can we write a plugin (

Gcc plugin for modification of source code ?

2014-06-14 Thread Mohsin Khan
Hi, I'm working on a gcc plugin project. I had a doubt, can somebody help me on this. Can we write a plugin (which works after a pass like cfg or any other) which can modify the source code of .C file, for example insert comments before function definitions or insert a new IF Block in the .C file.

Re: [RFC] Fortran: How to handle allocatable polymorphic components with OpenMPv5/OpenACCv3

2014-06-14 Thread Paul Richard Thomas
Dear Tobias, I do not see any problem with adding to the vtable; especially with your suggestion of assigning it to a generic function with a function pointer argument. This might be valuable for other future needs, other than OpenMP/OpenACC/coarrays. I would suggest that 'this' and the function p

Forward declaration style

2014-06-14 Thread Oleg Endo
Hi all, I was always wondering why this the way it is. E.g. consider gcc/output.h: /* Assemble the integer constant X into an object of SIZE bytes. ALIGN is the alignment of the integer in bits. Return 1 if we were able to output the constant, otherwise 0. If FORCE is nonzero the consta

Re: gnat_rm.texi and makeinfo 5.1

2014-06-14 Thread Jonathan Wakely
On 13 June 2014 22:29, Joel Sherrill wrote: > Hi > > I am trying to build a native GNAT from the head on Fedora 20. It has > makeinfo 5.1 which is causing gnat_rm.texi a lot of problems. This > is just the beginning of almost 200 error messages. > > ../../gcc/gcc/ada/gnat_rm.texi:4107: warning: @it

Re: [PATCH] gcc/dwarf2asm.c: Add static_output_delta() with var_list for dw2_asm_output_delta()

2014-06-14 Thread Chen Gang
On 06/14/2014 05:45 PM, Chen Gang wrote: > dw2_asm_output_vms_delta() calls dw2_asm_output_delta() in an abnormal > way, so need add a new function just like vprintf() for printf(), and > then the related call will be in normal way. > > The related warning: > > ../../gcc/gcc/dwarf2asm.c: In fun

[PATCH] gcc/dwarf2asm.c: Add static_output_delta() with var_list for dw2_asm_output_delta()

2014-06-14 Thread Chen Gang
dw2_asm_output_vms_delta() calls dw2_asm_output_delta() in an abnormal way, so need add a new function just like vprintf() for printf(), and then the related call will be in normal way. The related warning: ../../gcc/gcc/dwarf2asm.c: In function ‘void dw2_asm_output_vms_delta(int, const char*,

Re: [GSoC] decision tree first steps

2014-06-14 Thread Richard Biener
On June 13, 2014 11:48:13 PM CEST, Prathamesh Kulkarni wrote: >On Thu, Jun 12, 2014 at 4:26 PM, Richard Biener > wrote: >> On Wed, Jun 11, 2014 at 4:09 PM, Prathamesh Kulkarni >> wrote: >>> On 6/11/14, Richard Biener wrote: On Wed, Jun 11, 2014 at 12:53 PM, Richard Biener wrote: