public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Question about gimple frontend
@ 2012-11-29 18:52 Lyu Mitnick
  2012-11-30  4:39 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Lyu Mitnick @ 2012-11-29 18:52 UTC (permalink / raw)
  To: gcc-help

Hello all,

I notice that there is a project Gimple FE - A Gimple Front End
(http://gcc.gnu.org/wiki/GimpleFrontEnd).
I have read the GCC document to find how to use. And I found the
option, -fdump-tree-gimple, which can
be used to output gimple. However I cannot find any option to read
gimple in, and continues compiling.
Would you mind to tell me how to do it?

Thanks a lot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about gimple frontend
  2012-11-29 18:52 Question about gimple frontend Lyu Mitnick
@ 2012-11-30  4:39 ` Ian Lance Taylor
  2012-11-30 23:51   ` Lyu Mitnick
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2012-11-30  4:39 UTC (permalink / raw)
  To: Lyu Mitnick; +Cc: gcc-help

On Thu, Nov 29, 2012 at 10:52 AM, Lyu Mitnick <mitnick.lyu@gmail.com> wrote:
>
> I notice that there is a project Gimple FE - A Gimple Front End
> (http://gcc.gnu.org/wiki/GimpleFrontEnd).
> I have read the GCC document to find how to use. And I found the
> option, -fdump-tree-gimple, which can
> be used to output gimple. However I cannot find any option to read
> gimple in, and continues compiling.
> Would you mind to tell me how to do it?

It's a project.  It's not complete and it's not part of mainline GCC.
As the wiki page says, the work is being done on the gimple-front-end
branch.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about gimple frontend
  2012-11-30  4:39 ` Ian Lance Taylor
@ 2012-11-30 23:51   ` Lyu Mitnick
  2012-12-01  0:13     ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Lyu Mitnick @ 2012-11-30 23:51 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help

Hello Ian,

Thanks for your reply. I have check out the source code from gimple-front-end
branch, and build gimple1 successfully. However neither took the example of
GimpleFrontEnd wiki nor *.gimple in gcc/testsuite/gimple.dg as input, gimple1
just check/parse but output nothing in *.s. My running script is as follows:

$ gimple1 20120523-1.gimple

I am wondering whether I misuse gimple1 or the project status is systax checking
only.

Thanks a lot

2012/11/30 Ian Lance Taylor <iant@google.com>:
> On Thu, Nov 29, 2012 at 10:52 AM, Lyu Mitnick <mitnick.lyu@gmail.com> wrote:
>>
>> I notice that there is a project Gimple FE - A Gimple Front End
>> (http://gcc.gnu.org/wiki/GimpleFrontEnd).
>> I have read the GCC document to find how to use. And I found the
>> option, -fdump-tree-gimple, which can
>> be used to output gimple. However I cannot find any option to read
>> gimple in, and continues compiling.
>> Would you mind to tell me how to do it?
>
> It's a project.  It's not complete and it's not part of mainline GCC.
> As the wiki page says, the work is being done on the gimple-front-end
> branch.
>
> Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about gimple frontend
  2012-11-30 23:51   ` Lyu Mitnick
@ 2012-12-01  0:13     ` Ian Lance Taylor
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Lance Taylor @ 2012-12-01  0:13 UTC (permalink / raw)
  To: Lyu Mitnick; +Cc: gcc-help

On Fri, Nov 30, 2012 at 3:51 PM, Lyu Mitnick <mitnick.lyu@gmail.com> wrote:
>
> Thanks for your reply. I have check out the source code from gimple-front-end
> branch, and build gimple1 successfully. However neither took the example of
> GimpleFrontEnd wiki nor *.gimple in gcc/testsuite/gimple.dg as input, gimple1
> just check/parse but output nothing in *.s. My running script is as follows:
>
> $ gimple1 20120523-1.gimple
>
> I am wondering whether I misuse gimple1 or the project status is systax checking
> only.

I have not used that project.  You will have to ask one of the
developers working on it.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-01  0:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-29 18:52 Question about gimple frontend Lyu Mitnick
2012-11-30  4:39 ` Ian Lance Taylor
2012-11-30 23:51   ` Lyu Mitnick
2012-12-01  0:13     ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).