[Bug driver/55651] gcc hangs when "-Wp," is passed on the command line
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 12 10:07:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list