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