]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- check s_ann for null before use.
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 24 Jun 2005 13:36:44 +0000 (13:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc-pr22171.patch -> 1.1

gcc-pr22171.patch [new file with mode: 0644]

diff --git a/gcc-pr22171.patch b/gcc-pr22171.patch
new file mode 100644 (file)
index 0000000..a940d88
--- /dev/null
@@ -0,0 +1,11 @@
+--- gcc-4.1-20050624_1105/gcc/tree-ssa-operands.c.orig 2005-06-24 11:01:40.000000000 +0200
++++ gcc-4.1-20050624_1105/gcc/tree-ssa-operands.c      2005-06-24 15:35:28.000000000 +0200
+@@ -1347,7 +1347,7 @@
+       
+       if (code == COMPONENT_REF)
+         {
+-          if (TREE_THIS_VOLATILE (TREE_OPERAND (expr, 1)))
++          if (s_ann && TREE_THIS_VOLATILE (TREE_OPERAND (expr, 1)))
+             s_ann->has_volatile_ops = true; 
+           get_expr_operands (stmt, &TREE_OPERAND (expr, 2), opf_none);
+         }
This page took 0.135563 seconds and 4 git commands to generate.