This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/45041] 'gcc -E -o -' creates ./-.exe on cygwin
- From: "davek at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2010 15:05:29 -0000
- Subject: [Bug driver/45041] 'gcc -E -o -' creates ./-.exe on cygwin
- References: <bug-45041-3730@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from davek at gcc dot gnu dot org 2010-07-23 15:05 -------
Ah. This appears to be fixed on HEAD. I suspect this patch did the job:
2009-10-14 Pascal Obry <obry@adacore.com>
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Add -E.
(process_command): Handle -E as done with -c and -S. Do not add
the target executable suffix to the output file when -E is used.
(main): Adjust error message accordingly.
That will be in 4.5.0-1 imminently, so I'm going to resolve this PR. Can't see
much value in bothering with a backport to any of the earlier series myself,
but feel free to re-open the PR if you want to do it yourself!
--
davek at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45041