]> git.ipfire.org Git - thirdparty/gcc.git/commit
ipa: Fix pritting of symtab_node type: Fix 'static_assert' [PR122512]
authorThomas Schwinge <tschwinge@baylibre.com>
Mon, 3 Nov 2025 12:19:06 +0000 (13:19 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Mon, 3 Nov 2025 12:23:35 +0000 (13:23 +0100)
commit11e4b8bcc6694564670f2b93f3141fee2c86d5f8
tree532072fa1ec36b69e0716e08c867249dcc813e3f
parent543b517b3ac912d2e78da21523c06cda5be017ff
ipa: Fix pritting of symtab_node type: Fix 'static_assert' [PR122512]

Fix-up for commit r16-4914-ga3ee90fd3dc5d5c98f63a16f9cdd788c5d5c3335
"ipa: Fix pritting of symtab_node type [PR122512]":

    ../../source-gcc/gcc/symtab.cc:885:61: error: expected ‘,’ before ‘)’ token
     static_assert (ARRAY_SIZE(toplevel_type_names)==TOPLEVEL_MAX);
                                                                 ^
    ../../source-gcc/gcc/symtab.cc:885:61: error: expected string-literal before ‘)’ token
    make[2]: *** [Makefile:1215: symtab.o] Error 1

PR ipa/122512
gcc/
* symtab.cc: Fix 'static_assert'.
gcc/symtab.cc