This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Rerog streaming of OPTIMIZATION_NODE
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Jan-Benedict Glaw <jbglaw at lug-owl dot de>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 16 Nov 2014 00:36:27 +0100
- Subject: Re: Rerog streaming of OPTIMIZATION_NODE
- Authentication-results: sourceware.org; auth=none
- References: <20141115165720 dot GG31795 at kam dot mff dot cuni dot cz> <20141115204519 dot GM8445 at lug-owl dot de> <20141115215643 dot GA629 at kam dot mff dot cuni dot cz>
Jonah,
> Yep, it is because my code does not handle streaming of arrays into the target optimization nodes.
> I will take a look on why that array is really needed. It seems like a overkill?
I am looking into the nios2_register_custom_code and I do not quite understand
what it is good for? If it tracks customs codes function wide, then perhaps
target part of cfun would be better place to home it. It it is unit wide, then
saving/restoring does not seem to make much sense.
Can you, please, explain me why this needs to be stored into target option
structure? If this is really needed, then we can always add a support for
streaming arrays, but I would preffer keeping that structure small and simple
;)
Honza