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

            Bug ID: 78033
           Summary: Internal Compiler Error in
                    enforce_single_undo_checkpoint
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: physiker at toast2 dot net
  Target Milestone: ---

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

Compiling the file bug.f90 causes an internal compiler error. This is a
regression. gcc-5 and gcc-6 compile the code without an error message.

LANG=C gfortran-7 -c bug.f90 -Wall -W -v 
Using built-in specs.
COLLECT_GCC=gfortran-7
Target: x86_64-apple-darwin13.4.0
Configured with: ../gcc/configure --enable-languages=c,c++,fortran,lto
--with-gmp=/sw --with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw
--with-system-zlib --program-suffix=-7
Thread model: posix
gcc version 7.0.0 20161015 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-Wall' '-Wextra' '-v' '-mmacosx-version-min=10.9.4'
'-mtune=core2'
 /usr/local/libexec/gcc/x86_64-apple-darwin13.4.0/7.0.0/f951 bug.f90 -fPIC
-quiet -dumpbase bug.f90 -mmacosx-version-min=10.9.4 -mtune=core2 -auxbase bug
-Wall -Wextra -version -fintrinsic-modules-path
/usr/local/lib/gcc/x86_64-apple-darwin13.4.0/7.0.0/finclude -o
/var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccNO9KhM.s
GNU Fortran (GCC) version 7.0.0 20161015 (experimental)
(x86_64-apple-darwin13.4.0)
        compiled by GNU C version 7.0.0 20161015 (experimental), GMP version
6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran2008 (GCC) version 7.0.0 20161015 (experimental)
(x86_64-apple-darwin13.4.0)
        compiled by GNU C version 7.0.0 20161015 (experimental), GMP version
6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
f951: internal compiler error: in enforce_single_undo_checkpoint, at
fortran/symbol.c:3514

f951: internal compiler error: Abort trap: 6
gfortran-7: 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.

Reply via email to