Commit fbcfcb3c by Rafael Avila de Espindola Committed by Rafael Espindola

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
parent 007e61c2
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))
......
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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment