This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/55651] gcc hangs when "-Wp," is passed on the command line


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]