aboutsummaryrefslogtreecommitdiff
path: root/gcc/tsan.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-06-05 10:14:15 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2013-06-05 10:14:15 +0000
commit34c136b6b4884c3875c48c4ed3852823adf8e918 (patch)
tree3f4b59b321cee633c8ac0dec24d8142035960210 /gcc/tsan.c
parent41e887837a8c34d695d60e7bc5679ed8d7aa71dd (diff)
downloadgcc-34c136b6b4884c3875c48c4ed3852823adf8e918.zip
gcc-34c136b6b4884c3875c48c4ed3852823adf8e918.tar.gz
gcc-34c136b6b4884c3875c48c4ed3852823adf8e918.tar.bz2
tsan.c (tsan_atomic_table): Make const.
* tsan.c (tsan_atomic_table): Make const. From-SVN: r199690
Diffstat (limited to 'gcc/tsan.c')
-rw-r--r--gcc/tsan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tsan.c b/gcc/tsan.c
index a3b6565..d218eed 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;