According to the c++ spec, operator >> is implementation-defined as to what it does with negative numbers. So, does g++ sign-extend negative numbers shifted to the right? Or is it triplet-specific? I scanned the docs but couldn't find any mention of the answer. Jerry Quinn