This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use unshare_expr more in c-ubsan.c
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 23 Jul 2015 19:11:52 +0200
- Subject: Re: [PATCH] Use unshare_expr more in c-ubsan.c
- Authentication-results: sourceware.org; auth=none
- References: <20150723170640 dot GL3335 at redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jul 23, 2015 at 07:06:40PM +0200, Marek Polacek wrote:
> This sprinkles some more unshare_exprs here and there in the ubsan code.
> Maybe we'll have to add some more of them elsewhere, too.
>
> Unfortunately this doesn't fix the ARM -Wmaybe-uninitialized issue yet :(.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
> 2015-07-23 Marek Polacek <polacek@redhat.com>
>
> * c-ubsan.c (ubsan_instrument_division): Use unshare_expr throughout.
> (ubsan_instrument_shift): Likewise.
Ok, thanks.
Jakub