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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-03-18
                 CC|                            |janus at gcc dot gnu.org
            Summary|ICE on factory design       |[OOP] ICE on factory design
                   |pattern                     |pattern
     Ever confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org ---
Confirmed. I think it may be related (or identical) to PR 58880, which shows a
very similar backtrace. The one I get here is:


ice_factory_pattern.f90: In function ‘create_problem’:
ice_factory_pattern.f90:350:0: internal compiler error: in fold_convert_loc, at
fold-const.c:1994
        ALLOCATE(self%problemPtr, SOURCE=FRosenbrock(self%problemID, ndim,
self%problemName))
 ^
0x79251f fold_convert_loc(unsigned int, tree_node*, tree_node*)
    /home/jweil/gcc49/trunk/gcc/fold-const.c:1993
0x61c8de gfc_conv_descriptor_data_set(stmtblock_t*, tree_node*, tree_node*)
    /home/jweil/gcc49/trunk/gcc/fortran/trans-array.c:178
0x63b2e5 gfc_conv_scalar_to_descriptor(gfc_se*, tree_node*, symbol_attribute)
    /home/jweil/gcc49/trunk/gcc/fortran/trans-expr.c:74
0x619799 gfc_add_comp_finalizer_call(stmtblock_t*, tree_node*, gfc_component*,
bool)
    /home/jweil/gcc49/trunk/gcc/fortran/trans.c:1012
0x624769 structure_alloc_comps
    /home/jweil/gcc49/trunk/gcc/fortran/trans-array.c:7672
0x63e487 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,
gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
    /home/jweil/gcc49/trunk/gcc/fortran/trans-expr.c:4630
0x663dc4 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
    /home/jweil/gcc49/trunk/gcc/fortran/trans-stmt.c:408
0x6698fc gfc_trans_allocate(gfc_code*)
    /home/jweil/gcc49/trunk/gcc/fortran/trans-stmt.c:5300
0x619137 trans_code
    /home/jweil/gcc49/trunk/gcc/fortran/trans.c:1778
0x6683dd gfc_trans_integer_select
    /home/jweil/gcc49/trunk/gcc/fortran/trans-stmt.c:2003
0x6683dd gfc_trans_select(gfc_code*)
    /home/jweil/gcc49/trunk/gcc/fortran/trans-stmt.c:2497
0x6191b7 trans_code
    /home/jweil/gcc49/trunk/gcc/fortran/trans.c:1744
0x638eb2 gfc_generate_function_code(gfc_namespace*)
    /home/jweil/gcc49/trunk/gcc/fortran/trans-decl.c:5610
0x61a641 gfc_generate_module_code(gfc_namespace*)
    /home/jweil/gcc49/trunk/gcc/fortran/trans.c:1956
0x5d8edb translate_all_program_units
    /home/jweil/gcc49/trunk/gcc/fortran/parse.c:4523
0x5d8edb gfc_parse_file()
    /home/jweil/gcc49/trunk/gcc/fortran/parse.c:4733
0x6159a5 gfc_be_parse_file
    /home/jweil/gcc49/trunk/gcc/fortran/f95-lang.c:188

Reply via email to