On Linux/ia32, I got

Executing on host:
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../gfortran
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/bind_c_module.f90   -O  
-pedantic-errors -S  -m32 -o bind_c_module.s    (timeout = 300)
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/bind_c_module.f90:13.14:^M
^M
  bind(c) :: a  ! { dg-error "attribute applied to" }^M
             1^M
Error: BIND(C) applied to MODULE a at (1)^M
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/bind_c_module.f90:20.14:^M
^M
  bind(c) :: a  ! { dg-error "attribute applied to" }^M
             1^M
Error: BIND(C) applied to MODULE a at (1)^M
compiler exited with status 1
output is:
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/bind_c_module.f90:13.14:^M
^M
  bind(c) :: a  ! { dg-error "attribute applied to" }^M
             1^M
Error: BIND(C) applied to MODULE a at (1)^M
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/bind_c_module.f90:20.14:^M
^M
  bind(c) :: a  ! { dg-error "attribute applied to" }^M
             1^M
Error: BIND(C) applied to MODULE a at (1)^M

FAIL: gfortran.dg/bind_c_module.f90  -O   (test for errors, line 13)
FAIL: gfortran.dg/bind_c_module.f90  -O   (test for errors, line 20)
FAIL: gfortran.dg/bind_c_module.f90  -O  (test for excess errors)


-- 
           Summary: gfortran.dg/bind_c_module.f90 doesn't work
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to