[GSoC] Fortran – run-time argument checking

2025-03-20 Thread Gwen Fu
I'm very sorry that I've only just gotten in touch with the Gfortran community! I've been trying to fix a bug in the GCC community for some time (although I'm still working on it) and trying to understand the internal components of GCC and its operation process. I'm very sorry that I just got in to

GSoC[Fortran Runtime argument check ] Draft of Proposal and some doubts about the needs

2025-04-05 Thread Gwen Fu
My doubt : 1.Does the compilation option only need to support fortran versions above 9, o5r does it also need to support fortran 77? 2.Regarding parameter checking, *my idea is that after the user creates an array of a specified size, it is passed into the function as a parameter*. However, the arr

Re: GSoC[Fortran Runtime argument check ] Draft of Proposal and some doubts about the needs

2025-04-06 Thread Gwen Fu
Thanks for your reply ! >The word "parameter" has very a specific meaning in Fortran. The >entity that is passed into a function or subroutine is an "actual >argument". The entity within the functions associated with the >"actual argument" is a "dummy argument". Can I understand "dummy parameters"

[GSoC]Fortran – run-time argument checking

2025-03-26 Thread Gwen Fu
Gwen Fu 于 2025年3月25日周二 下午8:34写道: > I found out that "-fcheck=*" is an option for runtime checking, but the > relevant options are commented out. > OPT_fcheck_ = 1070,/* -fcheck= */ > /* OPT_fcheck_assert = 1071, */

Re: GSoC[Fortran Runtime argument check ] Draft of Proposal and some doubts about the needs

2025-04-10 Thread Gwen Fu
Thank you for your detailed explanation of "dummy parameter" ! >It is still unclear to me what you are trying to accomplish. >Implicit typying and implicit interfaces are a compile-time >thing. ... >An -fcheck=implicit-type option that generates a runtime >error that does not make sense to m

[GSoC]Fortran – run-time argument checking

2025-03-25 Thread Gwen Fu
I found out that "-fcheck=*" is an option for runtime checking, but the relevant options are commented out. OPT_fcheck_ = 1070,/* -fcheck= */ /* OPT_fcheck_assert = 1071, *//* -fcheck=assert */ /* OPT_fcheck_bounds = 1072, *//* -fcheck=bounds */