https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36312
--- Comment #13 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Author: manu Date: Tue Nov 11 23:33:25 2014 New Revision: 217391 URL: https://gcc.gnu.org/viewcvs?rev=217391&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2014-11-11 Anthony Brandon <anthony.bran...@gmail.com> Manuel López-Ibáñez <m...@gcc.gnu.org> PR driver/36312 * gcc.misc-tests/output.exp: New test case for identical input and output files. include/ChangeLog: 2014-11-11 Anthony Brandon <anthony.bran...@gmail.com> Manuel López-Ibáñez <m...@gcc.gnu.org> PR driver/36312 * filenames.h: Add prototype for canonical_filename_eq. gcc/ChangeLog: 2014-11-11 Anthony Brandon <anthony.bran...@gmail.com> Manuel López-Ibáñez <m...@gcc.gnu.org> PR driver/36312 * diagnostic-core.h: Add prototype for fatal_error. * diagnostic.c (fatal_error): New function fatal_error. * gcc.c (store_arg): Remove have_o_argbuf_index. (process_command): Check if input and output files are the same. * toplev.c (init_asm_output): Check if input and output files are the same. libiberty/ChangeLog: 2014-11-11 Anthony Brandon <anthony.bran...@gmail.com> Manuel López-Ibáñez <m...@gcc.gnu.org> PR driver/36312 * filename_cmp.c (canonical_filename_eq): New function to check if file names are the same. * functions.texi: Updated with documentation for new function. Added: trunk/gcc/testsuite/gcc.misc-tests/output.exp Modified: trunk/gcc/ChangeLog trunk/gcc/diagnostic-core.h trunk/gcc/diagnostic.c trunk/gcc/gcc.c trunk/gcc/testsuite/ChangeLog trunk/gcc/toplev.c trunk/include/ChangeLog trunk/include/filenames.h trunk/libiberty/ChangeLog trunk/libiberty/filename_cmp.c trunk/libiberty/functions.texi