expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
authorRichard Henderson <rth@redhat.com>
Fri, 8 Feb 2002 22:20:16 +0000 (14:20 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 8 Feb 2002 22:20:16 +0000 (14:20 -0800)
commitfdf473ae1b7e9b775418aa69918641dd651d0150
tree9c571efba5f72e86224f8701d8dd1487d6780ced
parent30d287947efab771a850c16a1fb60fc65b2ae148
expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.

        * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
        * final.c (output_addr_const): Accept and discard SUBREG.
        * varasm.c (decode_addr_const): Don't abort on unknown expressions --
        mark them unknown instead.
        (simplify_subtraction): Handle RTX_UNKNOWN.
        (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.

        * gcc.c-torture/compile/labels-3.c: New.

From-SVN: r49622
gcc/ChangeLog
gcc/expr.c
gcc/final.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/labels-3.c [new file with mode: 0644]
gcc/varasm.c