[MPlayer-dev-eng] [PATCH] Disable additional optimization if compiler doesn't support __attribute__((used))
Uoti Urpala
uoti.urpala at pp1.inet.fi
Mon Jun 11 13:43:47 CEST 2007
On Sun, 2007-06-10 at 11:04 +0200, Reimar Doeffinger wrote:
> Hello,
> On Sun, Jun 10, 2007 at 04:56:47PM +0800, Zuxy Meng wrote:
> [...]
> > Just curious, why use attribute_used and the MANGLE macro instead of
> > mentioning such variables to a constraint? For gcc 2.95 compatibility?
>
> Because that makes it even more likely that the compiler will not be
> able to compile it because it claims to be out of registers.
> There is one piece of asm code that has 8 "m" constraints, all global
> array with fixed address, but still ICC 9.1 could not compile it because
> it tried to use a register for each!!!!!!
> Or IOW: I see this breaking more than it will fix.
Does this problem still happen with ICC 10.0? I downloaded it and tried
a simple test case; at least specifying just 9 "m" constraints worked
without problems.
More information about the MPlayer-dev-eng
mailing list