Commit 57f56af4 by Nick Clifton Committed by Nick Clifton

Make 'newstr' a const char * to avoid a compile time warning.

From-SVN: r37672
parent 48a08b9c
2000-11-22 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
const char * to avoid a compile time warning.
* config/arm/arm.md (define_constants): Define symbolic names for
the link register, last integer register and the fake CC register.
Update patterns to use these symbolic names.
......
......@@ -1718,7 +1718,7 @@ arm_encode_call_attribute (decl, flag)
{
const char * str = XSTR (XEXP (DECL_RTL (decl), 0), 0);
int len = strlen (str);
char * newstr;
const char * newstr;
if (TREE_CODE (decl) != FUNCTION_DECL)
return;
......
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