This is the mail archive of the gcc-patches@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]

Re: [cft] fix big-endian bitfield problems


On Fri, Nov 12, 2004 at 01:10:31PM -0500, Jakub Jelinek wrote:
> On Fri, Nov 12, 2004 at 12:49:25PM +0100, Eric Botcazou wrote:
> > > Will someone please test this on powerpc, sparc, and hppa and see
> > > if it does the job?
> > 
> > The testsuite is clean again on sparc-sun-solaris2.8, but we still have a few 
> > regressions on sparc64-sun-solaris2.9:
> 
> I saw no regressions on {i386,ia64,ppc,ppc64,s390,s390x}-redhat-linux, but
> on x86_64-redhat-linux I got following regressions:
> FAIL: gcc.dg/compat/struct-by-value-11 c_compat_x_tst.o compile

Ok, verified it is really the patch you posted.
Without it struct-by-value-11 compiles, with it:
/usr/src/gcc/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c: In function
'test2_Scc7':
/usr/src/gcc/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c:17: error:
unable to find a register to spill in class 'CREG'
/usr/src/gcc/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c:17: error:
this is the insn:
(insn 254 253 255 0 (parallel [
            (set (reg:DI 41 r12 [202])
                (lshiftrt:DI (subreg:DI (reg:TI 39 r10 [198]) 8)
                    (subreg:QI (reg:DI 0 ax [200]) 0)))
            (clobber (reg:CC 17 flags))
        ]) 443 {*lshrdi3_1_rex64} (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_DEAD (reg:DI 0 ax [200])
            (expr_list:REG_UNUSED (reg:CC 17 flags)
                (nil)))))
/usr/src/gcc/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c:17: internal
compiler error: in spill_failure, at reload1.c:1884Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

	Jakub


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