Re: Sparse crash when mixing int and enum in ternary operator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 13 of March 2010 18:22:48 Kamil Dudka wrote:
> I was unsuscessfully looking for an implementation of stack within sparse.
> So that I used the implicit one instead.  I know it's pretty bad idea, but
> I am not aware of any easy way to handle it better.

I could probably use a list instead.  Nevertheless the evaluation of EXPR_COND 
also works recursively on the runtime stack - see evaluate_expression() and 
evaluate_conditional_expression().  So that I don't think it's an actual 
problem here.

Let me know if the patch needs some additional improvements.

Kamil
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux