This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/43022] New: gfc_typenode_for_spec: Conditional jump depends on uninitialised value (intrinsic_product_1.f90)


When compiling gfortran.dg/intrinsic_product_1.f90 under valgrind, one sees the
following valgrind notification; the line referred to is:

gfc_typenode_for_spec (gfc_typespec * spec)
  switch (spec->type)
    case BT_INTEGER:
      if (spec->f90_type == BT_VOID)  // <<< Line 1001

 Conditional jump or move depends on uninitialised value(s)
    at 0x5854F4: gfc_typenode_for_spec (trans-types.c:1001)
    by 0x5654CB: gfc_conv_intrinsic_conversion (trans-intrinsic.c:250)
    by 0x56D075: gfc_conv_intrinsic_function (trans-intrinsic.c:5178)
    by 0x562C42: gfc_conv_function_expr (trans-expr.c:3887)
    by 0x55D9EF: gfc_conv_expr_reference (trans-expr.c:4646)
    by 0x56111C: gfc_conv_procedure_call (trans-expr.c:2971)
    by 0x564653: gfc_conv_intrinsic_funcall (trans-intrinsic.c:1703)
    by 0x56CB2C: gfc_conv_intrinsic_function (trans-intrinsic.c:5042)
    by 0x562C42: gfc_conv_function_expr (trans-expr.c:3887)
    by 0x54904D: gfc_add_loop_ss_code (trans-array.c:2088)
    by 0x549A82: gfc_conv_loop_setup (trans-array.c:3722)
    by 0x55D096: gfc_trans_assignment_1 (trans-expr.c:5330)


-- 
           Summary: gfc_typenode_for_spec: Conditional jump depends on
                    uninitialised value (intrinsic_product_1.f90)
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]