This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50362] New: ICE on x86 architecture with -O2 or higher


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50362

             Bug #: 50362
           Summary: ICE on x86 architecture with -O2 or higher
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ygepes@gmail.com


Created attachment 25244
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25244
Fortran source

Compiler failure in postreload.c:403 when -O2 or higher is used. The output is
as follows:

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' '-O2' '-c' '-mtune=generic' '-march=i686'
 /usr/bin/../libexec/gcc/i686-pc-cygwin/4.7.0/f951.exe bug.f -ffixed-form
-quiet
 -dumpbase bug.f -mtune=generic -march=i686 -auxbase bug -O2 -version
-fintrinsi
c-modules-path /usr/bin/../lib/gcc/i686-pc-cygwin/4.7.0/finclude -o
/tmp/ccThDqG
Z.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
bug.f: In function 'psym2_cvb':
bug.f:48:0: error: insn does not satisfy its constraints:
(insn 260 259 200 4 (set (reg/v/f:SI 9 st(1) [orig:171 civec1 ] [171])
        (mem/c:SI (plus:SI (reg/f:SI 7 sp)
                (const_int 4 [0x4])) [0 S4 A32])) bug.f:1 50 {*movsi_internal}
     (nil))
bug.f:48:0: internal compiler error: in reload_cse_simplify_operands, at
postrel
oad.c:403
Please submit a full bug report,
with preprocessed source if appropriate.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]