On Fri, Jul 29, 2005 at 11:05:56AM -0400, drizzle drizzle wrote:
> Here is the patch, an header file, the test case. The only thing I
> need is be able to insert a function call inside
> linear-loop-transform.  The error message I get is
> 
> main.c:15: internal compiler error: in var_ann, at tree-flow-inline.h:36
> 
This is not quite I was looking for.  Are you looking for someone
to fix this problem for you or are you looking to learn about
debugging GCC?  The former will likely involve getting a
volunteer or hire somebody to develop this transformation for
you.

If you are interested in debugging and developing this yourself,
you could start browsing the GCC wiki, there's a section with
tips about debugging GCC: http://gcc.gnu.org/wiki/DebuggingGCC.

In this case, it seems like you are using 4.0 and some pass is
trying to get an annotation from a non-decl tree node.  Set up a
breakpoint and examine the backtrace to see what pass is doing
this (probably yours).

Perhaps you are creating a new DECL and not adding it to the list
of referenced variables.

Reply via email to