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]

Re: option to check that arguments to PACK conform?


Are you proposing that in the presence of checking that
the frontend should emit a new function such that

x = reshape(y,z)

becomes

  check_bounds(x, y, z)
  x = reshape(y,z)
Yes; using tree-ssa to accomplish it.

This is probably the best way to do it, so go for it!


FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]