This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50514] gfortran should check ISHFT & ISHFTC aruments (r178939)
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Sep 2011 09:20:40 +0000
- Subject: [Bug fortran/50514] gfortran should check ISHFT & ISHFTC aruments (r178939)
- Auto-submitted: auto-generated
- References: <bug-50514-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
--- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> 2011-09-28 09:20:40 UTC ---
I meant checking static expressions at compilation time, as in my example.
This has no cost at run time.
You proposed a run time check that still should be done if requested with a
kind of -fcheck option.
By the way, gfortran is already checking consistency of static arguments to
intrinsic functions, it is that just these one are left unchecked.