[Bug driver/117968] running "cpp" with malformed arguments can cause input file deletion

dev@remi-marsal.com gcc-bugzilla@gcc.gnu.org
Tue Dec 10 01:48:31 GMT 2024


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

--- Comment #4 from Rémi MARSAL <dev@remi-marsal.com> ---
Thanks for pointing out the man page Jakub. This makes sense now.

Apologies about this report.

However, I don't understand why cpp doesn't raise an error because the input
file doesn't exist.

I recursively run a malformed cpp command on a "mock" project folder, and it
disappeared.


More information about the Gcc-bugs mailing list