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 c/13187] New: Bug in optimizer?


It is impossible to successfully compile the 'gsl' system
(sources.redhat.com/gsl). Compiler gives message:
---------
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -O2 -march=pentium3 -mfpmath=sse
-msse -c oper.c  -fPIC -DPIC -o .libs/oper.lo
In file included from oper.c:21:
oper_complex_source.c: In function `gsl_matrix_complex_float_add_constant':
oper_complex_source.c:219: unable to find a register to spill in class `SSE_REGS'
oper_complex_source.c:219: this is the insn:
(insn 60 59 62 (set (reg:SF 21 exmm0 [73])
  (plus:SF (subreg:SF (reg/v/u:DI 29 rmm0 [60]) 0)
      (mem:SF (plus:SI (mult:SI (reg:SI 0 eax [67])
         (const_int 8 [0x8]))
            (reg:SI 1 edx [83])) [101 S4 A32]))) 539 {*fop_sf_comm_sse}
(insn_list 50 (nil))
               (expr_list:REG_EQUIV (mem:SF (plus:SI (mult:SI (reg:SI 0 eax [67])
                  (const_int 8 [0x8]))
                     (reg:SI 1 edx [83])) [101 S4 A32])
                        (nil)))
oper_complex_source.c:219: confused by earlier errors, bailing out
make[2]: *** [oper.lo] Error 1
make[2]: Leaving directory `/root/inst/t1/gsl2/gsl-1.4/matrix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/inst/t1/gsl2/gsl-1.4'
make: *** [all] Error 2
---------

  I think, it is optimizer' bug.

-- 
           Summary: Bug in optimizer?
           Product: gcc
           Version: 3.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kvo at ilt dot kharkov dot ua
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: tha same
  GCC host triplet: 2.4.21-4.0.1.EL/2.3.2-95.6/3.2.3-20
GCC target triplet: 2.4.21-4.0.1.EL/2.3.2-95.6/3.2.3-20


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


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