summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index fd5d8b6272d..667c21e9b87 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1215,8 +1215,7 @@ machopic_select_section (tree exp, int reloc,
if (TREE_CODE (exp) == STRING_CST
&& ((size_t) TREE_STRING_LENGTH (exp)
- == strlen (TREE_STRING_POINTER (exp)) + 1)
- && ! flag_writable_strings)
+ == strlen (TREE_STRING_POINTER (exp)) + 1))
cstring_section ();
else if ((TREE_CODE (exp) == INTEGER_CST || TREE_CODE (exp) == REAL_CST)
&& flag_merge_constants)