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][tsan] Fix PR55702


On Wed, Apr 03, 2013 at 04:40:30PM +0200, Marek Polacek wrote:
> In this PR we ICEd because instrument_func_exit checked that
> the last stmt of predecessors of EXIT_BLOCK_PTR is GIMPLE_RETURN,
> but here we should allow BUILT_IN_RETURN function as well, as
> it's basically the same as return.
> 
> I'm not sure about the testcase, but we don't have tsan testsuite
> yet ...
> 
> Regtested on x86_64-linux, ok for trunk?

Ok for trunk/4.8.

> 2013-04-03  Marek Polacek  <polacek@redhat.com>
> 
> 	PR sanitizer/55702
> 	* tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN
> 	functions.
> 
> 	* gcc.dg/pr55702.c: New test.

	Jakub


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