aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2019-10-02 10:41:59 +0000
committerTobias Burnus <burnus@gcc.gnu.org>2019-10-02 12:41:59 +0200
commit4aef466788a964688458f4e633398b140ad89e24 (patch)
tree3d1d405eadf927495b65baf3cb1b40d3d150f9df /gcc
parent67c259509c0ab6475a27e871afdf12434ac34d48 (diff)
downloadgcc-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')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/trans-openmp.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d8c891f..af0a0ac 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2019-10-02 Tobias Burnus <tobias@codesourcery.com>
+
+ * trans-openmp.c (gfc_omp_is_optional_argument): Fix coding
+ style.
+
2019-10-02 Kwok Cheung Yeung <kcy@codesourcery.com>
* f95-lang.c (LANG_HOOKS_OMP_IS_OPTIONAL_ARGUMENT): Define to
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));
}