From: David Malcolm Date: Wed, 5 Jun 2013 10:14:15 +0000 (+0000) Subject: tsan.c (tsan_atomic_table): Make const. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34c136b6b4884c3875c48c4ed3852823adf8e918;p=gcc.git tsan.c (tsan_atomic_table): Make const. * tsan.c (tsan_atomic_table): Make const. From-SVN: r199690 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc304241ec3..0944298057c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-06-05 David Malcolm + + * tsan.c (tsan_atomic_table): Make const. + 2013-06-05 Richard Biener * tree-streamer.c (streamer_tree_cache_insert_1): Update the diff --git a/gcc/tsan.c b/gcc/tsan.c index a3b65650e38..d218eed5a1b 100644 --- a/gcc/tsan.c +++ b/gcc/tsan.c @@ -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;