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/69063] New: Internal compiler error, -Wunused-parameter


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69063

            Bug ID: 69063
           Summary: Internal compiler error, -Wunused-parameter
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: physiker at toast2 dot net
  Target Milestone: ---
              Host: x86_64-apple-darwin13.4.0
            Target: x86_64-apple-darwin13.4.0
             Build: gcc-5.3.0

Created attachment 37140
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37140&action=edit
Source code

bash-3.2$ LANG=C  gfortran -v -c -Wunused-parameter t.f90
Using built-in specs.
COLLECT_GCC=gfortran
Target: x86_64-apple-darwin13.4.0
Configured with: ../gcc-5.3.0/configure --prefix=/sw --prefix=/sw/lib/gcc5
--mandir=/sw/share/man --infodir=/sw/lib/gcc5/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw --with-system-zlib
--program-suffix=-fsf-5
Thread model: posix
gcc version 5.3.0 (GCC) 

COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.9.4' '-v' '-c'
'-Wunused-parameter' '-mtune=core2'
 /sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/f951 t.f90 -fPIC
-quiet -dumpbase t.f90 -mmacosx-version-min=10.9.4 -mtune=core2 -auxbase t
-Wunused-parameter -version -fintrinsic-modules-path
/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/finclude -o
/var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc6mEFr6.s
GNU Fortran (GCC) version 5.3.0 (x86_64-apple-darwin13.4.0)
        compiled by GNU C version 5.3.0, GMP version 6.0.0, MPFR version 3.1.3,
MPC version 1.0.3
warning: GMP header version 6.0.0 differs from library version 6.1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (GCC) version 5.3.0 (x86_64-apple-darwin13.4.0)
        compiled by GNU C version 5.3.0, GMP version 6.0.0, MPFR version 3.1.3,
MPC version 1.0.3
warning: GMP header version 6.0.0 differs from library version 6.1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
'
t.f90:8:0:

       end function f
 ^
in pp_format, at pretty-print.c:614

Internal compiler error: Error reporting routines re-entered.
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Compiling t.c with the comand line option -Wunused-parameter causes also an
internal compiler error on linux (gcc 5.2).

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