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 target/68770] [6 Regression] Conditional jump or move depends on uninitialised value(s) default_secondary_reload() targhooks.c:940


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-12-18
     Ever confirmed|0                           |1

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
trippels@gcc2-power8 c++98 % valgrind --trace-children=yes --track-origins=yes
~/gcc_test/usr/local/bin/g++ -std=gnu++98 -O2 -c parallel_settings.ii
==124421== Memcheck, a memory error detector
==124421== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==124421== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==124421== Command: /home/trippels/gcc_test/usr/local/bin/g++ -std=gnu++98 -O2
-c parallel_settings.ii
==124421== 
==124423== Memcheck, a memory error detector
==124423== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==124423== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==124423== Command:
/home/trippels/gcc_test/usr/local/bin/../libexec/gcc/powerpc64le-unknown-linux-gnu/6.0.0/cc1plus
-fpreprocessed parallel_settings.ii -quiet -dumpbase parallel_settings.ii
-mcpu=power8 -auxbase parallel_settings -O2 -std=gnu++98 -o
/home/trippels/tmp/ccj9CuMk.s
==124423== 
==124423== Conditional jump or move depends on uninitialised value(s)
==124423==    at 0x10A76104: default_secondary_reload(bool, rtx_def*, int,
machine_mode, secondary_reload_info*) (targhooks.c:940)
==124423==    by 0x10E4DDB3: rs6000_secondary_reload(bool, rtx_def*, int,
machine_mode, secondary_reload_info*) (rs6000.c:18415)
==124423==    by 0x1085CE37: copy_cost(rtx_def*, machine_mode, int, bool,
secondary_reload_info*) [clone .part.7] (ira-costs.c:445)
==124423==    by 0x1085CEA7: copy_cost (ira-costs.c:434)
==124423==    by 0x1085CEA7: copy_cost(rtx_def*, machine_mode, int, bool,
secondary_reload_info*) [clone .part.7] (ira-costs.c:452)
==124423==    by 0x1085D3E3: copy_cost (ira-costs.c:434)
==124423==    by 0x1085D3E3: record_reg_classes(int, int, rtx_def**,
machine_mode*, char const**, rtx_insn*, reg_class*) [clone .constprop.43]
(ira-costs.c:984)
==124423==    by 0x1085F77F: record_operand_costs(rtx_insn*, reg_class*)
(ira-costs.c:1325)
==124423==    by 0x1085FCCB: scan_one_insn (ira-costs.c:1462)
==124423==    by 0x1085FCCB: process_bb_for_costs(basic_block_def*)
(ira-costs.c:1583)
==124423==    by 0x10855A2F: ira_traverse_loop_tree(bool, ira_loop_tree_node*,
void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*))
(ira-build.c:1798)
==124423==    by 0x108626FF: find_costs_and_classes(_IO_FILE*)
(ira-costs.c:1680)
==124423==    by 0x10862EB3: ira_costs() (ira-costs.c:2213)
==124423==    by 0x10859D9B: ira_build() (ira-build.c:3419)
==124423==    by 0x1084FA4B: ira (ira.c:5219)
==124423==    by 0x1084FA4B: (anonymous
namespace)::pass_ira::execute(function*) (ira.c:5511)
==124423==  Uninitialised value was created by a stack allocation
==124423==    at 0x1085CDA8: copy_cost(rtx_def*, machine_mode, int, bool,
secondary_reload_info*) [clone .part.7] (ira-costs.c:426)

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