diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-02-04 23:38:48 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-02-04 23:38:48 +0100 |
commit | de3aebffe98c425f6368c44d32e72450139176fa (patch) | |
tree | fc831ba012d14081b0a59fc329cfc207bc7d16aa /include | |
parent | a6bc87d334fa5eed69acda9813cbf369dcdf9cf2 (diff) | |
download | gcc-de3aebffe98c425f6368c44d32e72450139176fa.zip gcc-de3aebffe98c425f6368c44d32e72450139176fa.tar.gz gcc-de3aebffe98c425f6368c44d32e72450139176fa.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dwarf2.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 0917d94..4f455c0 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2015-02-04 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03 + and DW_LANG_Fortran08. + 2015-01-15 Thomas Schwinge <thomas@codesourcery.com> Julian Brown <julian@codesourcery.com> James Norris <jnorris@codesourcery.com> diff --git a/include/dwarf2.h b/include/dwarf2.h index ca440dd..e05955c 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -312,6 +312,8 @@ enum dwarf_source_language DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */ DW_LANG_C11 = 0x001d, DW_LANG_C_plus_plus_14 = 0x0021, + DW_LANG_Fortran03 = 0x0022, + DW_LANG_Fortran08 = 0x0023, DW_LANG_lo_user = 0x8000, /* Implementation-defined range start. */ DW_LANG_hi_user = 0xffff, /* Implementation-defined range start. */ |