Regarding concrete inlined and out-of-line inlined instances

2014-06-15 Thread Ramana
Hi, I have the below debug information (dwarf4) generated by the GCC compiler v4.8.2 for an inlined function. Please help me with the following queries. In the concrete inlined instance of 'ext2_lookup', its DW_AT_entry_pc value (0xc01b49d0) is overlapping with the address range i.e. DW

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

2014-06-15 Thread Chen Gang
On 06/16/2014 09:36 AM, Bin.Cheng wrote: > On Sat, Jun 14, 2014 at 5:50 PM, Chen Gang wrote: [...] > > Hi, > > Please send patches to gcc-patches mailing list. > OK, thanks, and excuse me as a newbie to send a patch to the incorrect mailing list. Thanks. -- Chen Gang Open, share, and att

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

2014-06-15 Thread Bin.Cheng
On Sat, Jun 14, 2014 at 5:50 PM, Chen Gang wrote: > 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

gcc-4.10-20140615 is now available

2014-06-15 Thread gccadmin
Snapshot gcc-4.10-20140615 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.10-20140615/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.10 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Repost of Gcc plugin for modification of source code ?

2014-06-15 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: Gcc plugin for modification of source code ?

2014-06-15 Thread Mohsin Khan
Thanks Basile Starynkevitch for the useful reply. On 6/15/14, Basile Starynkevitch wrote: > 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 definitel

i386.md missing a mode

2014-06-15 Thread Joel Sherrill
Hi On the head, I see this: ../../gcc/gcc/config/i386/i386.md:11448: warning: source missing a mode? ../../gcc/gcc/config/i386/i386.md:11460: warning: source missing a mode? / Since it is in the middle of a big log and doesn't include the word warning in the message, I wondered if someone was aw

assigning hard regs to pseudo regs

2014-06-15 Thread shmuel gutl
For certain instructions, I am trying to do my own register assignments before IRA runs. I call df_analyze to find all register references and after my manipulations I call df_scan_blocks to reparse the insns. A typical replacement that I want to handle is a register reference of the form