aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2005-08-03 09:38:16 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-08-03 09:38:16 +0000
commit4e2b3c877d1882f2df53f6c467628e4887564467 (patch)
treeed1bd0da9bf363718fc5b02d45b56d49e693cb9f /gcc
parent1d7887ca1a038fbbdc2584c471fd399aef02f4e8 (diff)
downloadgcc-4e2b3c877d1882f2df53f6c467628e4887564467.zip
gcc-4e2b3c877d1882f2df53f6c467628e4887564467.tar.gz
gcc-4e2b3c877d1882f2df53f6c467628e4887564467.tar.bz2
hpux.h (MEMBER_TYPE_FORCES_BLK): Only force TFmode to BLKmode.
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force TFmode to BLKmode. From-SVN: r102685
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/ia64/hpux.h10
2 files changed, 7 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9e236fc..6656cad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-03 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force
+ TFmode to BLKmode.
+
2005-08-03 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Specific): Adjust link to openavr.org.
diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h
index 360c6be..512f7c8 100644
--- a/gcc/config/ia64/hpux.h
+++ b/gcc/config/ia64/hpux.h
@@ -106,14 +106,8 @@ do { \
#define TARGET_DEFAULT \
(MASK_DWARF2_ASM | MASK_BIG_ENDIAN | MASK_ILP32)
-/* This needs to be set to force structure arguments with a single
- 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) \
- (!FLOAT_MODE_P (MODE) || (MODE) == TFmode)
+/* ??? Might not be needed anymore. */
+#define MEMBER_TYPE_FORCES_BLK(FIELD, 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