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/33215] Bind(C): Bugs with empty "name=": Creates wrong result and accepts invalid



------- Comment #3 from burnus at gcc dot gnu dot org  2007-08-29 13:09 -------
Subject: Bug 33215

Author: burnus
Date: Wed Aug 29 13:08:55 2007
New Revision: 127898

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127898
Log:
2007-08-29  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/33215
        * decl.c (build_sym): Pass number of identifiers on line to
        set_binding_label.
        (set_binding_label): Verify that only one identifier given if
        NAME= specified, even if the given binding label has zero length.
        (gfc_match_bind_c): Remove declaration for has_name_equals because
        it hides the static global one that is needed.

2007-08-29  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/33215
        * gfortran.dg/binding_label_tests_15.f03: New test case.
        * gfortran.dg/binding_label_tests_16.f03: Ditto.


Added:
    trunk/gcc/testsuite/gfortran.dg/binding_label_tests_15.f03
    trunk/gcc/testsuite/gfortran.dg/binding_label_tests_16.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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