Commit 29e29fd5 by Jason Merrill

(MAKE_DECL_ONE_ONLY): Oops.

From-SVN: r12747
parent c486ed79
......@@ -651,17 +651,12 @@ do { \
\
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); \
\
if (DECL_ONE_ONLY (decl)) \
{ \
if (TREE_CODE (decl) == FUNCTION_DECL) \
prefix = ".gnu.linkonce.t."; \
else if (TREE_READONLY (decl)) \
prefix = ".gnu.linkonce.r."; \
else \
prefix = ".gnu.linkonce.d."; \
} \
if (TREE_CODE (decl) == FUNCTION_DECL) \
prefix = ".gnu.linkonce.t."; \
else if (TREE_READONLY (decl)) \
prefix = ".gnu.linkonce.r."; \
else \
prefix = ""; \
prefix = ".gnu.linkonce.d."; \
\
len = strlen (name) + strlen (prefix); \
string = alloca (len + 1); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment