This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Tue, Jan 07, 2003 at 11:52:00PM -0800, Andrew Pinski wrote: > + if(temp1.ints.hi!=0) > + word = temp.ints.low; This doesn't implement ffs. You want if (temp1.ints.lo) word = temp1.ints.lo; And, really, I suspect that you don't want a union at all. Using a >> 32 should be good enough and it won't punish 64-bit hosts. r~
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |