[Bug rtl-optimization/54524] Spurious add on sum of bitshifts
jan.smets@alcatel-lucent.com
gcc-bugzilla@gcc.gnu.org
Sat Sep 8 13:19:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524
--- Comment #1 from Jan Smets <jan.smets@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
More information about the Gcc-bugs
mailing list