Hi, Improvements are possible in this area but cgcc -E test.c -o test.C -MF test.d is not supposed to work as expected by OP since gcc -E test.c -o test.C -MF test.d is not working.
So, it's not a bug and this PR should be closed. Best regards, -- Luc Van Oostenryck