SOURCES: gcc-pr24295.patch - prevent null dereference.
pluto
pluto at pld-linux.org
Wed Oct 19 11:37:37 CEST 2005
Author: pluto Date: Wed Oct 19 09:37:37 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- prevent null dereference.
---- Files affected:
SOURCES:
gcc-pr24295.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/gcc-pr24295.patch
diff -u SOURCES/gcc-pr24295.patch:1.1 SOURCES/gcc-pr24295.patch:1.2
--- SOURCES/gcc-pr24295.patch:1.1 Wed Oct 19 11:09:05 2005
+++ SOURCES/gcc-pr24295.patch Wed Oct 19 11:37:32 2005
@@ -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. */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/gcc-pr24295.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list