Posted-Date: Fri, 13 Mar 92 16:19:23 CST Date: Fri, 13 Mar 92 16:19:23 CST From: bergstro AT src DOT honeywell DOT com (Pete Bergstrom) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: question re: generated code Status: O I'm using djgpp verion 1.03. In examining the .S output from a C++ code file, I find an enormous number of (to my mind) useless jmps. They jmp over '.align 2,144' statements and even setting optimization on does nothing to get rid of them. Are they in fact optimized by the assembler, in which case I wouldn't know the difference? I got sidetracked onto this by trying to figure out why my ray tracer was so slow compared to those of people using Borland's C++. I would appreciate any pointers, including whether this is improved in gcc 2.0 (if the problem exists at all, of course). Thanks, Pete