From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13986 invoked by alias); 27 Jun 2007 23:05:32 -0000 Received: (qmail 13951 invoked by uid 48); 27 Jun 2007 23:05:23 -0000 Date: Wed, 27 Jun 2007 23:05:00 -0000 Subject: [Bug c/32528] New: -save-temps when compiling standard input fails X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mec at google dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-06/txt/msg02608.txt.bz2 This looks like a trivial bug in options processing. It's been not working for a long time. === mec@hollerith:~/exp-save-temps-dash$ cat hello.c #include int main() { printf("Hello, world\n"); return 0; } mec@hollerith:~/exp-save-temps-dash$ cat hello.c | /home/mec/gcc-3.4.6/install/bin/gcc -save-temps -x c - cc1: error: unrecognized command line option "-.i" mec@hollerith:~/exp-save-temps-dash$ cat hello.c | /home/mec/gcc-4.0.4/install/bin/gcc -save-temps -x c - cc1: error: unrecognized command line option "-.i" mec@hollerith:~/exp-save-temps-dash$ cat hello.c | /home/mec/gcc-4.1.2/install/bin/gcc -save-temps -x c - cc1: error: unrecognized command line option "-.i" mec@hollerith:~/exp-save-temps-dash$ cat hello.c | /home/mec/gcc-4.2.0/install/bin/gcc -save-temps -x c - cc1: error: unrecognized command line option "-.i" mec@hollerith:~/exp-save-temps-dash$ cat hello.c | /home/mec/gcc-4.3-20070622/install/bin/gcc -save-temps -x c - cc1: error: unrecognized command line option "-.i" mec@hollerith:~/exp-save-temps-dash$ -- Summary: -save-temps when compiling standard input fails Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mec at google dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32528