]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- keep old volatile sematics (cast chains).
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 17 Jul 2005 18:04:28 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  original story at: http://gcc.gnu.org/PR22278

Changed files:
    gcc-keep-volatile-sematics.patch -> 1.1

gcc-keep-volatile-sematics.patch [new file with mode: 0644]

diff --git a/gcc-keep-volatile-sematics.patch b/gcc-keep-volatile-sematics.patch
new file mode 100644 (file)
index 0000000..f002396
--- /dev/null
@@ -0,0 +1,12 @@
+--- gcc/gcc/tree-ssa-operands.c        13 Jul 2005 15:34:16 -0000      2.95
++++ gcc/gcc/tree-ssa-operands.c        17 Jul 2005 02:26:21 -0000
+@@ -1224,6 +1224,9 @@ get_expr_operands (tree stmt, tree *expr
+   code = TREE_CODE (expr);
+   class = TREE_CODE_CLASS (code);
++  if (TREE_THIS_VOLATILE (expr))
++    s_ann->has_volatile_ops = true;
++
+   switch (code)
+     {
+     case ADDR_EXPR:
This page took 0.315704 seconds and 4 git commands to generate.