https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69385
Bug ID: 69385 Summary: [6 regression] ICE on valid with -fcheck=all Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mar...@mpa-garching.mpg.de Target Milestone: --- Created attachment 37405 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37405&action=edit test case Compiling the attached testcase using yesterday's trunk with the command line gfortran -v -c bugrep.f90 -fcheck=all produces /scratch/martin/mysvn/Crash_polish>gfortran -v -c bugrep.f90 -fcheck=all Using built-in specs. COLLECT_GCC=gfortran Target: x86_64-pc-linux-gnu Configured with: /scratch/martin/gccgit/configure --disable-bootstrap --prefix=/scratch/martin/utrunk --enable-languages=c++,fortran --enable-target=all --enable-checking=release Thread model: posix gcc version 6.0.0 20160118 (experimental) [trunk revision 6ccd18c:cc8cc97:131468370faeb6ea8a1d21081d7e6a593bf40170] (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-fcheck=all' '-mtune=generic' '-march=x86-64' /scratch/martin/utrunk/libexec/gcc/x86_64-pc-linux-gnu/6.0.0/f951 bugrep.f90 -quiet -dumpbase bugrep.f90 -mtune=generic -march=x86-64 -auxbase bugrep -version -fcheck=all -fintrinsic-modules-path /scratch/martin/utrunk/lib/gcc/x86_64-pc-linux-gnu/6.0.0/finclude -o /tmp/ccvKz9Tq.s GNU Fortran (GCC) version 6.0.0 20160118 (experimental) [trunk revision 6ccd18c:cc8cc97:131468370faeb6ea8a1d21081d7e6a593bf40170] (x86_64-pc-linux-gnu) compiled by GNU C version 5.2.0, GMP version 5.1.3, MPFR version 3.1.3, MPC version 1.0.3, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran2008 (GCC) version 6.0.0 20160118 (experimental) [trunk revision 6ccd18c:cc8cc97:131468370faeb6ea8a1d21081d7e6a593bf40170] (x86_64-pc-linux-gnu) compiled by GNU C version 5.2.0, GMP version 5.1.3, MPFR version 3.1.3, MPC version 1.0.3, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 bugrep.f90:18:0: allocate(getCmdLine(command_argument_count())) internal compiler error: in wide_int_to_tree, at tree.c:1486 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. If "-fcheck=all" is omitted, the code is compiled without complaint.