This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [asan] Handle noreturn calls with __asan_handle_no_return ()
- From: Dodji Seketeli <dodji at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Dec 2012 22:44:49 +0100
- Subject: Re: [asan] Handle noreturn calls with __asan_handle_no_return ()
- References: <20121205144952.GV2315@tucnak.redhat.com>
Jakub Jelinek <jakub@redhat.com> writes:
> +++ gcc/asan.c 2012-12-05 15:30:56.069890542 +0100
> @@ -1031,7 +1031,7 @@ instrument_builtin_call (gimple_stmt_ite
> {
> gimple call = gsi_stmt (*iter);
>
> - gcc_assert (is_gimple_builtin_call (call));
> + gcc_checking_assert (is_gimple_builtin_call (call));
Why is this change necessary?
The patch looks OK to me otherwise.
--
Dodji