------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1222
--- Comment #4 from David Fang <fang@???> 2012-03-27 23:50:55 ---
some more data points:
with gcc-4.0.1:
-g -O0 : PASSES
-g -O1 : FAILS
-g -Os : FAILS
-g -O2 : FAILS
% gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
from man page:
-O1 Optimize. Optimizing compilation takes somewhat more time, and a
lot more memory for a large function.
With -O, the compiler tries to reduce code size and execution time,
without performing any optimizations that take a great deal of com-
pilation time.
-O turns on the following optimization flags: -fdefer-pop -fde-
layed-branch -fguess-branch-probability -fcprop-registers
-floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp
-ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs
-ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants
-O also turns on -fomit-frame-pointer on machines where doing so
does not interfere with debugging.
-O doesn't turn on -ftree-sra for the Ada compiler. This option
must be explicitly specified on the command line to be enabled for
the Ada compiler.
Any guess as to which specific flag might impact the code where the suspected
issue is?
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email