Bug 34745 - collect array bounds checking
Summary: collect array bounds checking
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: libfortran (show other bugs)
Version: 4.3.0
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 34670
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-11 20:29 UTC by Thomas Koenig
Modified: 2015-09-01 07:56 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2008-02-19 15:48:50


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Koenig 2008-01-11 20:29:42 UTC
Jerry DeLisle noted in

http://gcc.gnu.org/ml/fortran/2008-01/msg00142.html

that it might be good to collect the bounds-checking code
for intrinsics into a single function.
Comment 1 Francois-Xavier Coudert 2015-09-01 07:56:23 UTC
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).