summaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 19:19:42 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 19:19:42 +0000
commitdea3189b45f05f83dc99494d66b5a4311c811ce6 (patch)
tree25657045a0e1f680a00555098079cb87bb9d1384 /gcc/tlink.c
parentaae87fc346d89bc5cf107a45dd5bade361b16533 (diff)
downloadgcc-dea3189b45f05f83dc99494d66b5a4311c811ce6.tar.gz
* cselib.c (entry_and_rtx_equal_p): Constify.
* gengtype.c (output_mangled_typename, write_types, write_local): Likewise. * gengtype.h (const_type_p): New. * see.c (eq_descriptor_extension, hash_descriptor_extension): Constify. * tlink.c (scan_linker_output): De-constify. * tree-ssa-loop-im.c (memref_eq): Constify. * tree-ssa-structalias.c (const_shared_bitmap_info_t): New. (shared_bitmap_hash, shared_bitmap_eq): Constify. cp: * parser.c (cp_parser_string_literal, cp_parser_sizeof_operand): Constify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126926 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 7907f419488..b6a8a18b532 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -658,7 +658,7 @@ scan_linker_output (const char *fname)
if (! sym && ! end)
/* Try a mangled name in quotes. */
{
- const char *oldq = q + 1;
+ char *oldq = q + 1;
demangled *dem = 0;
q = 0;