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
This commit is contained in:
Richard Henderson 2004-12-02 19:27:34 -08:00 committed by Richard Henderson
parent 9208393247
commit 6e4b5aaf4d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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>
* doc/cfg.texi (Edges): Update. Document the edge_iterator data

View File

@ -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)
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. */
if (GET_CODE (op) == CONST_VECTOR)