[MPlayer-dev-eng] [PATCH] Disable additional optimization if compiler doesn't support __attribute__((used))

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jun 10 11:04:26 CEST 2007


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.

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list