In icu/unxsols4.pro/misc/build/icu/source/i18n/ucol_bld.cpp, there is a while loop in ucol_doCE() that, for me, will never exit, even when the condition is false! When I re-write the loop, the problem goes away. This problem occurs while running dmake, when a program called genrb invokes ucol_doCE().
Original code, never exits: while(2*CEi<noOfBytes[0] || CEi<noOfBytes[1] || CEi<noOfBytes[2]) { ... } New code, works as expected: while( 1 ) { if( !( 2*CEi<noOfBytes[0] || CEi<noOfBytes[1] || CEi<noOfBytes[2] ) ) break; ... } When I tried re-writing the while loop as a for loop, the problem persisted--I had to explicity break the loop as in the code above. Logically, both should be identical, so does this look like it might be a bug in Sun Studio 10? Platform details: # uname -a SunOS whizzer 5.10 s10_72 sun4u sparc SUNW,Ultra-30 Solaris # cc -V cc: Sun C 5.7 2005/01/07 Sincerely, Matt Prazak __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]