Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan Hubicka
Hi, this patch implements OPTIMIZATION_NODE streaming same was as previous patch did for TARGET_OPTION_NODE. Since the code turned out to be completely analogous to the previous one I will go ahead and commit it as obvious. It will help to make followup changes easier to follow. I also tested

Re: Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan-Benedict Glaw
On Sat, 2014-11-15 17:57:20 +0100, Jan Hubicka hubi...@ucw.cz wrote: Hi, this patch implements OPTIMIZATION_NODE streaming same was as previous patch did for TARGET_OPTION_NODE. Since the code turned out to be completely analogous to the previous one I will go ahead and commit it as obvious.

Re: Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan Hubicka
The recent work, I'm not exactly sure if it's actually /this/ commit, broke nios2-rtems, see eg. build http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=376303 g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W

Re: Rerog streaming of OPTIMIZATION_NODE

2014-11-15 Thread Jan Hubicka
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

[BUILDROBOT] nios2: build breakage (was: Rerog streaming of OPTIMIZATION_NODE)

2014-11-15 Thread Jan-Benedict Glaw
Hi, On Sun, 2014-11-16 00:36:27 +0100, Jan Hubicka hubi...@ucw.cz wrote: 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