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
This commit is contained in:
Eric Botcazou 2018-04-27 08:05:44 +00:00 committed by Eric Botcazou
parent 92007ba607
commit 9f47a64fcc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-04-27 Eric Botcazou <ebotcazou@adacore.com>
PR ada/85540
* init.c (__gnat_handle_vms_condition): Add missing parentheses.
2018-04-25 Eric Botcazou <ebotcazou@adacore.com>
PR ada/85007

View File

@ -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