------- Comment #10 from ron_hylton at hotmail dot com 2005-11-12 00:11 ------- Using gcc version 4.1.0 20051111 (experimental) I still get a segfault for the second test case with -O2.
$ gcc -c -O2 -v solveHestonVol2.ii Using built-in specs. Target: i686-pc-cygwin Configured with: ../gcc/configure --prefix=/gcc-main --enable-languages=c,c++,fo rtran --verbose --enable-nls --without-included-gettext --enable-version-specifi c-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-jav a-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synch ronization --enable-libstdcxx-debug --target=i686-pc-cygwin --host=i686-pc-cygwi n --build=i686-pc-cygwin Thread model: posix gcc version 4.1.0 20051111 (experimental) /gcc-main/libexec/gcc/i686-pc-cygwin/4.1.0/cc1plus.exe -fpreprocessed solveHest onVol2.ii -quiet -dumpbase solveHestonVol2.ii -mtune=pentiumpro -auxbase solveHe stonVol2 -O2 -version -o /cygdrive/c/DOCUME~1/rhylton/LOCALS~1/Temp/ccS4UBKe.s GNU C++ version 4.1.0 20051111 (experimental) (i686-pc-cygwin) compiled by GNU C version 4.1.0 20051111 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: b9f10e21dd711d470dda05fed5b4384d C:/packages/pooma/local/freepooma/src/Evaluator/ExpressionKernel.h: In construct or 'ExpressionKernel<LHS, Op, RHS, EvalTag>::ExpressionKernel(const LHS&, const Op&, const RHS&) [with LHS = Array<2, double, CompFwd<Engine<2, VolUtil::Diffusi onCoefficients<3, VolUtil::HestonVolTraits<2>::MaskTraits<3>, double>, BrickView U>, VolUtil::DiffusionComponentIndex<0> > >, Op = OpAssign, RHS = Array<2, doubl e, BrickViewU>, EvalTag = InlineKernelTag]': C:/packages/pooma/local/freepooma/src/Evaluator/ExpressionKernel.h:116: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. With the forward declaration of class CloneWalker at line 50437 commented out that build also gives a number of error messages followed by C:/rah/Vc/CppLib/ADI2FwdStartSolver.h:148: internal compiler error: in adjust_re sult_of_qualified_name_lookup, at cp/search.c:1488 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24605