This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/34670] bounds checking for array intrinsics
- From: "tkoenig at netcologne dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2008 11:48:07 -0000
- Subject: [Bug libfortran/34670] bounds checking for array intrinsics
- References: <bug-34670-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tkoenig at netcologne dot de 2008-01-05 11:48 -------
Subject: Re: bounds checking for array intrinsics
Hi Jerry,
> Do we want the overhead of bounds checking at run time on all these intrinsics?
In the case of no bounds checking, it's a single if statement.
> Is there a way to do it without the overhead?
We could duplicate every intrinsic array function, one version with
bounds checking and one without, then call the appropriate function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34670