This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/55651] gcc hangs when "-Wp," is passed on the command line
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Dec 2012 10:07:21 +0000
- Subject: [Bug driver/55651] gcc hangs when "-Wp," is passed on the command line
- Auto-submitted: auto-generated
- References: <bug-55651-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55651
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-12-12
Component|c |driver
Ever Confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-12 10:07:21 UTC ---
It looks like cc1 treats
/usr/lib64/gcc/x86_64-suse-linux/4.6/cc1 -quiet -v "" t.c -quiet -dumpbase t.c
-mtune=generic -march=x86-64 -auxbase t -version -o /tmp/ccYYppXF.s
as reading from stdin? Yes, it does,
gcc -Wp, -c t.c < /dev/null
works just fine.
Somewhat odd behavior though ;) Confirmed. The driver should either
drop empty -Wp, or error.