This is the mail archive of the gcc-patches@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] |
:ADDPATCH fortran:Yes, OK for trunk. Thanks!
For character(len=1,kind=c_char) FUNCTION func() bind(c)
the C equivalent is: char func(void)
However, gfortran was passing the character as reference (older dump, still contained the char length arguments): bar (__result, .__result, x, _x)
This patch fixes it.
Build and regression tested on x86-64. OK for the trunk?
Tobias
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |