http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50316
--- Comment #4 from ygepes at gmail dot com 2011-09-09 08:18:11 UTC --- Hi Tobias, I have upgraded to version 4.7.0 and the cse bug is gone. However, when I tried to compile shelxl (crystal structure refinement program) with this version, throwing the -O3 switch produced the following output below. The source file is large and not freeware, so I have not attached it. Pls tell me whether this is a known bug; if not, I can send the source later. Many thanks, R. Gyepes [r@HPBIOLABOR02 ...utils/shelxl]$ gfortran -v -O3 shelxl.for Driving: gfortran -v -O3 shelxl.for -l gfortran Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/bin/../libexec/gcc/i686-pc-cygwin/4.7.0/lto-wrapper.exe Target: i686-pc-cygwin Configured with: ../trunk/configure --prefix=/usr/local/gfortran --enable-langua ges=c,c++,fortran --enable-threads=posix --disable-sjlj-exceptions --enable-vers ion-specific-runtime-libs --enable-nls --disable-libmudflap --disable-win32-regi stry --with-system-zlib --disable-bootstrap --enable-werror --without-included-g ettext --without-x --enable-libgomp --with-arch=i686 --with-tune=generic --disab le-__cxa_atexit --enable-static --disable-shared --enable-shared-libgcc Thread model: posix gcc version 4.7.0 20110329 (experimental) [trunk revision 171562] (GCC) COLLECT_GCC_OPTIONS='-v' '-O3' '-mtune=generic' '-march=i686' /usr/bin/../libexec/gcc/i686-pc-cygwin/4.7.0/f951.exe shelxl.for -ffixed-form - quiet -dumpbase shelxl.for -mtune=generic -march=i686 -auxbase shelxl -O3 -versi on -fintrinsic-modules-path /usr/bin/../lib/gcc/i686-pc-cygwin/4.7.0/finclude -o /tmp/ccLY6I7C.s GNU Fortran (GCC) version 4.7.0 20110329 (experimental) [trunk revision 171562] (i686-pc-cygwin) compiled by GNU C version 4.3.4 20090804 (release) 1, GMP version 4.3.1, MPFR version 2.4.1-p5, MPC version 0.8 warning: GMP header version 4.3.1 differs from library version 4.3.2. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU Fortran (GCC) version 4.7.0 20110329 (experimental) [trunk revision 171562] (i686-pc-cygwin) compiled by GNU C version 4.3.4 20090804 (release) 1, GMP version 4.3.1, MPFR version 2.4.1-p5, MPC version 0.8 warning: GMP header version 4.3.1 differs from library version 4.3.2. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 shelxl.for: In function 'sx3c': shelxl.for:3682:0: error: insn does not satisfy its constraints: (insn 6270 6269 5781 151 (set (reg/v/f:SI 14 st(6) [orig:3470 ff ] [3470]) (mem/c:SI (plus:SI (reg/f:SI 7 sp) (const_int 40 [0x28])) [0 S4 A32])) shelxl.for:3295 50 {*movsi_i nternal} (nil)) shelxl.for:3682:0: internal compiler error: in reload_cse_simplify_operands, at postreload.c:403 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. On 7. 9. 2011 15:45, burnus at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50316 > > Tobias Burnus<burnus at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |burnus at gcc dot gnu.org > > --- Comment #3 from Tobias Burnus<burnus at gcc dot gnu.org> 2011-09-07 > 13:45:09 UTC --- > For obtaining a newer GCC/gfortran version, see also > http://gcc.gnu.org/wiki/GFortranBinaries > > It would be great if you could test a newer version and then report back > whether your code is working. >