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  <pola...@redhat.com>
> 
>       PR sanitizer/55702
>       * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN
>       functions.
> 
>       * gcc.dg/pr55702.c: New test.

        Jakub

Reply via email to