[PATCH] libgfortran: Use __builtin_mul_overflow in xmallocarray
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Jun 14 23:23:00 GMT 2019
On Fri, Jun 14, 2019 at 08:07:36AM -0700, Steve Kargl wrote:
> On Fri, Jun 14, 2019 at 01:08:48PM +0300, Janne Blomqvist wrote:
> > As GCC now provides builtins for doing integer overflow checking, lets
> > use it when checking for overflow in xmallocarray.
> >
> > Regtested on x86_64-pc-linux-gnu, Ok for trunk?
> >
>
> OK
>
Just found
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65921
I assume that you close the PR.
--
Steve
More information about the Fortran
mailing list