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

            Bug ID: 112968
           Summary: Valgrind error on
                    libstdc++-v3/testsuite/18_support/comparisons/object/9
                    3479.cc
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

With --enable-checking=release,valgrind --disable-bootstrap
--enable-valgrind-annotations build I'm seeing:
/home/jakub/src/gcc/obj88/./gcc/xg++ -shared-libgcc
-B/home/jakub/src/gcc/obj88/./gcc -nostdinc++
-L/home/jakub/src/gcc/obj88/x86_64-pc-linux-gnu/libstdc++-v3/sr
c -L/home/jakub/src/gcc/obj88/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/jakub/src/gcc/obj88/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/local/x86_64-pc-linux-gnu
/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem
/usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include
-B/home/jakub/src/gcc/obj88/x86_64-pc-
linux-gnu/./libstdc++-v3/src/.libs -fmessage-length=0 -fno-show-column
-ffunction-sections -fdata-sections -fcf-protection -mshstk -g -O2
-D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I
/home/jakub/src/gcc/obj88/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/jakub/src/gcc/obj88/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/jakub/src/gcc/libs
tdc++-v3/libsupc++ -I/home/jakub/src/gcc/libstdc++-v3/include/backward
-I/home/jakub/src/gcc/libstdc++-v3/testsuite/util
/home/jakub/src/gcc/libstdc++-v3/testsuite/18_support/compari
sons/object/93479.cc -std=gnu++26 -include bits/stdc++.h
-fdiagnostics-plain-output -S -o 93479.s
...
==2009913== Conditional jump or move depends on uninitialised value(s)
==2009913==    at 0x914C59: gt_ggc_mx_lang_tree_node(void*) (gt-cp-tree.h:107)
==2009913==    by 0x8AB7A5: gt_ggc_mx_tinst_level(void*) (gt-cp-pt.h:32)
==2009913==    by 0xB89B25: ggc_mark_root_tab(ggc_root_tab const*)
(ggc-common.cc:75)
==2009913==    by 0xB89DF4: ggc_mark_roots() (ggc-common.cc:104)
==2009913==    by 0x9D6311: ggc_collect(ggc_collect) (ggc-page.cc:2227)
==2009913==    by 0xDB70F6: execute_one_pass(opt_pass*) (passes.cc:2738)
==2009913==    by 0xDB721F: execute_pass_list_1(opt_pass*) (passes.cc:2755)
==2009913==    by 0xDB7258: execute_pass_list(function*, opt_pass*)
(passes.cc:2766)
==2009913==    by 0xA55525: cgraph_node::analyze() (cgraphunit.cc:695)
==2009913==    by 0xA57CC7: analyze_functions(bool) (cgraphunit.cc:1248)
==2009913==    by 0xA5890D: symbol_table::finalize_compilation_unit()
(cgraphunit.cc:2555)
==2009913==    by 0xEB02A1: compile_file() (toplev.cc:473)
==2009913== 
==2009913== Conditional jump or move depends on uninitialised value(s)
==2009913==    at 0x914C63: gt_ggc_mx_lang_tree_node(void*) (gt-cp-tree.h:109)
==2009913==    by 0x8AB7A5: gt_ggc_mx_tinst_level(void*) (gt-cp-pt.h:32)
==2009913==    by 0xB89B25: ggc_mark_root_tab(ggc_root_tab const*)
(ggc-common.cc:75)
==2009913==    by 0xB89DF4: ggc_mark_roots() (ggc-common.cc:104)
==2009913==    by 0x9D6311: ggc_collect(ggc_collect) (ggc-page.cc:2227)
==2009913==    by 0xDB70F6: execute_one_pass(opt_pass*) (passes.cc:2738)
==2009913==    by 0xDB721F: execute_pass_list_1(opt_pass*) (passes.cc:2755)
==2009913==    by 0xDB7258: execute_pass_list(function*, opt_pass*)
(passes.cc:2766)
==2009913==    by 0xA55525: cgraph_node::analyze() (cgraphunit.cc:695)
==2009913==    by 0xA57CC7: analyze_functions(bool) (cgraphunit.cc:1248)
==2009913==    by 0xA5890D: symbol_table::finalize_compilation_unit()
(cgraphunit.cc:2555)
==2009913==    by 0xEB02A1: compile_file() (toplev.cc:473)
...
+FAIL: 18_support/comparisons/object/93479.cc  -std=gnu++26 (test for excess
errors)
+FAIL: 23_containers/span/101411.cc  -std=gnu++26 (test for excess errors)
+FAIL: 24_iterators/range_access/range_access_cpp20_neg.cc  -std=gnu++26  (test
for errors, line )
+FAIL: 24_iterators/range_access/range_access_cpp20_neg.cc  -std=gnu++26  (test
for errors, line 46)
+FAIL: 24_iterators/range_access/range_access_cpp20_neg.cc  -std=gnu++26 (test
for excess errors)
+FAIL: 26_numerics/numbers/nonfloat_neg.cc  -std=gnu++26 (test for excess
errors)
+FAIL: std/ranges/adaptors/100577.cc  -std=gnu++26 (test for excess errors)
+FAIL: std/ranges/adaptors/lazy_split_neg.cc  -std=gnu++26 (test for excess
errors)
+FAIL: std/ranges/adaptors/lwg3325_neg.cc  -std=gnu++26 (test for excess
errors)
+FAIL: std/ranges/subrange/lwg3282_neg.cc  -std=gnu++26 (test for excess
errors)
trigger same or similar diagnostics.

Reply via email to