This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GSoC] generation of Gimple loops with empty bodies


On 05/07/2014 09:06, Roman Gareev wrote:
Sorry, I may have missed it. What kind of error was arising?

Symbol lookup error. The full error message:

/home/roman/compiled/build/graphite_sec/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/cc1:
symbol lookup error:
/home/roman/compiled/build/graphite_sec/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/cc1:
undefined symbol: isl_ast_expr_get_val

I've attached the version, which uses isl_val instead of isl_int.

Surprising. Is the symbol defined in libisl.so? You could use objdump to check?

I see. The way you generate loops seems to be exactly right (at least for
now). I only was asking you to add comments explaining why this was done
this way. It seems you just went the way of least resistance, but maybe you
can use my previous comments to motivate this a little bit more in the
source code (I will then go through the comments and add the missing pieces
of motivation).

Possible motivation was added to comments of
graphite_create_new_loop_guard and get_upper_bound. I am ready to add
something or totally rewrite them.

Sorry, I did not yet find the time to go through this. I will try to do this later today.

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]