Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!ucbvax!decwrl!labrea!rutgers!ucla-cs!uci-ics!zola.ics.uci.edu!schmidt From: schmidt@zola.ics.uci.edu (Doug Schmidt) Newsgroups: gnu.g++.lib.bug Subject: Strange Sun 3 problem Message-ID: <10211@paris.ics.uci.edu> Date: 22 Mar 89 22:21:56 GMT Sender: news@paris.ics.uci.edu Reply-To: Doug Schmidt Distribution: gnu Organization: University of California at Irvine: ICS Dept. Lines: 102 I'm getting an inconsistency when running the following program on a sun 4 versus a sun 3 using g++ 1.34 and libg++ 1.34. Here's the code: ---------------------------------------- #include main() { char alpha[] = "abcdefghijklmnopqrstuvwxyz"; int sz = strlen(alpha); cout << "length-of(alpha) = " << sz << "\n \n"; for (int i=0; i