http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50970
--- Comment #5 from Eric Millbrandt <emillbrandt at dekaresearch dot com> 2011-11-08 14:57:48 UTC --- Expected output (code built for PowerPC or x86): root@01066-ui:/root> ./gcc_test Test Function Before if TestClass::func1 param1: 0 Inside if Before if2 TestClass::func2 param1: 0 Inside if2 Before if3 TestClass::func3 param1: 0 Inside if3 Before if4 TestClass::func4 param1: 5 Inside if4 Before if4.2 TestClass::func4 param1: 0 Inside if4.2 FALSE Before Loop TestClass::func4 param1: 4 Inside Loop 0 TestClass::func4 param1: 3 Inside Loop 1 TestClass::func4 param1: 2 Inside Loop 2 TestClass::func4 param1: 1 Inside Loop 3 TestClass::func4 param1: 0 Actual output (code built for armel): root@pluto-beagle16:~# ./gcc_test Test Function Before if TestClass::func1 param1: 0 Inside if Before if2 TestClass::func2 param1: 0 Inside if2 Before if3 TestClass::func3 param1: 0 TestClass::func3 param1: 0 Inside if3 Before if4 TestClass::func4 param1: 5 TestClass::func4 param1: 5 Inside if4 Before if4.2 TestClass::func4 param1: 0 Inside if4.2 FALSE Before Loop TestClass::func4 param1: 4 TestClass::func4 param1: 4 Inside Loop 0 TestClass::func4 param1: 3 TestClass::func4 param1: 3 Inside Loop 1 TestClass::func4 param1: 2 TestClass::func4 param1: 2 Inside Loop 2 TestClass::func4 param1: 1 TestClass::func4 param1: 1 Inside Loop 3 TestClass::func4 param1: 0