Hi! On 2021-11-24T20:05:56+0100, Zdenek Sojka via Gcc <[email protected]> wrote: > from time to time, I come upon a testcase that failed during the automated > runs, but passes during reduction; there are valgrind warnings present, > however.
Thanks for looking into this. Please collect any Valgrind notes at <https://gcc.gnu.org/wiki/DebuggingGCC#Valgrind>. > $ x86_64-pc-linux-gnu-gcc `cat flags` -c -w mcf.ii -wrapper valgrind,-q,-- > track-origins=yes > ==5404== Invalid read of size 4 > ==5404== at 0x197B210: put (hash-map.h:179) > ==5404== by 0x197B210: void copy_warning<tree_node*, tree_node const*> > (tree_node*, tree_node const*) (warning-control.cc:209) > ==5404== by 0xE40CB6: cp_fold(tree_node*) (cp-gimplify.c:2837) > [...] That's <https://gcc.gnu.org/PR101292> "recent valgrind error in warning-control.cc since r12-1804-g65870e75616ee4359d1c13b99be794e6a577bc65". > ==5404== Invalid read of size 4 > ==5404== at 0x197B210: put (hash-map.h:179) > ==5404== by 0x197B210: void copy_warning<tree_node*, tree_node const*> > (tree_node*, tree_node const*) (warning-control.cc:209) > ==5404== by 0x12B2343: fold_truth_not_expr(unsigned int, tree_node*) > (fold-const.c:4288) > [...] Same/similar, i suppose. Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
