public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32736]  New: Replace -fallow-leading-underscore by Bind(C)
@ 2007-07-12  8:04 burnus at gcc dot gnu dot org
  2007-07-12 15:35 ` [Bug libfortran/32736] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-07-12  8:04 UTC (permalink / raw)
  To: gcc-bugs

We use in the library the _gfortran_ prefix; to do so, the
-fallow-leading-underscore was created. The idea was to replace it as soon as
we have ISO C Bindings. Well, we do now ...

http://gcc.gnu.org/ml/gcc-cvs/2007-01/msg00712.html

r121007 | fxcoudert | 2007-01-20 19:33:20 +0100 (Sa, 20 Jan 2007) | 162 lines

        * gfortran.h (gfc_options_t): Add flag_allow_leading_underscore.
        * lang.opt: Add -fallow-leading-underscore.
        * match.c (gfc_match_name): Allow leading underscore in symbol
        name if -fallow-leading-underscore is used.
        * symbol.c (gfc_get_default_type): Add special case for symbol
        names beginning with an underscore.
        * trans-decl.c (gfc_get_extern_function_decl,
        gfc_build_intrinsic_function_decls): Add _gfortran prefix to
        library symbols selected_int_kind, selected_real_kind and
        all specifics.
        * options.c (gfc_init_options, gfc_handle_option): Handle the
        new -fallow-leading-underscore option.
        * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
        * m4/specific2.m4: Likewise.
        * m4/specific.m4: Likewise.
        * intrinsics/f2c_specifics.F90: Likewise.
        * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
        * intrinsics/selected_real_kind.f90: Likewise.
        * intrinsics/dprod_r8.f90: Likewise.
        * Makefile.am: Add -fallow-leading-underscore to the
        gfor_specific_src files, as well as selected_real_kind.F90
        and selected_int_kind.F90
        * Makefile.in: Regenerate.
        * generated/_sqrt_c8.F90: Regenerate.
        [...]


-- 
           Summary: Replace -fallow-leading-underscore by Bind(C)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-05 10:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-12  8:04 [Bug fortran/32736] New: Replace -fallow-leading-underscore by Bind(C) burnus at gcc dot gnu dot org
2007-07-12 15:35 ` [Bug libfortran/32736] " pinskia at gcc dot gnu dot org
2007-07-28 12:51 ` fxcoudert at gcc dot gnu dot org
2007-07-28 12:52 ` fxcoudert at gcc dot gnu dot org
2007-07-28 18:17 ` fxcoudert at gcc dot gnu dot org
2007-07-28 20:12 ` fxcoudert at gcc dot gnu dot org
2007-08-05 10:39 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).