diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-04-01 09:17:07 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-04-01 09:17:07 +0000 |
commit | d6868399fb67b375e562d28d2f0dcf52cbf8d9d1 (patch) | |
tree | bbf2a5ebdff11d59a7d9fddf7dd8ad4887e78a13 | |
parent | 73d21f56d15101ef12c3d5eede5d49ac0c662946 (diff) | |
download | gcc-d6868399fb67b375e562d28d2f0dcf52cbf8d9d1.zip gcc-d6868399fb67b375e562d28d2f0dcf52cbf8d9d1.tar.gz gcc-d6868399fb67b375e562d28d2f0dcf52cbf8d9d1.tar.bz2 |
varasm.c (default_function_rodata_section): Declare DOT as const char*.
2009-04-01 Rafael Avila de Espindola <espindola@google.com>
* varasm.c (default_function_rodata_section): Declare DOT as const char*.
From-SVN: r145396
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/varasm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3209852..f088788 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-04-01 Rafael Avila de Espindola <espindola@google.com> + + * varasm.c (default_function_rodata_section): Declare DOT as const char*. + 2009-04-01 Kai Tietz <kai.tietz@onevision.com> Andrey Galkin <agalkin@hypercom.com> diff --git a/gcc/varasm.c b/gcc/varasm.c index c706a86..16d8782 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -869,7 +869,7 @@ default_function_rodata_section (tree decl) if (DECL_ONE_ONLY (decl) && HAVE_COMDAT_GROUP) { - char *dot; + const char *dot; size_t len; char* rname; |