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

2025-04-09 Thread Gwen Fu via Gcc
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

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

2025-04-06 Thread Gwen Fu via Gcc
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 Runtime argument check ] Draft of Proposal and some doubts about the needs

2025-04-05 Thread Gwen Fu via Gcc
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

[GSoC]Fortran – run-time argument checking

2025-03-26 Thread Gwen Fu via Gcc
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, *//* -fcheck=assert */ > /* OPT_fcheck_boun

Dose "-Wall -Wextra" contain -Wconversion -Wfloat-conversion ?

2025-03-17 Thread Gwen Fu via Gcc
"gdb --args ../objdir/gcc/cc1plus -Wall -Wextra example.cc " When I debug to this line of code: gcc/c-family/c-warn.cc : line 1184 in function: conversion_warning: if (!warn_conversion && !warn_sign_conversion && !warn_float_conversion ) return false; the program directly return false whic

Re: make error when builing gcc

2025-03-10 Thread Gwen Fu via Gcc
Thank you! After replacing the outdated centOS operating system and compiling for eight hours(That's carzy to me), I have successfully installed and built gcc😂😂 Jonathan Wakely 于 2025年3月8日周六 下午5:25写道: > > > On Sat, 8 Mar 2025, 08:43 LIU Hao via Gcc, wrote: > >> 在 2025-3-8 15:20, Gwen Fu 写道: >>

make error when builing gcc

2025-03-07 Thread Gwen Fu via Gcc
After I finished ../gcc/configure --prefix=$HOME/GCC-4.6.2 --enable-languages=c,c++,fortran --disable-multilib , I executed "make -j 2" . However , error occurred ! ...(,omit unnecessary info) checking whether gcc -std=gnu99 supports -pedantic -Wlong-long... yes checking whether gcc -std=gn

some Small questions of a new hand

2025-03-06 Thread Gwen Fu via Gcc
Dear GCC Community, I have just joined the GCC community and am currently learning about the framework and essential knowledge related to the GCC compiler. I have cloned the GCC source code to my virtual machine, but I find the codebase to be quite large and am unsure where to start. Do you have a

[GSoC] Proposal Discussion:Fortran – run-time argument checking

2025-03-03 Thread Gwen Fu via Gcc
Dear GCC Community: I hope this email finds you well. My name is Gwen Fu(or Pengrui Fu), and I am interested in participating in Google Summer of Code 2025 with GCC. I am writing to discuss THIS PROJECT("Fortran – run-time argument checking") idea and seek your feedback before submitting my formal