http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524
--- Comment #1 from Jan Smets <jan.sm...@alcatel-lucent.com> 2012-09-08 13:18:48 UTC --- Created attachment 28152 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28152 testcase The result is correct with -fno-forward-propagate tUint64 is unsigned long long I meant. An even more reduced testcase is attached. Compile it with a MIPS cross compiler: ./gcc -nostdinc -funsigned-char -fno-builtin -G 0 -mno-gpopt -msoft-float -fno-merge-constants -pipe -Wall -O2 -fno-optimize-sibling-calls -fno-partial-inlining -fno-reorder-blocks -fno-strict-aliasing -c /tmp/test.c -o test -mabi=32