[Bug c++/35766] Should cast pointers and references more efficiently and safely
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 29 03:45:00 GMT 2008
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-29 03:44 -------
I get a branchless form with -march=i686 -O2:
testl %edx, %edx
leal 4(%edx), %ecx
cmovne %ecx, %eax
Also in your case if d is NULL, then b has to be NULL. Nothing to do with
anything else
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35766
More information about the Gcc-bugs
mailing list