]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/ChangeLog
re PR driver/36312 (should refuse to overwrite input file with output file)
authorAnthony Brandon <anthony.brandon@gmail.com>
Tue, 11 Nov 2014 23:33:25 +0000 (23:33 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 11 Nov 2014 23:33:25 +0000 (23:33 +0000)
commit3d00119cfbbcadccb56e5a0b8fe447ad7554d681
treed4db9e599db1d46abb0414b25660560c2823a504
parent3aa34c1d8f94fc56d66de3b8d09dbd8c2c9e8525
re PR driver/36312 (should refuse to overwrite input file with output file)

gcc/testsuite/ChangeLog:

2014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
    Manuel López-Ibáñez  <manu@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.brandon@gmail.com>
    Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR driver/36312
* filenames.h: Add prototype for canonical_filename_eq.

gcc/ChangeLog:

2014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
    Manuel López-Ibáñez  <manu@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.brandon@gmail.com>
    Manuel López-Ibáñez  <manu@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.

Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r217391
12 files changed:
gcc/ChangeLog
gcc/diagnostic-core.h
gcc/diagnostic.c
gcc/gcc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/output.exp [new file with mode: 0644]
gcc/toplev.c
include/ChangeLog
include/filenames.h
libiberty/ChangeLog
libiberty/filename_cmp.c
libiberty/functions.texi