Re: [ubsan] Add testsuite

2013-07-18 Thread Marek Polacek
On Tue, Jul 16, 2013 at 08:04:14AM +0200, Bernhard Reutner-Fischer wrote: > +# ubsan_finish -- called at the start of each subdir of tests > > s/the start/the end/ You're attentive, will fix. Thanks, Marek

Re: [ubsan] Add testsuite

2013-07-15 Thread Bernhard Reutner-Fischer
+# ubsan_finish -- called at the start of each subdir of tests s/the start/the end/ Thanks, Sent with AquaMail for Android http://www.aqua-mail.com

Re: [ubsan] Add testsuite

2013-07-15 Thread Marek Polacek
On Tue, Jul 16, 2013 at 01:27:00AM +0200, Jakub Jelinek wrote: > On Mon, Jul 15, 2013 at 07:48:59PM +0200, Marek Polacek wrote: > > Ubsan testsuite is something we've been missing for some time now, so > > this patch adds it. Fortunately the dejagnu part was > > quite simple, since ubsan doesn't n

Re: [ubsan] Add testsuite

2013-07-15 Thread Jakub Jelinek
On Mon, Jul 15, 2013 at 07:48:59PM +0200, Marek Polacek wrote: > Ubsan testsuite is something we've been missing for some time now, so > this patch adds it. Fortunately the dejagnu part was > quite simple, since ubsan doesn't need similar tweaks as asan does. > But I had to tweak gcc.c to include

[ubsan] Add testsuite

2013-07-15 Thread Marek Polacek
Ubsan testsuite is something we've been missing for some time now, so this patch adds it. Fortunately the dejagnu part was quite simple, since ubsan doesn't need similar tweaks as asan does. But I had to tweak gcc.c to include -lubsan. The tests are testing pretty basic stuff, however, in LLVM tes