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/45041] 'gcc -E -o -' creates ./-.exe on cygwin



------- 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


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