This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c/31893] Please provide an "inout" attribute for function parameters.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31893

Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #6 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-03-16 23:22:35 UTC ---
(In reply to comment #5)
> There is no support for this in the middle-end anyway. Not even for Fortran.

And with GCC 4.7.0, there is, and FORTRAN is using it. See PR43665 and 

http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00895.html

but there is no external interface exposing this functionality in C/C++. That
thread includes some suggestions. If you are still interested, you could try to
submit a patch implementing some of the suggestions.


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