public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/65921] New: GFortran should use __builtin_mul_overflow when checking allocation sizes
@ 2015-04-28 21:27 jb at gcc dot gnu.org
2015-09-08 9:49 ` [Bug fortran/65921] " dominiq at lps dot ens.fr
0 siblings, 1 reply; 2+ messages in thread
From: jb at gcc dot gnu.org @ 2015-04-28 21:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65921
Bug ID: 65921
Summary: GFortran should use __builtin_mul_overflow when
checking allocation sizes
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jb at gcc dot gnu.org
Target Milestone: ---
As of the GCC-5 release there is a new __builtin_mul_overflow builtin
(https://gcc.gnu.org/gcc-5/changes.html ). GFortran could use this instead of
the current overflow checks
1) In the frontend, code generated for the ALLOCATE statement.
2) In libgfortran/runtime/memory.c (xmallocarray).
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/65921] GFortran should use __builtin_mul_overflow when checking allocation sizes
2015-04-28 21:27 [Bug fortran/65921] New: GFortran should use __builtin_mul_overflow when checking allocation sizes jb at gcc dot gnu.org
@ 2015-09-08 9:49 ` dominiq at lps dot ens.fr
0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-09-08 9:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65921
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-09-08
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Marked as NEW.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-08 9:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28 21:27 [Bug fortran/65921] New: GFortran should use __builtin_mul_overflow when checking allocation sizes jb at gcc dot gnu.org
2015-09-08 9:49 ` [Bug fortran/65921] " dominiq at lps dot ens.fr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).