This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/66532] New: Source file deleted when we use gcc compile
- From: "yongjin.ohn at lge dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 14 Jun 2015 06:14:44 +0000
- Subject: [Bug c/66532] New: Source file deleted when we use gcc compile
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66532
Bug ID: 66532
Summary: Source file deleted when we use gcc compile
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: yongjin.ohn at lge dot com
Target Milestone: ---
Hello guys.
I'm newbie about the GCC compiler. Also, my english skill is poor, please
understand it.
Actually, When I compile using below command, my source are deleted.
gcc -o mysource.c mysource
I know this command is wrong. but I think that this is a problem. because user
can make a mistake. Also user can't recover his source code everything.
So, I think that If user input the like upper commend, we can change the
parameter order or backup the source file.
If you agree this situation, I'll try upload the patch.