Re: [PATCH] Fix ubsan on mingw hosts (PR sanitizer/83014)

2017-11-24 Thread Richard Biener
On Thu, 23 Nov 2017, Jakub Jelinek wrote: > Hi! > > From my reading of the PR and looking around, I believe the reason > ubsan ICEs on mingw hosts is that it is the only host that redefines > HOST_LONG_LONG_FORMAT to "I64" instead of the usual "ll", but "%I64" > is nothing pp_format can handle,

[PATCH] Fix ubsan on mingw hosts (PR sanitizer/83014)

2017-11-23 Thread Jakub Jelinek
Hi! >From my reading of the PR and looking around, I believe the reason ubsan ICEs on mingw hosts is that it is the only host that redefines HOST_LONG_LONG_FORMAT to "I64" instead of the usual "ll", but "%I64" is nothing pp_format can handle, and indeed this spot in ubsan.c is the only place that