r278634 changed this, so need to apply this when rebasing

gcc/c-family/ChangeLog:
        * c-format.c (init_dynamic_diag_info): Use get_named_type
        rather than get_pointer_to_named_type, reflecting r278634.
---
 gcc/c-family/c-format.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/c-family/c-format.c b/gcc/c-family/c-format.c
index c5ca71216633..be092b1f3b62 100644
--- a/gcc/c-family/c-format.c
+++ b/gcc/c-family/c-format.c
@@ -4993,7 +4993,7 @@ init_dynamic_diag_info (void)
   /* Similar to the above but for diagnostic_event_id_t*.  */
   if (!local_event_ptr_node
       || local_event_ptr_node == void_type_node)
-    local_event_ptr_node = get_pointer_to_named_type ("diagnostic_event_id_t");
+    local_event_ptr_node = get_named_type ("diagnostic_event_id_t");
 
   static tree hwi;
 
-- 
2.21.0

Reply via email to