[Bug fortran/71204] [5/6/7 Regression] ICE with -O0 in expand_expr_real_1, at expr.c:9651

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 20 18:53:00 GMT 2016


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May 20 18:52:38 2016
New Revision: 236526

URL: https://gcc.gnu.org/viewcvs?rev=236526&root=gcc&view=rev
Log:
        PR fortran/71204
        * frontend-passes.c (realloc_string_callback): Clear inserted_block
        and changed_statement before calling create_var.

        * gfortran.dg/pr71204.f90: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr71204.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/frontend-passes.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list