diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2018-04-27 08:05:44 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2018-04-27 08:05:44 +0000 |
commit | 9f47a64fccccb215eacf52aea827b577eabdb1f0 (patch) | |
tree | ef6ee9599ff7f773b7f7763f11ea3d3b6aa3974b /gcc/ada/init.c | |
parent | 92007ba60738fabe2e3fb87796bcebe344062fbc (diff) | |
download | gcc-9f47a64fccccb215eacf52aea827b577eabdb1f0.zip gcc-9f47a64fccccb215eacf52aea827b577eabdb1f0.tar.gz gcc-9f47a64fccccb215eacf52aea827b577eabdb1f0.tar.bz2 |
re PR ada/85540 (gcc/ada/init.c:1282: suspicious expression ?)
PR ada/85540
* init.c (__gnat_handle_vms_condition): Add missing parentheses.
From-SVN: r259698
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r-- | gcc/ada/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c index cc271af..5088ecf 100644 --- a/gcc/ada/init.c +++ b/gcc/ada/init.c @@ -1279,7 +1279,7 @@ __gnat_handle_vms_condition (int *sigargs, void *mechargs) /* If it was a DEC Ada specific condtiion, make it GNAT otherwise keep the old facility. */ - if (sigargs [1] & FAC_MASK == DECADA_M_FACILITY) + if ((sigargs [1] & FAC_MASK) == DECADA_M_FACILITY) SYS$PUTMSG (sigargs, copy_msg, &gnat_facility, (unsigned long long ) message); else |