On Mon, Apr 22, 2013 at 06:53:59PM +0200, Marek Polacek wrote:
> 2013-04-22 Marek Polacek
>
> PR sanitizer/56990
> * tsan.c (instrument_expr): Don't instrument expression
> in case its size is zero.
>
> * gcc.dg/pr56990.c: New test.
Yes, thanks.
> --- gcc/tsan.c.mp
On Mon, Apr 22, 2013 at 05:23:17PM +0100, Richard Henderson wrote:
> On 2013-04-22 17:21, Jakub Jelinek wrote:
> >On Mon, Apr 22, 2013 at 06:11:26PM +0200, Marek Polacek wrote:
> >>We're getting SIGFPE, because one simply does not divide by zero.
> >>Fixed by doing the modulo only when size != 0.
>
On 2013-04-22 17:21, Jakub Jelinek wrote:
On Mon, Apr 22, 2013 at 06:11:26PM +0200, Marek Polacek wrote:
We're getting SIGFPE, because one simply does not divide by zero.
Fixed by doing the modulo only when size != 0.
Regtested/bootstrapped on x86_64-linux, ok for trunk and 4.8?
2013-04-22 Ma
On Mon, Apr 22, 2013 at 06:11:26PM +0200, Marek Polacek wrote:
> We're getting SIGFPE, because one simply does not divide by zero.
> Fixed by doing the modulo only when size != 0.
>
> Regtested/bootstrapped on x86_64-linux, ok for trunk and 4.8?
>
> 2013-04-22 Marek Polacek
>
> PR sanit
On 2013-04-22 17:11, Marek Polacek wrote:
We're getting SIGFPE, because one simply does not divide by zero.
Fixed by doing the modulo only when size != 0.
Regtested/bootstrapped on x86_64-linux, ok for trunk and 4.8?
2013-04-22 Marek Polacek
PR sanitizer/56990
* tsan.c (inst
We're getting SIGFPE, because one simply does not divide by zero.
Fixed by doing the modulo only when size != 0.
Regtested/bootstrapped on x86_64-linux, ok for trunk and 4.8?
2013-04-22 Marek Polacek
PR sanitizer/56990
* tsan.c (instrument_expr): Don't count modulo if the size