Commit 6e4b5aaf by Richard Henderson Committed by Richard Henderson

re PR target/18774 (mmix-knuth-mmixware testsuite failure:…

re PR target/18774 (mmix-knuth-mmixware testsuite failure: gcc.c-torture/execute/20020227-1.c -Os -O2 compile)

	PR 18774
        * simplify-rtx.c (simplify_immed_subreg): Fail complex modes.

From-SVN: r91672
parent 92083932
2004-12-02 Richard Henderson <rth@redhat.com>
* simplify-rtx.c (simplify_immed_subreg): Fail complex modes.
2004-12-03 Ben Elliston <bje@au.ibm.com> 2004-12-03 Ben Elliston <bje@au.ibm.com>
* doc/cfg.texi (Edges): Update. Document the edge_iterator data * doc/cfg.texi (Edges): Update. Document the edge_iterator data
......
...@@ -3326,6 +3326,10 @@ simplify_immed_subreg (enum machine_mode outermode, rtx op, ...@@ -3326,6 +3326,10 @@ simplify_immed_subreg (enum machine_mode outermode, rtx op,
if (GET_MODE_CLASS (outermode) == MODE_CC && GET_CODE (op) == CONST_INT) if (GET_MODE_CLASS (outermode) == MODE_CC && GET_CODE (op) == CONST_INT)
return op; return op;
/* We have no way to represent a complex constant at the rtl level. */
if (COMPLEX_MODE_P (outermode))
return NULL_RTX;
/* Unpack the value. */ /* Unpack the value. */
if (GET_CODE (op) == CONST_VECTOR) if (GET_CODE (op) == CONST_VECTOR)
......
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