Re: [PATCH] Make some ubsan tests more robust

2014-03-24 Thread Jakub Jelinek
On Mon, Mar 24, 2014 at 10:37:46AM +0100, Marek Polacek wrote: > dg-output as it stands can't be used in a negate form, that is we can't > check that no output was produced. This is needed for ubsan: there > are testcases that when run should issue no output at all. We can, > however, use this re

[PATCH] Make some ubsan tests more robust

2014-03-24 Thread Marek Polacek
dg-output as it stands can't be used in a negate form, that is we can't check that no output was produced. This is needed for ubsan: there are testcases that when run should issue no output at all. We can, however, use this really ugly hack, where we output some fake stuff at the beginning and at