SOURCES: gcc-keep-volatile-sematics.patch (NEW) - keep old volatil...

pluto pluto at pld-linux.org
Sun Jul 17 20:04:33 CEST 2005


Author: pluto                        Date: Sun Jul 17 18:04:33 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- keep old volatile sematics (cast chains).
  original story at: http://gcc.gnu.org/PR22278

---- Files affected:
SOURCES:
   gcc-keep-volatile-sematics.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gcc-keep-volatile-sematics.patch
diff -u /dev/null SOURCES/gcc-keep-volatile-sematics.patch:1.1
--- /dev/null	Sun Jul 17 20:04:33 2005
+++ SOURCES/gcc-keep-volatile-sematics.patch	Sun Jul 17 20:04:28 2005
@@ -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:
================================================================



More information about the pld-cvs-commit mailing list