I found that my trouble exists when compiling with -O2 option. In that case inline functions rem_node and add_head will merged into function (/nest/iface.c ifa_recalc_primary) and then will badly optimized by compiler, because the implicit use of pointers to the same data. If we call external function(like printf) between rem_node and add_head trouble gone away in any case. Now i use -O1. This works for 1.3.2 and 13.8. My compiler is: $ powerpc-nsg-linux-gcc -dumpversion 3.4.3 $ powerpc-nsg-linux-gcc -dumpmachine powerpc-nsg-linux -- RU: Тамарский Максим Александрович Инженер-программист ООО Эн-Эс-Джи г.Москва, Кирпичная 39/41 оф.1302 Почтовый адрес: 105187 Россия, Москва ул.Вольная, д.35, оф.NSG Тел./факс: +7 495 727-19-59 Web-сайт: http://www.nsg.ru EN: Maksim Tamarsky Software Engineer NSG Ltd. 35 Volnaya Street, 105187 Moscow, Russia +7 495 727-19-59 http://www.nsg.ru