Hi all, I am experiencing a strange issue with gfortran. Compiling a simple program:
$ cat end.f90 end $ gfortran end.f90 -o end f951: Fatal Error: Cannot open pre-included file '\xe0\xd4\xf2,' compilation terminated. Yes, the program is doing nothing, but can not be compiled. The pre-included file name changes randomly. Looks like something is either overwritten or not initialized properly. I bisected this issue down to commit f23bac62f46fc296a4d0526ef54824d406c3756c Author: John Ericson <g...@johnericson.me> Date: Fri Aug 22 22:24:56 2025 -0400 driver: Rework for_each_path using C++ but I do not see, why this should affect gfortran's ability to build a simple program. I have checked the commit pre to f23bac and with that gfortran compiles the end.f90 fine. Running gfortran with valgrind --trace-children=yes gives the attached log. !!! Note !!! This happens only on a stage1-only gfortran build on x86_64-pc-linux-gnu / F41. This is the configure and make call: LANG=C "${SRCPATH}/configure" \ --disable-multilib\ --enable-stage1-languages=c,fortran,c++\ --enable-checking=yes \ --enable-offload-defaulted \ --prefix="${INSTALLPATH}" \ CFLAGS="-g -O0 -DENABLE_ASSERT_CHECKING" CXXFLAGS="-g -O0"\ STAGE1_CFLAGS="-g -O0 -DENABLE_ASSERT_CHECKING" STAGE1_CXXFLAGS="-g -O0" make configure-stage1-gcc && \ make -j 16 all-stage1 SRCPATH points to master at 9f94029829daf3b83bb95226dcfe003c5ddcade2. Oddly though, using a bootstrapped-build of gfortran does not suffer from the issue. Any clues anyone? What am I doing wrong? Regards, Andre -- Andre Vehreschild * Email: vehre ad gmx dot de
==482038== Memcheck, a memory error detector ==482038== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==482038== Using Valgrind-3.25.1 and LibVEX; rerun with -h for copyright info ==482038== Command: gfortran end.f90 -o end -fdump-tree-original -g ==482038== ==482038== Conditional jump or move depends on uninitialised value(s) ==482038== at 0x404D1E: auto* for_each_path<find_a_file(path_prefix const*, char const*, int, bool)::{lambda(char*)#1}>(path_prefix const*, bool, unsigned long, find_a_file(path_prefix const*, char const*, int, bool)::{lambda(char*)#1}&&) (gcc.cc:2932) ==482038== by 0x404DEA: find_a_file(path_prefix const*, char const*, int, bool) (gcc.cc:3038) ==482038== by 0x418416: find_fortran_preinclude_file(int, char const**) (gcc.cc:11159) ==482038== by 0x40E945: eval_spec_function(char const*, char const*, char const*) (gcc.cc:7048) ==482038== by 0x40EBC7: handle_spec_function(char const*, bool*, char const*) (gcc.cc:7129) ==482038== by 0x40E171: do_spec_1(char const*, int, char const*) (gcc.cc:6817) ==482038== by 0x40F891: process_brace_body(char const*, char const*, char const*, int, int) (gcc.cc:7497) ==482038== by 0x40F68D: handle_braces(char const*) (gcc.cc:7404) ==482038== by 0x40E140: do_spec_1(char const*, int, char const*) (gcc.cc:6811) ==482038== by 0x40F891: process_brace_body(char const*, char const*, char const*, int, int) (gcc.cc:7497) ==482038== by 0x40F68D: handle_braces(char const*) (gcc.cc:7404) ==482038== by 0x40E140: do_spec_1(char const*, int, char const*) (gcc.cc:6811) ==482038== ==482038== Conditional jump or move depends on uninitialised value(s) ==482038== at 0x418420: find_fortran_preinclude_file(int, char const**) (gcc.cc:11160) ==482038== by 0x40E945: eval_spec_function(char const*, char const*, char const*) (gcc.cc:7048) ==482038== by 0x40EBC7: handle_spec_function(char const*, bool*, char const*) (gcc.cc:7129) ==482038== by 0x40E171: do_spec_1(char const*, int, char const*) (gcc.cc:6817) ==482038== by 0x40F891: process_brace_body(char const*, char const*, char const*, int, int) (gcc.cc:7497) ==482038== by 0x40F68D: handle_braces(char const*) (gcc.cc:7404) ==482038== by 0x40E140: do_spec_1(char const*, int, char const*) (gcc.cc:6811) ==482038== by 0x40F891: process_brace_body(char const*, char const*, char const*, int, int) (gcc.cc:7497) ==482038== by 0x40F68D: handle_braces(char const*) (gcc.cc:7404) ==482038== by 0x40E140: do_spec_1(char const*, int, char const*) (gcc.cc:6811) ==482038== by 0x40B220: do_spec_2(char const*, char const*) (gcc.cc:5838) ==482038== by 0x40B13B: do_spec(char const*) (gcc.cc:5802) ==482038== ==482043== Memcheck, a memory error detector ==482043== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==482043== Using Valgrind-3.25.1 and LibVEX; rerun with -h for copyright info ==482043== Command: /mnt/work_store/gcc/installs/test/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/f951 end.f90 -quiet -dumpbase end.f90 -dumpbase-ext .f90 -mtune=generic -march=x86-64 -g -fdump-tree-original -fintrinsic-modules-path /mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o /tmp/ccKKval6.s ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC17F6A: mark_pseudo_regno_live(int) (ira-lives.cc:327) ==482043== by 0xC1821E: mark_pseudo_reg_live(rtx_def*, unsigned int) (ira-lives.cc:411) ==482043== by 0xC1828B: mark_ref_live(df_ref_d*) (ira-lives.cc:425) ==482043== by 0xC1AFF2: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.cc:1512) ==482043== by 0xBEFC18: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) ==482043== by 0xC1BD53: ira_create_allocno_live_ranges() (ira-lives.cc:1812) ==482043== by 0xBF425E: ira_build() (ira-build.cc:3492) ==482043== by 0xBEA6BD: ira(_IO_FILE*) (ira.cc:5888) ==482043== by 0xBEB059: (anonymous namespace)::pass_ira::execute(function*) (ira.cc:6212) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC17748: make_object_live(ira_object*) (ira-lives.cc:127) ==482043== by 0xC17F89: mark_pseudo_regno_live(int) (ira-lives.cc:331) ==482043== by 0xC1821E: mark_pseudo_reg_live(rtx_def*, unsigned int) (ira-lives.cc:411) ==482043== by 0xC1828B: mark_ref_live(df_ref_d*) (ira-lives.cc:425) ==482043== by 0xC1AFF2: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.cc:1512) ==482043== by 0xBEFC18: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) ==482043== by 0xC1BD53: ira_create_allocno_live_ranges() (ira-lives.cc:1812) ==482043== by 0xBF425E: ira_build() (ira-build.cc:3492) ==482043== by 0xBEA6BD: ira(_IO_FILE*) (ira.cc:5888) ==482043== by 0xBEB059: (anonymous namespace)::pass_ira::execute(function*) (ira.cc:6212) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC17F6A: mark_pseudo_regno_live(int) (ira-lives.cc:327) ==482043== by 0xC1821E: mark_pseudo_reg_live(rtx_def*, unsigned int) (ira-lives.cc:411) ==482043== by 0xC1828B: mark_ref_live(df_ref_d*) (ira-lives.cc:425) ==482043== by 0xC1AFF2: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.cc:1512) ==482043== by 0xBEFC18: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) ==482043== by 0xC1BD53: ira_create_allocno_live_ranges() (ira-lives.cc:1812) ==482043== by 0xBF425E: ira_build() (ira-build.cc:3492) ==482043== by 0xBEA6BD: ira(_IO_FILE*) (ira.cc:5888) ==482043== by 0xBEB059: (anonymous namespace)::pass_ira::execute(function*) (ira.cc:6212) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC17748: make_object_live(ira_object*) (ira-lives.cc:127) ==482043== by 0xC17F89: mark_pseudo_regno_live(int) (ira-lives.cc:331) ==482043== by 0xC1821E: mark_pseudo_reg_live(rtx_def*, unsigned int) (ira-lives.cc:411) ==482043== by 0xC1828B: mark_ref_live(df_ref_d*) (ira-lives.cc:425) ==482043== by 0xC1AFF2: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.cc:1512) ==482043== by 0xBEFC18: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) ==482043== by 0xC1BD53: ira_create_allocno_live_ranges() (ira-lives.cc:1812) ==482043== by 0xBF425E: ira_build() (ira-build.cc:3492) ==482043== by 0xBEA6BD: ira(_IO_FILE*) (ira.cc:5888) ==482043== by 0xBEB059: (anonymous namespace)::pass_ira::execute(function*) (ira.cc:6212) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC6717C: check_pseudos_live_through_calls(int, function_abi const&) (lra-lives.cc:602) ==482043== by 0xC68357: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:960) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC67B48: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:802) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== by 0x7B01EA: cgraph_node::expand() (cgraphunit.cc:1859) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC67C28: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:820) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== by 0x7B01EA: cgraph_node::expand() (cgraphunit.cc:1859) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC6717C: check_pseudos_live_through_calls(int, function_abi const&) (lra-lives.cc:602) ==482043== by 0xC67E5B: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:876) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC667AC: make_hard_regno_dead(int) (lra-lives.cc:321) ==482043== by 0xC669AD: mark_regno_dead(int, machine_mode) (lra-lives.cc:384) ==482043== by 0xC67FD5: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:900) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC66539: update_pseudo_point(int, int, point_type) (lra-lives.cc:277) ==482043== by 0xC68324: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:958) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC6684D: mark_pseudo_live(int) (lra-lives.cc:334) ==482043== by 0xC66964: mark_regno_live(int, machine_mode) (lra-lives.cc:368) ==482043== by 0xC6833F: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:959) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC66865: mark_pseudo_live(int) (lra-lives.cc:337) ==482043== by 0xC66964: mark_regno_live(int, machine_mode) (lra-lives.cc:368) ==482043== by 0xC6833F: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:959) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC66879: mark_pseudo_live(int) (lra-lives.cc:338) ==482043== by 0xC66964: mark_regno_live(int, machine_mode) (lra-lives.cc:368) ==482043== by 0xC6833F: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:959) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xED9F89: sparseset_and_compl(sparseset_def*, sparseset_def*, sparseset_def*) (sparseset.cc:190) ==482043== by 0xC6842A: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:973) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xED9F89: sparseset_and_compl(sparseset_def*, sparseset_def*, sparseset_def*) (sparseset.cc:190) ==482043== by 0xC6842A: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:973) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xED9FA1: sparseset_and_compl(sparseset_def*, sparseset_def*, sparseset_def*) (sparseset.cc:191) ==482043== by 0xC6842A: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:973) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC67B48: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:802) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== by 0x7B01EA: cgraph_node::expand() (cgraphunit.cc:1859) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC67C28: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:820) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== by 0x7B01EA: cgraph_node::expand() (cgraphunit.cc:1859) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC66915: mark_pseudo_dead(int) (lra-lives.cc:351) ==482043== by 0xC669C5: mark_regno_dead(int, machine_mode) (lra-lives.cc:388) ==482043== by 0xC67FD5: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:900) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC66661: make_hard_regno_live(int) (lra-lives.cc:299) ==482043== by 0xC683D7: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:971) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC66661: make_hard_regno_live(int) (lra-lives.cc:299) ==482043== by 0xC683D7: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:971) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xED9FA1: sparseset_and_compl(sparseset_def*, sparseset_def*, sparseset_def*) (sparseset.cc:191) ==482043== by 0xC6842A: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:973) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC66539: update_pseudo_point(int, int, point_type) (lra-lives.cc:277) ==482043== by 0xC68324: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:958) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xC6684D: mark_pseudo_live(int) (lra-lives.cc:334) ==482043== by 0xC66964: mark_regno_live(int, machine_mode) (lra-lives.cc:368) ==482043== by 0xC6833F: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:959) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== ==482043== Use of uninitialised value of size 8 ==482043== at 0xBF4D86: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC66865: mark_pseudo_live(int) (lra-lives.cc:337) ==482043== by 0xC66964: mark_regno_live(int, machine_mode) (lra-lives.cc:368) ==482043== by 0xC6833F: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:959) ==482043== by 0xC69CF3: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1448) ==482043== by 0xC6A00C: lra_create_live_ranges(bool, bool) (lra-lives.cc:1518) ==482043== by 0xC42B2A: lra(_IO_FILE*, int) (lra.cc:2496) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== ==482043== Conditional jump or move depends on uninitialised value(s) ==482043== at 0xBF4D73: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==482043== by 0xBF4DF8: sparseset_set_bit(sparseset_def*, unsigned int) (sparseset.h:165) ==482043== by 0xC47518: setup_live_pseudos_and_spill_after_risky_transforms(bitmap_head*) (lra-assigns.cc:1206) ==482043== by 0xC48D4D: lra_assign(bool&) (lra-assigns.cc:1638) ==482043== by 0xC42B5E: lra(_IO_FILE*, int) (lra.cc:2507) ==482043== by 0xBEABE5: do_reload() (ira.cc:6068) ==482043== by 0xBEB0FA: (anonymous namespace)::pass_reload::execute(function*) (ira.cc:6256) ==482043== by 0xD81CD8: execute_one_pass(opt_pass*) (passes.cc:2648) ==482043== by 0xD820D0: execute_pass_list_1(opt_pass*) (passes.cc:2757) ==482043== by 0xD82101: execute_pass_list_1(opt_pass*) (passes.cc:2758) ==482043== by 0xD8215A: execute_pass_list(function*, opt_pass*) (passes.cc:2768) ==482043== by 0x7B01EA: cgraph_node::expand() (cgraphunit.cc:1859) ==482043== ==482043== ==482043== HEAP SUMMARY: ==482043== in use at exit: 1,427,756 bytes in 1,127 blocks ==482043== total heap usage: 9,502 allocs, 8,375 frees, 3,593,479 bytes allocated ==482043== ==482043== LEAK SUMMARY: ==482043== definitely lost: 0 bytes in 0 blocks ==482043== indirectly lost: 0 bytes in 0 blocks ==482043== possibly lost: 0 bytes in 0 blocks ==482043== still reachable: 1,427,756 bytes in 1,127 blocks ==482043== suppressed: 0 bytes in 0 blocks ==482043== Rerun with --leak-check=full to see details of leaked memory ==482043== ==482043== Use --track-origins=yes to see where uninitialised values come from ==482043== For lists of detected and suppressed errors, rerun with: -s ==482043== ERROR SUMMARY: 89 errors from 26 contexts (suppressed: 0 from 0) ==482054== Memcheck, a memory error detector ==482054== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==482054== Using Valgrind-3.25.1 and LibVEX; rerun with -h for copyright info ==482054== Command: /usr/bin/as --gdwarf-5 --64 -o /tmp/ccctuOyA.o /tmp/ccKKval6.s ==482054== ==482054== ==482054== HEAP SUMMARY: ==482054== in use at exit: 2,609 bytes in 86 blocks ==482054== total heap usage: 205 allocs, 119 frees, 443,448 bytes allocated ==482054== ==482054== LEAK SUMMARY: ==482054== definitely lost: 209 bytes in 14 blocks ==482054== indirectly lost: 1,000 bytes in 50 blocks ==482054== possibly lost: 0 bytes in 0 blocks ==482054== still reachable: 1,400 bytes in 22 blocks ==482054== suppressed: 0 bytes in 0 blocks ==482054== Rerun with --leak-check=full to see details of leaked memory ==482054== ==482054== For lists of detected and suppressed errors, rerun with: -s ==482054== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==482067== Memcheck, a memory error detector ==482067== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==482067== Using Valgrind-3.25.1 and LibVEX; rerun with -h for copyright info ==482067== Command: /mnt/work_store/gcc/installs/test/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/collect2 -plugin /mnt/work_store/gcc/installs/test/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/liblto_plugin.so -plugin-opt=/mnt/work_store/gcc/installs/test/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccGURvbK.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o end /lib/../lib64/crt1.o /lib/../lib64/crti.o /mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/crtbegin.o -L/mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0 -L/mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/../../.. -L/lib -L/usr/lib /tmp/ccctuOyA.o -lgfortran -lm -lgcc_s -lgcc --as-needed -lquadmath --no-as-needed -lm -lc -lgcc_s -lgcc /mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/crtend.o /lib/../lib64/crtn.o ==482067== ==482069== Memcheck, a memory error detector ==482069== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==482069== Using Valgrind-3.25.1 and LibVEX; rerun with -h for copyright info ==482069== Command: /usr/bin/ld -plugin /mnt/work_store/gcc/installs/test/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/liblto_plugin.so -plugin-opt=/mnt/work_store/gcc/installs/test/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccGURvbK.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o end /lib/../lib64/crt1.o /lib/../lib64/crti.o /mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/crtbegin.o -L/mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0 -L/mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/../../.. -L/lib -L/usr/lib /tmp/ccctuOyA.o -lgfortran -lm -lgcc_s -lgcc --as-needed -lquadmath --no-as-needed -lm -lc -lgcc_s -lgcc /mnt/work_store/gcc/installs/test/lib/gcc/x86_64-pc-linux-gnu/16.0.0/crtend.o /lib/../lib64/crtn.o ==482069== ==482069== ==482069== HEAP SUMMARY: ==482069== in use at exit: 928,311 bytes in 1,159 blocks ==482069== total heap usage: 3,689 allocs, 2,530 frees, 24,528,582 bytes allocated ==482069== ==482069== LEAK SUMMARY: ==482069== definitely lost: 39,537 bytes in 386 blocks ==482069== indirectly lost: 141,306 bytes in 12 blocks ==482069== possibly lost: 0 bytes in 0 blocks ==482069== still reachable: 747,468 bytes in 761 blocks ==482069== suppressed: 0 bytes in 0 blocks ==482069== Rerun with --leak-check=full to see details of leaked memory ==482069== ==482069== For lists of detected and suppressed errors, rerun with: -s ==482069== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==482067== ==482067== HEAP SUMMARY: ==482067== in use at exit: 124,474 bytes in 80 blocks ==482067== total heap usage: 106 allocs, 26 frees, 200,788 bytes allocated ==482067== ==482067== LEAK SUMMARY: ==482067== definitely lost: 1,744 bytes in 5 blocks ==482067== indirectly lost: 8,644 bytes in 8 blocks ==482067== possibly lost: 0 bytes in 0 blocks ==482067== still reachable: 114,086 bytes in 67 blocks ==482067== of which reachable via heuristic: ==482067== newarray : 1,928 bytes in 1 blocks ==482067== suppressed: 0 bytes in 0 blocks ==482067== Rerun with --leak-check=full to see details of leaked memory ==482067== ==482067== For lists of detected and suppressed errors, rerun with: -s ==482067== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==482038== ==482038== HEAP SUMMARY: ==482038== in use at exit: 214,414 bytes in 134 blocks ==482038== total heap usage: 423 allocs, 289 frees, 329,282 bytes allocated ==482038== ==482038== LEAK SUMMARY: ==482038== definitely lost: 7,219 bytes in 35 blocks ==482038== indirectly lost: 8,634 bytes in 9 blocks ==482038== possibly lost: 0 bytes in 0 blocks ==482038== still reachable: 198,561 bytes in 90 blocks ==482038== of which reachable via heuristic: ==482038== newarray : 1,928 bytes in 1 blocks ==482038== suppressed: 0 bytes in 0 blocks ==482038== Rerun with --leak-check=full to see details of leaked memory ==482038== ==482038== Use --track-origins=yes to see where uninitialised values come from ==482038== For lists of detected and suppressed errors, rerun with: -s ==482038== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)