[Bug libfortran/34745] collect array bounds checking

fxcoudert at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 1 07:56:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34745

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |fxcoudert at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Hadn't been picked up in year, and I am not entirely sure this is a good idea:
bounds checking is better inlined, avoiding the function call and where
compiler heuristics for branch prediction can fully play their role
(runtime_error being noreturn, it is marked as unlikely automatically).



More information about the Gcc-bugs mailing list