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/69457] New: gcc leaves temp files behind if invoked as "gcc @file"


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

            Bug ID: 69457
           Summary: gcc leaves temp files behind if invoked as "gcc @file"
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

[forwarded from https://bugs.debian.org/810639]

How to reproduce:

$ ls /tmp/cc*
ls: cannot access /tmp/cc*: No such file or directory
$ touch main.ldscript
$ cat >main.txt
main.ldscript
$ gcc @main.txt
main.ldscript: file not recognized: File truncated
collect2: error: ld returned 1 exit status
$ ls /tmp/cc*
/tmp/cc5q7LCs

This probably isn't the usual way one uses gcc so it's hard to notice, but it
happens every time ghc (that's not a typo) builds something with profiling on.

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