re PR target/50694 (SH Target: SH2A little endian does not actually work)
authorOleg Endo <oleg.endo@t-online.de>
Sun, 13 Nov 2011 23:00:10 +0000 (23:00 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Sun, 13 Nov 2011 23:00:10 +0000 (23:00 +0000)
commitf36348b34b4513bc127d1b740e48b72b69f17c01
tree5dd66e42a0b55e446445720b2eb63087f660a8ee
parent9dfd583288b4d88cfb342132a87756de0379f200
re PR target/50694 (SH Target: SH2A little endian does not actually work)

PR target/50694
* config/sh/sh.h (IS_LITTLE_ENDIAN_OPTION, UNSUPPORTED_SH2A):
New macros.
(DRIVER_SELF_SPECS): Use new macros to filter out
unsupported options taking the default configuration into
account.
* gcc.target/sh/pr21255-2-ml.c: Skip if -mb or -m5* is
specified.  Remove redundant runtime checks.
* gcc.target/sh/20080410-1.c: Skip if -mb is specified.
Allow for other than -m4.  Fix typos in comments.

From-SVN: r181340
gcc/ChangeLog
gcc/config/sh/sh.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/20080410-1.c
gcc/testsuite/gcc.target/sh/pr21255-2-ml.c