summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-12 14:08:21 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-12 14:08:21 +0000
commit143ac21b70e04005a22450ee3822ab9a46c1ae80 (patch)
tree71cc88dcb4b91ef9132d64eab3f70b635f16a838 /gcc
parente7ccdbbe3560019890cab905e9bc3faafcc06760 (diff)
downloadgcc-143ac21b70e04005a22450ee3822ab9a46c1ae80.tar.gz
* config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
change and some warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60073 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/ia64/ia64.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 24c758aca8d..724738e1f77 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-12 Andreas Schwab <schwab@suse.de>
+
+ * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
+ change and some warnings.
+
2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
* doc/md.texi (pushm): Fix a typo.
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 68bbbc87756..10f06665999 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -8141,13 +8141,14 @@ ia64_hpux_asm_file_end (file)
{
while (extern_func_head)
{
- char *real_name;
+ const char *real_name;
tree decl;
real_name = (* targetm.strip_name_encoding) (extern_func_head->name);
- tree decl = maybe_get_identifier (real_name);
+ decl = maybe_get_identifier (real_name);
- if (!decl || ! TREE_ASM_WRITTEN (decl) && TREE_SYMBOL_REFERENCED (decl))
+ if (!decl
+ || (! TREE_ASM_WRITTEN (decl) && TREE_SYMBOL_REFERENCED (decl)))
{
if (decl)
TREE_ASM_WRITTEN (decl) = 1;