From 25d794f46d2c76afab5dab2992be5caab975e2c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Wed, 19 Oct 2005 09:37:32 +0000 Subject: [PATCH] - prevent null dereference. Changed files: gcc-pr24295.patch -> 1.2 --- gcc-pr24295.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc-pr24295.patch b/gcc-pr24295.patch index 79cda07..5d41111 100644 --- a/gcc-pr24295.patch +++ b/gcc-pr24295.patch @@ -30,7 +30,7 @@ else pending_weaks = tree_cons (name, value, pending_weaks); + -+ decl = identifier_global_value (value); ++ decl = value ? identifier_global_value (value) : NULL_TREE; + if (decl && DECL_P (decl)) + { + /* Force DECL into the assembler output no matter what. */ -- 2.44.0