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/79335] New: [7 Regression] Conditional jump or move depends on uninitialised in value get_scalar_to_descriptor_type(tree_node*, symbol_attribute) (trans-expr.c:53)


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

            Bug ID: 79335
           Summary: [7 Regression] Conditional jump or move depends on
                    uninitialised in value
                    get_scalar_to_descriptor_type(tree_node*,
                    symbol_attribute) (trans-expr.c:53)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: vehre at gcc dot gnu.org
  Target Milestone: ---

Starting from r240231, following is seen by valgrind:

$ valgrind --leak-check=yes --trace-children=yes ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/coarray_ptr_comp_1.f08
-fcoarray=lib -c

==23074== Conditional jump or move depends on uninitialised value(s)
==23074==    at 0x902D61: get_scalar_to_descriptor_type(tree_node*,
symbol_attribute) (trans-expr.c:53)
==23074==    by 0x902EC0: gfc_conv_scalar_to_descriptor(gfc_se*, tree_node*,
symbol_attribute) (trans-expr.c:71)
==23074==    by 0x8FBE90: generate_coarray_sym_init(gfc_symbol*)
(trans-decl.c:5132)
==23074==    by 0x8A16C3: do_traverse_symtree(gfc_symtree*, void
(*)(gfc_symtree*), void (*)(gfc_symbol*)) (symbol.c:3986)
==23074==    by 0x8A177E: gfc_traverse_ns(gfc_namespace*, void
(*)(gfc_symbol*)) (symbol.c:4011)
==23074==    by 0x8FC2AF: generate_coarray_init(gfc_namespace*)
(trans-decl.c:5199)
==23074==    by 0x8FEE4E: gfc_generate_function_code(gfc_namespace*)
(trans-decl.c:6234)
==23074==    by 0x8C3F38: gfc_generate_code(gfc_namespace*) (trans.c:2141)
==23074==    by 0x854F37: translate_all_program_units(gfc_namespace*)
(parse.c:6051)
==23074==    by 0x855547: gfc_parse_file() (parse.c:6251)
==23074==    by 0x8AC919: gfc_be_parse_file() (f95-lang.c:204)
==23074==    by 0xF63EFE: compile_file() (toplev.c:463)

...

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