On Tue, Jun 12, 2012 at 8:34 AM, Satya Prakash Prasad
wrote:
> Thanks to all my issue got resolved.
>
> I placed the code in 'if block' checking cfun is NULL or not and
> removed gcc_assert. It worked fine for me.
>
> My idea is to print the lines of source code gcc is compiling. Further
> to that
gt; Prakash Prasad
> Sent: Tuesday, June 12, 2012 12:05 PM
> To: Ian Lance Taylor
> Cc: gcc@gcc.gnu.org
> Subject: Re: GCC Making a new PASS
>
> Thanks to all my issue got resolved.
>
> I placed the code in 'if block' checking cfun is NULL or not and
> remove
ore context to this requirement.
Regards,
Kannan
-Original Message-
From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Satya
Prakash Prasad
Sent: Tuesday, June 12, 2012 12:05 PM
To: Ian Lance Taylor
Cc: gcc@gcc.gnu.org
Subject: Re: GCC Making a new PASS
Thanks to all my iss
Thanks to all my issue got resolved.
I placed the code in 'if block' checking cfun is NULL or not and
removed gcc_assert. It worked fine for me.
My idea is to print the lines of source code gcc is compiling. Further
to that I want to update the statement with
statement ; print("%s %d\n", __FILE_
Satya Prakash Prasad writes:
> But the compilation process fails further on:
>
> gcc/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/xgcc
> -Bgcc/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/
> -B/usr/local/x86_64-unknown-linux-gnu/bin/
> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
> /usr/loca
I tried all way but in vain the gcc/config/i386/crtfastmath.c just
fails to compile properly.
http://www.google.co.in/#hl=en&sclient=psy-ab&q=gcc%2Fconfig%2Fi386%2Fcrtfastmath.c&oq=gcc%2Fconfig%2Fi386%2Fcrtfastmath.c&aq=f&aqi=&aql=&gs_l=serp.3...1722.1722.0.2632.1.1.0.0.0.0.463.463.4-1.1.0...0.0.z
On Mon, Jun 11, 2012 at 04:19:16PM +0530, Satya Prakash Prasad wrote:
> >BTW, you might even use MELT (a high-level domain specific language to
> >extend GCC) for that purpose.
> > See http://gcc-melt.org/ for more (or ask me).
>
> Since our org is still making use of gcc 4.1.2 - hence the concer
>BTW, you might even use MELT (a high-level domain specific language to extend
>GCC) for that purpose.
> See http://gcc-melt.org/ for more (or ask me).
Since our org is still making use of gcc 4.1.2 - hence the concern.
Please let me know on usgae of MELT.
Thanks but checking for cfun is NULL al
On Mon, Jun 11, 2012 at 03:41:16PM +0530, Satya Prakash Prasad wrote:
> I am trying to write a new GCC pass in gcc-4.1.2. This is my first
> attempt and I am trying to print lines of code for a function gcc is
> compiling. So I added the below code. Note if I remove code in
> execute_gimple_manipul
I am trying to write a new GCC pass in gcc-4.1.2. This is my first
attempt and I am trying to print lines of code for a function gcc is
compiling. So I added the below code. Note if I remove code in
execute_gimple_manipulation method the issue does not occur :
gcc/gcc-4.1.2 1223> cat gcc/gimple-ma
10 matches
Mail list logo