diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-04 22:38:48 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-04 22:38:48 +0000 |
commit | f36f9b8b60e597a963f2cc2f20c712f17f8071a2 (patch) | |
tree | fc831ba012d14081b0a59fc329cfc207bc7d16aa /include | |
parent | 09484478003c1db92bdb699e50cb4bb3826115ca (diff) | |
download | gcc-f36f9b8b60e597a963f2cc2f20c712f17f8071a2.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220422 138bc75d-0d04-0410-961f-82ee72b054a4
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 0917d9443bc..4f455c08f15 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 ca440dd42b5..e05955cad46 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. */ |