[driver] Use regular error routines
authorNathan Sidwell <nathan@acm.org>
Tue, 11 Sep 2018 15:03:05 +0000 (15:03 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 11 Sep 2018 15:03:05 +0000 (15:03 +0000)
commitb34e743c9c7a530c102c0c6bb1737ff2a0528da0
treef9a5f44ce7a190fad49f8c264dcc837e8cce9fda
parent9e2d426c17e882e117af872b103f9ac2866b5132
[driver] Use regular error routines

https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00545.html
* gcc.c (perror_with_name, pfatal_with_name): Delete.
(load_specs): Use fatal_error.
(DELETE_IF_ORDINARY, process_command): Use error.
(execute, run_attempt): Use fatal_error.

* gcc.dg/driver-specs.c: New.

From-SVN: r264209
gcc/ChangeLog
gcc/gcc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/driver-specs.c [new file with mode: 0644]