<div dir="ltr">Looks like your new test will fail on platforms where plain char is unsigned. Please make sure the test has an explicit triple to avoid that, then LGTM.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 16, 2014 at 7:10 AM, Daniel Marjamäki <span dir="ltr"><<a href="mailto:Daniel.Marjamaki@evidente.se" target="_blank">Daniel.Marjamaki@evidente.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thank you!<br>
<div class=""><br>
> This doesn't look like it's quite enough: if the index's type is Char_S, you should also check whether the value of the character literal is negative.<br>
<br>
</div>I added a testcase for array['\xFF'] also.<br>
<br>
There is a array out of bounds message reported then.<br>
<div class="HOEnZb"><div class="h5"><br>
Best regards,<br>
Daniel Marjamäki<br>
<br>
..................................................................................................................<br>
Daniel Marjamäki<br>
Senior Engineer<br>
Evidente ES East AB<br>
Warfvinges väg 34  SE-112 51 Stockholm  Sweden<br>
<br>
<br>
Mobile:<br>
<a href="tel:%2B46%20%280%29709%2012%2042%2062" value="+46709124262">+46 (0)709 12 42 62</a><br>
E-mail:<br>
<br>
<a href="mailto:Daniel.Marjamaki@evidente.se">Daniel.Marjamaki@evidente.se</a><br>
<br>
<br>
<a href="http://www.evidente.se" target="_blank">www.evidente.se</a><br>
<br>
</div></div></blockquote></div><br></div>