diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2019-10-02 10:41:59 +0000 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2019-10-02 12:41:59 +0200 |
commit | 4aef466788a964688458f4e633398b140ad89e24 (patch) | |
tree | 3d1d405eadf927495b65baf3cb1b40d3d150f9df /gcc/fortran/trans-openmp.c | |
parent | 67c259509c0ab6475a27e871afdf12434ac34d48 (diff) | |
download | gcc-4aef466788a964688458f4e633398b140ad89e24.zip gcc-4aef466788a964688458f4e633398b140ad89e24.tar.gz gcc-4aef466788a964688458f4e633398b140ad89e24.tar.bz2 |
Fix coding style comment, missed in last commit
* trans-openmp.c (gfc_omp_is_optional_argument): Fix coding
style.
From-SVN: r276446
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
-rw-r--r-- | gcc/fortran/trans-openmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fortran/trans-openmp.c b/gcc/fortran/trans-openmp.c index 88ecc33..f83bab4 100644 --- a/gcc/fortran/trans-openmp.c +++ b/gcc/fortran/trans-openmp.c @@ -52,7 +52,8 @@ int ompws_flags; bool gfc_omp_is_optional_argument (const_tree decl) { - return (TREE_CODE (decl) == PARM_DECL && DECL_LANG_SPECIFIC (decl) + return (TREE_CODE (decl) == PARM_DECL + && DECL_LANG_SPECIFIC (decl) && GFC_DECL_OPTIONAL_ARGUMENT (decl)); } |