On Thu, Dec 13, 2012 at 4:16 AM, Matt Davis <mattdav...@gmail.com> wrote:
>
> I have a GIMPLE pass and would like to make use of the data type
> information that the Go frontend produces.  Is there a way to access
> this information from the middle end without having to query the
> frontend?

What kind of data type information are you interested in?

In general you can't query the frontend from a GIMPLE pass.  And the
way the Go frontend is structured, it would be pretty hard to make
that work even if it were possible.  There is no mapping from GIMPLE
types to Go types, because no such mapping is needed.  Once the
program has been converted to GIMPLE, the Go frontend is out of the
picture anyhow.

Ian

Reply via email to