This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The following patch is trivial: Normal procedures with character argument come with a hidden length argument, which can be used with -fcheck=bounds to check whether the actual argument is smaller than the dummy argument.
However, BIND(C) procedures do not have any hidden argument; thus accessing the non-existing argument leads to an ICE. The fix is trivial: Don't add the check for BIND(C) procedures.
Build and regtested on x86-64-linux. OK for the trunk?
-- Done: Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz To go: Hea-Kni-Mon-Pri
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |