aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix43.h
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2006-01-28 19:49:43 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2006-01-28 14:49:43 -0500
commit3d538baeb51b697b4e68b74037bae1489249ae98 (patch)
tree7bd0246cec56732b5ab07d0221505c4f2937c750 /gcc/config/rs6000/aix43.h
parent7ca383e6791272a9f99390b5981ae476a9b490f1 (diff)
downloadgcc-3d538baeb51b697b4e68b74037bae1489249ae98.zip
gcc-3d538baeb51b697b4e68b74037bae1489249ae98.tar.gz
gcc-3d538baeb51b697b4e68b74037bae1489249ae98.tar.bz2
aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float and -mlong-double-128 are incompatible.
* config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float and -mlong-double-128 are incompatible. * config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Same. * config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): Add ppc64-fp.c. (TARGET_LIBGCC2_CFLAGS): Define. * config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): Same. (TARGET_LIBGCC2_CFLAGS): Same. * config/rs6000/ppc64-fp.c: Compile for 64-bit AIX. From-SVN: r110333
Diffstat (limited to 'gcc/config/rs6000/aix43.h')
-rw-r--r--gcc/config/rs6000/aix43.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h
index 627e7ac..b99f1a8 100644
--- a/gcc/config/rs6000/aix43.h
+++ b/gcc/config/rs6000/aix43.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler,
for IBM RS/6000 POWER running AIX version 4.3.
- Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005
+ Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
Contributed by David Edelsohn (edelsohn@gnu.org).
@@ -43,6 +43,12 @@ do { \
target_flags |= MASK_POWERPC64; \
warning (0, "-maix64 requires PowerPC64 architecture remain enabled"); \
} \
+ if (TARGET_SOFT_FLOAT && TARGET_LONG_DOUBLE_128) \
+ { \
+ rs6000_long_double_type_size = 64; \
+ if (rs6000_explicit_options.long_double) \
+ warning (0, "soft-float and long-double-128 are incompatible"); \
+ } \
if (TARGET_POWERPC64 && ! TARGET_64BIT) \
{ \
error ("-maix64 required: 64-bit computation with 32-bit addressing not yet supported"); \