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/12958] New: Cannot compile flac, unable to find register


When I attempt to compile FLAC for Solaris using GCC 3.3.2 I get the following 
error: 
 
gcc -fomit-frame-pointer -funroll-loops -finline-functions -g -O2 -fPIC -o 
seekable_stream_encoder.o seekable_stream_encoder2.c 
seekable_stream_encoder.c: In function `metadata_callback_': 
seekable_stream_encoder.c:864: error: unable to find a register to spill in 
class `I64_REGS' 
seekable_stream_encoder.c:864: error: this is the insn: 
(insn 367 360 315 20 ff0ea5c0 (parallel [ 
            (set (reg:DI 240) 
                (lshiftrt:DI (reg:DI 16 %l0 [222]) 
                    (const_int 48 [0x30]))) 
            (clobber (scratch:SI)) 
        ]) 314 {lshrdi3_v8plus} (insn_list 313 (nil)) 
    (expr_list:REG_UNUSED (scratch:SI) 
        (nil))) 
seekable_stream_encoder.c:864: confused by earlier errors, bailing out 
 
 
I will attempt to attach the preprocessed C file to this bug.  I removed most 
of the code.

-- 
           Summary: Cannot compile flac, unable to find register
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aaronw at attbi dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: sparc-sun-solaris2.8


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


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