PR other/31566
* gcc.c (process_command): For @filename handling, output
the correct name if the file does not exist.
From-SVN: r240669
+2016-09-30 Prasad Ghangal <prasad.ghangal@gmail.com>
+
+ PR other/31566
+ * gcc.c (process_command): For @filename handling, output
+ the correct name if the file does not exist.
+
2016-09-30 Marek Polacek <polacek@redhat.com>
* config/aarch64/aarch64-simd.md: Adjust fall through comments.
fname = xstrdup (arg);
if (strcmp (fname, "-") != 0 && access (fname, F_OK) < 0)
- perror_with_name (fname);
+ {
+ if (fname[0] == '@' && access (fname + 1, F_OK) < 0)
+ perror_with_name (fname + 1);
+ else
+ perror_with_name (fname);
+ }
else
add_infile (arg, spec_lang);