https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107366
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Happens for the following location: (gdb) p /x loc $7 = 0x80000008 when I expand it: (gdb) p x $8 = { file = 0x0, line = 0, column = 0, data = 0x7ffff7769480, sysp = false } it likely corresponds to (5): gcc -Wfatal-errors pr107366.c -c -fanalyzer In function ‘hwloc_apply_diff_one’: cc1: warning: use of uninitialized value ‘obj_attr_2_0_0’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] ‘hwloc_apply_diff_one’: events 1-4 | |pr107366.c:10:41: | 8 | switch (hwloc_apply_diff_one_diff_0_0) | | ~~~~~~ | | | | | (3) following ‘true’ branch... | 9 | case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR: { | | ~~~~ | | | | | (4) ...to here | 10 | hwloc_topology_diff_obj_attr_type_t obj_attr_2_0_0; | | ^~~~~~~~~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes | ‘hwloc_apply_diff_one’: event 5 | |cc1: | (5): use of uninitialized value ‘obj_attr_2_0_0’ here |