From 128a564be05afb1cb2ec76884a81c2bd536899fd Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 3 Oct 2026 00:46:51 +0200 Subject: Replace noreturn type with an attribute --- gcc/gcc/elna-builtins.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/gcc/elna-builtins.cc b/gcc/gcc/elna-builtins.cc index ee6856d..4a50967 100644 --- a/gcc/gcc/elna-builtins.cc +++ b/gcc/gcc/elna-builtins.cc @@ -176,9 +176,9 @@ namespace elna::gcc } tree return_type = void_type_node; - if (!procedure.return_type.proper_type.empty()) + if (!procedure.return_type.empty()) { - return_type = get_inner_alias(procedure.return_type.proper_type, symbols); + return_type = get_inner_alias(procedure.return_type, symbols); } if (procedure.variadic) { @@ -344,7 +344,7 @@ namespace elna::gcc get_identifier(name.c_str()), declaration_type); symbols->enter(name, fndecl); - if (info.symbol.return_type.no_return) + if (info.noreturn) { TREE_THIS_VOLATILE(fndecl) = 1; } -- cgit v1.2.3