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/61156] New: Internal compiler error for Fortran files when specifying a file instead of an include directory with -I


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

            Bug ID: 61156
           Summary: Internal compiler error for Fortran files when
                    specifying a file instead of an include directory with
                    -I
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugs at stellardeath dot org

gfortran produces an internal compiler error when one mistakenly specifies a
file instead of a directory with -I:

#> touch file.h
#> touch src.F90
#> gcc-4.9 -I./file.h src.F90
Warning: "./file.h" is not a directory
f951: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
#>

Happens both withe shipped gcc-4.8.1 from openSUSE 13.1 and
their gcc-4.9.0 from a development repository:

#> gcc-4.9 --version
gcc-4.9 (SUSE Linux) 4.9.0
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I could also trigger this with versions 4.8.1, 4.7.3, and 4.6.4, - but not with
4.3.4 :)


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