summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-09 17:24:33 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-09 17:24:33 +0000
commitaf583565b79a36aa61644d65dc69b11f48b15ddd (patch)
treef65c7ee21de9addc6820af8495be92c17f6a96b3
parent20fbd743225f290514d1903f6cd70098a6039541 (diff)
downloadgcc-af583565b79a36aa61644d65dc69b11f48b15ddd.tar.gz
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Look only at
mode argument. * config/ia64/ia64.c (ia64_hpux_file_end): Check TREE_SYMBOL_REFERENCED on DECL_ASSEMBLER_NAME, not DECL_NAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch@80561 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog17
-rw-r--r--gcc/config/ia64/hpux.h10
-rw-r--r--gcc/config/ia64/ia64.c2
3 files changed, 18 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0ede550a20..2e096dd5e9f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2004-04-09 Zack Weinberg <zack@codesourcery.com>
+
+ * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Look only at
+ mode argument.
+ * config/ia64/ia64.c (ia64_hpux_file_end): Check
+ TREE_SYMBOL_REFERENCED on DECL_ASSEMBLER_NAME, not DECL_NAME.
+
2004-04-08 Mark Mitchell <mark@codesourcery.com>
* doc/invoke.texi (Precompiled Headers): Warn about known
@@ -105,10 +112,10 @@
"bitfld++ == const" to "++bitfld == const + incr" transformations.
2004-03-30 Aldy Hernandez <aldyh@redhat.com>
-
- PR 14219
- * c-typeck.c (build_binary_op): Do not allow comparisons of
- vectors.
+
+ PR 14219
+ * c-typeck.c (build_binary_op): Do not allow comparisons of
+ vectors.
2004-03-26 Ian Lance Taylor <ian@wasabisystems.com>
@@ -390,7 +397,7 @@
PR middle-end/14477
* except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER.
-
+
2004-03-11 Richard Sandiford <rsandifo@redhat.com>
PR target/14496
diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h
index 8bd711a3462..05112d8919f 100644
--- a/gcc/config/ia64/hpux.h
+++ b/gcc/config/ia64/hpux.h
@@ -110,13 +110,13 @@ do { \
#define TARGET_DEFAULT (MASK_DWARF2_ASM | MASK_BIG_ENDIAN | MASK_ILP32)
/* This needs to be set to force structure arguments with a single
- field to be treated as structures and not as the type of their
- field. Without this a structure with a single char will be
- returned just like a char variable and that is wrong on HP-UX
- IA64. */
+ integer field to be treated as structures and not as the type of
+ their field. Without this a structure with a single char will be
+ returned just like a char variable, instead of being returned at the
+ top of the register as specified for big-endian IA64. */
#define MEMBER_TYPE_FORCES_BLK(FIELD, MODE) \
- (TREE_CODE (TREE_TYPE (FIELD)) != REAL_TYPE || MODE == TFmode)
+ (!FLOAT_MODE_P (MODE) || (MODE) == TFmode)
/* ASM_OUTPUT_EXTERNAL_LIBCALL defaults to just a globalize_label call,
but that doesn't put out the @function type information which causes
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 3895a5789f3..13a19a87449 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -8649,7 +8649,7 @@ ia64_hpux_file_end (void)
for (p = extern_func_head; p; p = p->next)
{
tree decl = p->decl;
- tree id = DECL_NAME (decl);
+ tree id = DECL_ASSEMBLER_NAME (decl);
if (!id)
abort ();