From 0e2bf4c7c5c705467f92efeb407440cf008570df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Fri, 24 Jun 2005 13:36:44 +0000 Subject: [PATCH] =?utf8?q?-=20check=20s=5Fann=20for=20null=C2=A0before=20u?= =?utf8?q?se.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Changed files: gcc-pr22171.patch -> 1.1 --- gcc-pr22171.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gcc-pr22171.patch diff --git a/gcc-pr22171.patch b/gcc-pr22171.patch new file mode 100644 index 0000000..a940d88 --- /dev/null +++ b/gcc-pr22171.patch @@ -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); + } -- 2.44.0