https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99523
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
They are there, it's the
sizetype D.3596;
sizetype D.3597;
sizetype D.3598;
void * D.3599;
int D.3601;
etc. variables, but they are DECL_IGNORED (they have no "name") and so
dumping which does
case SSA_NAME:
if (SSA_NAME_IDENTIFIER (node))
{
if ((flags & TDF_NOUID)
&& SSA_NAME_VAR (node)
&& DECL_NAMELESS (SSA_NAME_VAR (node)))
dump_fancy_name (pp, SSA_NAME_IDENTIFIER (node));
else if (! (flags & TDF_GIMPLE)
|| SSA_NAME_VAR (node))
dump_generic_node (pp, SSA_NAME_IDENTIFIER (node),
spc, flags, false);
}
pp_underscore (pp);
pp_decimal_int (pp, SSA_NAME_VERSION (node));
if (SSA_NAME_IS_DEFAULT_DEF (node))
pp_string (pp, "(D)");
if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (node))
pp_string (pp, "(ab)");
break;
sees a NULL SSA_NAME_IDENTIFIER.
I suppose
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index d04ce212561..4e40b7c0155 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -8155,7 +8155,7 @@ dump_function_to_file (tree fndecl, FILE *file,
dump_flags_t flags)
if (gimple_in_ssa_p (cfun))
FOR_EACH_SSA_NAME (ix, name, cfun)
{
- if (!SSA_NAME_VAR (name))
+ if (!SSA_NAME_IDENTIFIER (name))
{
fprintf (file, " ");
print_generic_expr (file, TREE_TYPE (name), flags);
would display them similar to anonymous SSA names (but then the dumped
decls above are redundant and useless).
The testcase shows the same on x86_64 btw.