c-parse.in (asm_operand): Allow named operands.
authorRichard Henderson <rth@redhat.com>
Thu, 11 Oct 2001 07:07:30 +0000 (00:07 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 11 Oct 2001 07:07:30 +0000 (00:07 -0700)
commit84b7230235972947f92045e6281d2a18099b415e
tree65279fa1cd98240f2ba4d2902ef69c88fa458bd8
parent592188a538c1993640b27f0788f382e282dddbb6
c-parse.in (asm_operand): Allow named operands.

        * c-parse.in (asm_operand): Allow named operands.
        * genconfig.c (max_recog_operands): Set to 29.
        * local-alloc.c (requires_inout): Skip multiple digits.
        * recog.c (asm_operand_ok): Likewise.
        (preprocess_constraints): Use strtoul for matching constraints.
        (constrain_operands): Likewise.
        * regmove.c (find_matches): Likewise.
        * reload.c (find_reloads): Likewise.
        * stmt.c (parse_output_constraint): Don't reject in-out
        constraint on operands > 9.  Reject '[' in constraint.
        (expand_asm_operands): Handle named operands.  Use strtoul
        for matching constraints.
        (check_operand_nalternatives): Split out from expand_asm_operands.
        (check_unique_operand_names): New.
        (resolve_operand_names, resolve_operand_name_1): New.

        * doc/extend.texi (Extended Asm): Document named operands.
        * doc/md.texi (Simple Constraints): Document matching constraints
        on operands > 9.

        * parse.y (asm_operand): Allow named operands.
        * semantics.c (finish_asm_stmt): Tweek for changed location
        of the operand constrant.

From-SVN: r46179
13 files changed:
gcc/ChangeLog
gcc/c-parse.in
gcc/cp/ChangeLog
gcc/cp/parse.y
gcc/cp/semantics.c
gcc/doc/extend.texi
gcc/doc/md.texi
gcc/genconfig.c
gcc/local-alloc.c
gcc/recog.c
gcc/regmove.c
gcc/reload.c
gcc/stmt.c