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 fortran/31310] gfortran is missing -fcase-preserve option



------- Comment #1 from burnus at gcc dot gnu dot org  2007-03-22 13:05 -------
> Or a workaround / new method for mixed case functions calls from gfortran
> to C.

In the Fortran-Experiments branch exists support for C bindings:
  subroutine fortranname bind(C,name='C_Name')

(Planned to be included in GCC/gfortran 4.3 rather soon.)


g77 has a huge number (~20) of case options, cf.
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/Fortran-Dialect-Options.html#index-g_t_002dfintrin_002dcase_002dinitcap-option-237

In gfortran's invoke.texi:
"For example, with @option{-funderscoring}, and assuming other defaults like
 @option{-fcase-lower} and that @code{j()} and @code{max_count()} are
 external functions while @code{my_var} and @code{lvar} are local variables,
 a statement like"


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org


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


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