This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2] Fix signed integer overflow in gcc/data-streamer.c
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Diego Novillo <dnovillo at google dot com>
- Date: Tue, 30 Sep 2014 09:09:38 +0200
- Subject: Re: [PATCH v2] Fix signed integer overflow in gcc/data-streamer.c
- Authentication-results: sourceware.org; auth=none
- References: <20140928122218 dot GA302 at x4> <CABu31nPr=TdrfktUGhXDe841SRwf3tyHbmDe8Dr4D7PiHGtTBA at mail dot gmail dot com> <20140928125710 dot GB302 at x4>
On 2014.09.28 at 14:57 +0200, Markus Trippelsdorf wrote:
> On 2014.09.28 at 14:36 +0200, Steven Bosscher wrote:
> >
> > Can you use HOST_WIDE_INT_1U for this?
>
> Sure. Thanks for the suggestion.
> (Fix now resembles similar idiom in data-streamer-in.c)
I checked in the fix as obvious.
--
Markus