This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add more testing to ubsan #1


On Sat, Dec 14, 2013 at 02:20:05PM +0100, Marek Polacek wrote:
> This adds two sanity tests for signed-integer-overflow sanitization.
> One variant uses asms to prevent ccp/... from optimizing away the
> computations.  Nothing in these tests should fail.
> 
> Regtested on x86_64-unknown-linux-gnu and powerpc64-unknown-linux-gnu,
> ok for trunk?
> 
> 2013-12-14  Marek Polacek  <polacek@redhat.com>
> 
> testsuite/
> 	* c-c++-common/ubsan/overflow-1.c: New test.
> 	* c-c++-common/ubsan/overflow-2.c: New test.

Ok, thanks.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]