eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS), [...]): Disallow -m64.

* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
	config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
	-m64.

testsuite:
	* gcc.dg/ppc-spe64-1.c: New test.

From-SVN: r89048
This commit is contained in:
Joseph Myers 2004-10-14 20:49:34 +01:00 committed by Joseph Myers
parent d58005c7d6
commit b419bac764
5 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-10-14 Joseph S. Myers <joseph@codesourcery.com>
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
-m64.
2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
* reload.c (find_reloads): When reloading a PLUS with constant

View File

@ -40,7 +40,9 @@
if (rs6000_spe_string == NULL) \
rs6000_spe = 1; \
if (rs6000_isel_string == NULL) \
rs6000_isel = 1
rs6000_isel = 1; \
if (target_flags & MASK_64BIT) \
error ("-m64 not supported in this configuration")
/* The e500 ABI says that either long doubles are 128 bits, or if
implemented in any other size, the compiler/linker should error out.

View File

@ -53,7 +53,9 @@
if (rs6000_spe_string == NULL) \
rs6000_spe = 1; \
if (rs6000_isel_string == NULL) \
rs6000_isel = 1
rs6000_isel = 1; \
if (target_flags & MASK_64BIT) \
error ("-m64 not supported in this configuration")
/* The e500 ABI says that either long doubles are 128 bits, or if
implemented in any other size, the compiler/linker should error out.

View File

@ -1,3 +1,7 @@
2004-10-14 Joseph S. Myers <joseph@codesourcery.com>
* gcc.dg/ppc-spe64-1.c: New test.
2004-10-14 Devang Patel <dpatel@apple.com>
PR 17635

View File

@ -0,0 +1,6 @@
/* Test that SPE targets do not permit -m64. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile { target powerpc-*-*spe } } */
/* { dg-options "-m64" } */
/* { dg-error "-m64 not supported in this configuration" "SPE not 64-bit" { target *-*-* } 0 } */