[PATCH] Always inline system calls
Khem Raj
kraj at mvista.com
Mon Dec 3 21:50:56 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carmelo Amoroso wrote:
> while doing some test for SH4 to measure size increase for 'always inline' changes,
> doscovered suddenly that gcc-4.1.1 (cross sh4) fails with the following error:
>
> ../ldso/ldso/dl-elf.c: In function '_dl_dprintf':
> ../ldso/ldso/dl-elf.c:858: error: unable to find a register to spill in class 'R0_REGS'
> ../ldso/ldso/dl-elf.c:858: error: this is the insn:
> (insn 916 917 24 1 (set (reg/f:SI 1 r1 [219])
> (mem/u/c:SI (plus:SI (reg:SI 12 r12)
> (reg/f:SI 1 r1 [220])) [0 S4 A32])) 172 {movsi_ie} (nil)
> (expr_list:REG_DEAD (reg/f:SI 1 r1 [220])
> (expr_list:REG_EQUIV (symbol_ref:SI ("_dl_pagesize") <var_decl 0x313a720 _dl_pagesize>)
> (nil))))
>
> either running with -Os or -O0.
It will be nice if you could reduce the testcase and report this problem
in gcc bugzilla.
> I'll test tomorrow with gcc-4.2.1 to see if it makes difference,
> otherwise I suspect we should go back on my proposal in using always inline
> only for arch strictly requiring it.
>
> Carmelo
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
- --
Khem Raj
MontaVista Software Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHVHpAUjbQJxVzeZQRAu/fAKCYlUCFUF8askPxhf9qhx4w6OYOVwCdE6Wq
i2blmWrXZaRbuGVYIpAQB2w=
=Ldww
-----END PGP SIGNATURE-----
More information about the uClibc
mailing list