Now with a patch.  Excuse me for the noise.

On Fri, Jun 15, 2012 at 10:55 AM, Dmitri Gribenko <[email protected]> wrote:
> Hello,
>
> The attached patch fixes crash-on-invalid when passing 128-bit
> integers to attributes that expect ICEs, for example:
>
> void attr6(void *ptr) __attribute__((nonnull(0x10000000000000001i128)));
>
> The root cause of the problem is using getZExtValue() on 128-bit integers.
>
> Please review.
>
> Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/

Attachment: attr-128bit-crash-on-invalid.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to