commit 041ec28fa0e9a9a2b35a76fd383e6adc20e6bbc3 Author: Roberto E. Vargas Caballero <k...@shike2.com> AuthorDate: Thu Mar 9 09:25:43 2017 +0100 Commit: Roberto E. Vargas Caballero <k...@shike2.com> CommitDate: Thu Mar 9 09:25:43 2017 +0100
[cc1] Fix pragma line emitted by -E The correct format of a pragma line is but cc1 was printing the file without quotes. diff --git a/cc1/cpp.c b/cc1/cpp.c index 05f28e1..78276bb 100644 --- a/cc1/cpp.c +++ b/cc1/cpp.c @@ -790,7 +790,7 @@ ppragmaln(void) putchar('\n'); if (strcmp(file, filenam)) { strcpy(file, filenam); - s = "#line %u %s\n"; + s = "#line %u \"%s\"\n"; } else if (nline+1 != lineno) { s = "#line %u\n"; } else {