Hello,

the declaration 
int nArr1[5] __attribute__((context(0,1,2)));
parsed with sparse 0.3 results in a symbol with one context in 
symbol->ctype.contexts and symbol->ctype.base_type->ctype.contexts is 
empty.

If we do the same with sparse 0.4 (or also 0.4.1), we get a symbol with 
one context in symbol->ctype.contexts, 
but now  symbol->ctype.base_type->ctype.contexts also has the same 
context.

Perhaps interesting: The result of declaration 
int __attribute__((context(0,1,2))) nArr2[5];
didn't change.

Is this behaviour OK?
Is this behaviour expected? 

Greetings
Thomas Schmid
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to