diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2008-05-23 22:09:46 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2008-05-23 22:09:46 +0000 |
commit | fbcfcb3cc3c93d7af538b220b3d57e3254ac6651 (patch) | |
tree | 7bc7eb7a13c8439202f54e3d9f7fc0344f7dff7c /gcc | |
parent | 007e61c28bd45792a74a66be4feae5968468befe (diff) | |
download | gcc-fbcfcb3cc3c93d7af538b220b3d57e3254ac6651.zip gcc-fbcfcb3cc3c93d7af538b220b3d57e3254ac6651.tar.gz gcc-fbcfcb3cc3c93d7af538b220b3d57e3254ac6651.tar.bz2 |
see.c (see_get_extension_data): Don't use SUBREG_REG to test if a node is a SUBREG.
2008-05-23 Rafael Espindola <espindola@google.com>
* see.c (see_get_extension_data): Don't use SUBREG_REG to test
if a node is a SUBREG.
(see_analyze_one_def): Don't use SUBREG_REG to test if a node
is a SUBREG.
2008-05-23 Rafael Espindola <espindola@google.com>
* gcc/testsuite/gcc.c-torture/compile/20080522-1.c: Move to gcc.dg.
* gcc/testsuite/gcc.dg/20080522-1.c: Moved from gcc.c-torture.
From-SVN: r135833
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/see.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20080522-1.c (renamed from gcc/testsuite/gcc.c-torture/compile/20080522-1.c) | 0 |
4 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1712af..2eda8f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-05-23 Rafael Espindola <espindola@google.com> + + * see.c (see_get_extension_data): Don't use SUBREG_REG to test + if a node is a SUBREG. + (see_analyze_one_def): Don't use SUBREG_REG to test if a node + is a SUBREG. + 2008-05-23 Paul Brook <paul@codesourcery.com> Carlos O'Donell <carlos@codesourcery.com> @@ -732,7 +732,7 @@ see_get_extension_data (rtx extension, enum machine_mode *source_mode) /* Don't handle extensions to something other then register or subregister. */ - if (!REG_P (lhs) && !SUBREG_REG (lhs)) + if (!REG_P (lhs) && GET_CODE (lhs) != SUBREG) return UNKNOWN; if (GET_CODE (rhs) != SIGN_EXTEND && GET_CODE (rhs) != ZERO_EXTEND) @@ -3523,7 +3523,7 @@ see_analyze_one_def (rtx insn, enum machine_mode *source_mode, /* Don't handle extensions to something other then register or subregister. */ - if (!REG_P (lhs) && !SUBREG_REG (lhs)) + if (!REG_P (lhs) && GET_CODE (lhs) != SUBREG) return NOT_RELEVANT; switch (GET_CODE (rhs)) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1c457cc..a5ece90 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-05-23 Rafael Espindola <espindola@google.com> + + * gcc/testsuite/gcc.c-torture/compile/20080522-1.c: Move to gcc.dg. + * gcc/testsuite/gcc.dg/20080522-1.c: Moved from gcc.c-torture. + 2008-05-23 Paul Brook <paul@codesourcery.com> Carlos O'Donell <carlos@codesourcery.com> diff --git a/gcc/testsuite/gcc.c-torture/compile/20080522-1.c b/gcc/testsuite/gcc.dg/20080522-1.c index e259843..e259843 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20080522-1.c +++ b/gcc/testsuite/gcc.dg/20080522-1.c |