]> git.ipfire.org Git - thirdparty/gcc.git/commit
genoutput.c: Don't include errors.h.
authorRichard Henderson <rth@cygnus.com>
Sat, 27 May 2000 20:01:10 +0000 (13:01 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 27 May 2000 20:01:10 +0000 (13:01 -0700)
commitd96a2fcdf0ae6ce1a758179a6ec72ec51877420c
tree4e384c7b8f7c4484fbc403dae5fc1350a4c9579b
parent5401747e62f5372fad25e66753f6facceded39b9
genoutput.c: Don't include errors.h.

        * genoutput.c: Don't include errors.h.
        (struct data): Add lineno member.
        (have_error): New.
        (scan_operands): Use message_with_line instead of error.
        (validate_insn_alternatives): Likewise.
        (gen_insn): Accept and store the pattern's line number.
        (gen_peephole, gen_expand, gen_split): Likewise.
        (main): Don't set progname.  Pass line_no to gen_foo.

From-SVN: r34205
gcc/ChangeLog
gcc/genoutput.c