diff options
author | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-05-19 20:59:22 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-05-21 14:45:54 -0300 |
commit | 6600738d96c8e862c0c8272b302f01e4fab4dca2 (patch) | |
tree | 69191b230f74d2d644031a2f728c72cad4031a60 /gcc/fortran/interface.c | |
parent | 9486636608eb9db2f223c120951d8b528a9ca4df (diff) | |
download | gcc-6600738d96c8e862c0c8272b302f01e4fab4dca2.zip gcc-6600738d96c8e862c0c8272b302f01e4fab4dca2.tar.gz gcc-6600738d96c8e862c0c8272b302f01e4fab4dca2.tar.bz2 |
Implement remaining cases
There was two cases which required additional attention:
* When -c and -o is provided.
* When cc1* is called to compile an .S file.
Here we fix both of these cases, and also initilizes the additional-asm
file in a more reliable place.
Bootstrap is working here.
gcc/ChangeLog
2020-05-20 Giuliano Belinassi <giuliano.belinassi@usp.br>
* gcc.c (get_file_by_lines): Accept a path to file instead of FILE
object
(identify_asm_file): Better object identification heuristic.
(append_split_outputs): Return if temporary asm file was not
created, and also implement -o case.
(fsplit_arg): Remove .s extension from temporary file.
* toplev.c (init_additional_asm_names_file): Close and flush file.
(do_compile): init_additional_asm_names_file here instead of.
(land_dependent_init): Here.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions