re PR driver/22544 (gcc ignores input file given on the command line)
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 17 Oct 2005 04:22:03 +0000 (04:22 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 17 Oct 2005 04:22:03 +0000 (21:22 -0700)
commitaf41c57d042d6b570c4f5de342e859f71bc67a18
tree22064a83d217afbda03a19976677b57f94ac4a54
parentd938e4612a745b6fa19fae8f68acbb3e5062cf47
re PR driver/22544 (gcc ignores input file given on the command line)

2005-10-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR driver/22544
        * gcc.c (have_c): New static variable.
        (have_o): Likewise.
        (process_command): Remove declation of have_c.
        Set have_o to 1 when handling -o.
        (main): Add a fatel error if there are multiple
        files specified and -o and -c/-S is passed witout
        -combine or multiple languages.

From-SVN: r105487
gcc/ChangeLog
gcc/gcc.c