This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR39505 - add support for !GCC$ attributes NO_ARG_CHECK
- From: Tobias Burnus <burnus at net-b dot de>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 15 Apr 2013 23:25:51 +0200
- Subject: Re: [Patch, Fortran] PR39505 - add support for !GCC$ attributes NO_ARG_CHECK
- References: <51657380 dot 2000809 at net-b dot de> <51667378 dot 2090209 at net-b dot de> <516826F8 dot 4070408 at net-b dot de> <516C6B3F dot 7000100 at netcologne dot de>
Am 15.04.2013 23:03, schrieb Thomas Koenig:
Hi Tobias,
Minor patch update due to Janus' gfc_explicit_interface_required patch.
Build and regtested on x86-64-gnu-linux.
OK for the trunk?
I see that it can be useful, but I really dislike disabling the TKR
checks. Can you put this behind an option so the user has to specify that
he really means it?
Well, it is difficult to write accidentally
!GCC$ attributes NO_ARG_CHECKS :: args
Additionally, for the purpose of libraries - such as MPI, it makes sense
to disable the TKR check without requiring the users to always compile
their programs with special options.
Regarding an option: Would be -f(no-)directives (with default = on) a
suitable option, which also affects the other !GCC$ attributes, such as
dllexport etc.?
OK with this change; also OK if other people think that requiring
such an option is a Bad Idea.
Tobias