Index: ChangeLog from Ranjit Mathew * tree.h (TREE_STRING_POINTER): Wrap in "const char *". (struct tree_string): Remove "const" qualifier for "str". Index: tree.h =================================================================== --- tree.h 2004-10-14 20:34:17.000000000 +0530 +++ tree.h 2004-10-14 20:36:52.000000000 +0530 @@ -1060,13 +1060,14 @@ struct tree_real_cst GTY(()) /* In a STRING_CST */ #define TREE_STRING_LENGTH(NODE) (STRING_CST_CHECK (NODE)->string.length) -#define TREE_STRING_POINTER(NODE) (STRING_CST_CHECK (NODE)->string.str) +#define TREE_STRING_POINTER(NODE) \ + ((const char *)(STRING_CST_CHECK (NODE)->string.str)) struct tree_string GTY(()) { struct tree_common common; int length; - const char str[1]; + char str[1]; }; /* In a COMPLEX_CST node. */