nick
2018-11-06 19:05:04 UTC
Greetings all,
I am wondering why this bug is only for the function reported:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66074
Seems there are lots of other functions in that file that could
use the exact same optimization, would it be better to rewrite
the file to use the void object pointer for all functions that
can use a secondary version for that so this would touch the
function, gcc_jit_result_get_global as an example as it looks
similar enough i.e. same function arguments. Due to this I am
assuming all non error functions in this file should be rewritten
this.
Thanks and I will send a patch if that's the case,
Nick
I am wondering why this bug is only for the function reported:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66074
Seems there are lots of other functions in that file that could
use the exact same optimization, would it be better to rewrite
the file to use the void object pointer for all functions that
can use a secondary version for that so this would touch the
function, gcc_jit_result_get_global as an example as it looks
similar enough i.e. same function arguments. Due to this I am
assuming all non error functions in this file should be rewritten
this.
Thanks and I will send a patch if that's the case,
Nick