diff options
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/f95-lang.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e0dd795..b48bac4 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2017-12-07 Martin Sebor <msebor@redhat.com> + + PR c/81544 + * f95-lang.c (gfc_attribute_table): Initialize new member of struct + attribute_spec. + 2017-12-03 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/36313 diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c index 44bd8dc..0ecb207 100644 --- a/gcc/fortran/f95-lang.c +++ b/gcc/fortran/f95-lang.c @@ -92,12 +92,12 @@ static const struct attribute_spec gfc_attribute_table[] = /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler, affects_type_identity } */ { "omp declare target", 0, 0, true, false, false, - gfc_handle_omp_declare_target_attribute, false }, + gfc_handle_omp_declare_target_attribute, false, NULL }, { "omp declare target link", 0, 0, true, false, false, - gfc_handle_omp_declare_target_attribute, false }, + gfc_handle_omp_declare_target_attribute, false, NULL }, { "oacc function", 0, -1, true, false, false, - gfc_handle_omp_declare_target_attribute, false }, - { NULL, 0, 0, false, false, false, NULL, false } + gfc_handle_omp_declare_target_attribute, false, NULL }, + { NULL, 0, 0, false, false, false, NULL, false, NULL } }; #undef LANG_HOOKS_NAME |