tsan.c (tsan_atomic_table): Make const.
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 5 Jun 2013 10:14:15 +0000 (10:14 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 5 Jun 2013 10:14:15 +0000 (10:14 +0000)
* tsan.c (tsan_atomic_table): Make const.

From-SVN: r199690

gcc/ChangeLog
gcc/tsan.c

index cc304241ec3aa57b8e4ab488712861ed3760a40e..0944298057cf6a74ce26d373ee95ba03575239e3 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-05  David Malcolm  <dmalcolm@redhat.com>
+
+       * tsan.c (tsan_atomic_table): Make const.
+
 2013-06-05  Richard Biener  <rguenther@suse.de>
 
        * tree-streamer.c (streamer_tree_cache_insert_1): Update the
index a3b65650e3835ab41aa4880ac9388e49166b6f8b..d218eed5a1b1affd2bbdfffb4a184c2af488d5da 100644 (file)
@@ -198,7 +198,7 @@ enum tsan_atomic_action
 
 /* Table how to map sync/atomic builtins to their corresponding
    tsan equivalents.  */
-static struct tsan_map_atomic
+static const struct tsan_map_atomic
 {
   enum built_in_function fcode, tsan_fcode;
   enum tsan_atomic_action action;