[Bug fortran/42888] [4.5 Regression] ICE in fold_convert_loc, at fold-const.c:2670

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 28 04:15:00 GMT 2010



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2010-01-28 04:15 -------
The breakage is from rev 152345 which looks like a merge from fortran-dev. 
Continuing the hunt in fortran-dev gives ...---...  ...---... ...---...

r152375 Fails
r152345 Fails  < ----- Regression occurs here on trunk
  r152200 Fails
  r152123 Fails < ----- Regression occurs here on fortran-dev
  r152122 Passes
  r152057 Passes
r152344 Passes
r152343 passes

        * dump-parse-tree.c (show_code_node): Renamed 'alloc_list'.
        * gfortran.h (gfc_code): Rename 'alloc_list'. Add member 'ts'.
        (gfc_expr_to_initialize): New prototype.
        * match.c (alloc_opt_list): Correctly check type compatibility.
        Renamed 'alloc_list'.
        (dealloc_opt_list): Renamed 'alloc_list'.
        * resolve.c (expr_to_initialize): Rename to 'gfc_expr_to_initialize'
        and make it non-static.
        (resolve_allocate_expr): Set vindex for CLASS variables correctly.
        Move initialization code to gfc_trans_allocate. Renamed 'alloc_list'.
        (resolve_allocate_deallocate): Renamed 'alloc_list'.
        (check_class_pointer_assign): Rename to 'resolve_class_assign'. Change
        argument type. Adjust to work with ordinary assignments.
        (resolve_code): Call 'resolve_class_assign' for ordinary assignments.
        Renamed 'check_class_pointer_assign'.
        * st.c (gfc_free_statement): Renamed 'alloc_list'.
        * trans-stmt.c (gfc_trans_allocate): Renamed 'alloc_list'. Handle
        size determination and initialization of CLASS variables. Bugfix for
        ALLOCATE statements with default initialization and SOURCE block.
        (gfc_trans_deallocate): Renamed 'alloc_list'.


-- 


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



More information about the Gcc-bugs mailing list