public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/33980] Precompiled header file not removed on error
       [not found] <bug-33980-4@http.gcc.gnu.org/bugzilla/>
@ 2023-05-19  5:40 ` pinskia at gcc dot gnu.org
  2023-05-19  6:28 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-19  5:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33980

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|pch                         |driver
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think I have a simple patch for this.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/33980] Precompiled header file not removed on error
       [not found] <bug-33980-4@http.gcc.gnu.org/bugzilla/>
  2023-05-19  5:40 ` [Bug driver/33980] Precompiled header file not removed on error pinskia at gcc dot gnu.org
@ 2023-05-19  6:28 ` pinskia at gcc dot gnu.org
  2023-05-19 17:59 ` cvs-commit at gcc dot gnu.org
  2023-05-19 18:01 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-19  6:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33980

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 55114
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55114&action=edit
Patch which I am testing

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/33980] Precompiled header file not removed on error
       [not found] <bug-33980-4@http.gcc.gnu.org/bugzilla/>
  2023-05-19  5:40 ` [Bug driver/33980] Precompiled header file not removed on error pinskia at gcc dot gnu.org
  2023-05-19  6:28 ` pinskia at gcc dot gnu.org
@ 2023-05-19 17:59 ` cvs-commit at gcc dot gnu.org
  2023-05-19 18:01 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-05-19 17:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33980

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:

https://gcc.gnu.org/g:cddb6dd6668843db351807ab8d2ff7440109f39a

commit r14-1000-gcddb6dd6668843db351807ab8d2ff7440109f39a
Author: Andrew Pinski <apinski@marvell.com>
Date:   Fri May 19 06:12:49 2023 +0000

    Fix driver/33980: Precompiled header file not removed on error

    So the problem here is that in the spec files, we were not marking the pch
    output file to be removed on error.
    The way to fix this is to mark the --output-pch argument as the output
    file argument.
    For the C++ specs file, we had to move around where the %V was located
    such that it would be after the %w marker as %V marker clears the
outputfiles.

    OK? Bootstrapped and tested on x86_64-linux-gnu.

    gcc/cp/ChangeLog:

            PR driver/33980
            * lang-specs.h ("@c++-header"): Add %w after
            the --output-pch.
            ("@c++-system-header"): Likewise.
            ("@c++-user-header"): Likewise.

    gcc/ChangeLog:

            PR driver/33980
            * gcc.cc (default_compilers["@c-header"]): Add %w
            after the --output-pch.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/33980] Precompiled header file not removed on error
       [not found] <bug-33980-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2023-05-19 17:59 ` cvs-commit at gcc dot gnu.org
@ 2023-05-19 18:01 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-19 18:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33980

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |14.0
             Status|ASSIGNED                    |RESOLVED

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed finally.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-19 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-33980-4@http.gcc.gnu.org/bugzilla/>
2023-05-19  5:40 ` [Bug driver/33980] Precompiled header file not removed on error pinskia at gcc dot gnu.org
2023-05-19  6:28 ` pinskia at gcc dot gnu.org
2023-05-19 17:59 ` cvs-commit at gcc dot gnu.org
2023-05-19 18:01 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).