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/60447] New: Empty .s file created when using -E flag


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

            Bug ID: 60447
           Summary: Empty .s file created when using -E flag
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vladimir.fuka at gmail dot com

> touch test.f90
> gfortran -E -cpp test.f90
# 1 "test.f90"
# 1 "<command-line>"
# 1 "test.f90"

> ls -l test.s
-rw-r--r-- 1 lada users 0  6.ÂbÅe 13.47 test.s


C and C++ front-ends do not do this

> touch test.c
> gfortran -E -cpp test.c
# 1 "test.c"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "test.c"
> ls -l test.s
ls: cannot access test.s: No such file or directory

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