dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03 and DW_LANG_Fortran08.
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Feb 2015 22:38:48 +0000 (23:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Feb 2015 22:38:48 +0000 (23:38 +0100)
commitde3aebffe98c425f6368c44d32e72450139176fa
treefc831ba012d14081b0a59fc329cfc207bc7d16aa
parenta6bc87d334fa5eed69acda9813cbf369dcdf9cf2
dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03 and DW_LANG_Fortran08.

include/
* dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03
and DW_LANG_Fortran08.
gcc/
* dwarf2out.c (is_fortran): Also return true for DW_LANG_Fortran03
or DW_LANG_Fortran08.
(lower_bound_default): Return 1 for DW_LANG_Fortran03 or
DW_LANG_Fortran08.
(gen_compile_unit_die): Handle "GNU Fortran2003" and
"GNU Fortran2008" language strings.
* dbxout.c (get_lang_number): Use lang_GNU_Fortran.
* langhooks.h (lang_GNU_Fortran): New prototype.
* langhooks.c (lang_GNU_Fortran): New function.
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
lang_GNU_Fortran.
gcc/fortran/
* options.c: Include langhooks.h.
(gfc_post_options): Change lang_hooks.name based on
selected -std= mode.

From-SVN: r220422
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/dbxout.c
gcc/dwarf2out.c
gcc/fortran/ChangeLog
gcc/fortran/options.c
gcc/langhooks.c
gcc/langhooks.h
include/ChangeLog
include/dwarf2.h