On Friday, October 28, 2011 00:39:41 you wrote:
> However, in rare cases, there is a problem with arrays and their
> modifiers.  The option requires CIL to generate temporary variables
> with more complex types than previously, and the resultant code is
> not always compilable.  Consider the following file
> (volatile_fail.c):
> 
> struct M {
>   unsigned char volatile   completed[46U] ;
> } volatile *m;
> 
> int main()
> {
>   return &m->completed;
> }

Oh... I've just tried to run unmodified CIL over this file, without my 
patches, and the conversion bug is still there!

So, it's a generic issue with --dosimplify, rather than a bug introduced 
by the modification.

-- 
Pavel Shved
website: http://coldattic.info/
e-mail: pavel.sh...@gmail.com

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to