+2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * f-exp.y (fortran_operators): Add ".xor.".
+
2021-02-24 Tom de Vries <tdevries@suse.de>
PR symtab/27336
{ ".eq.", EQUAL, BINOP_END, false },
{ ".eqv.", EQUAL, BINOP_END, false },
{ ".neqv.", NOTEQUAL, BINOP_END, false },
+ { ".xor.", NOTEQUAL, BINOP_END, false },
{ "==", EQUAL, BINOP_END, false },
{ ".ne.", NOTEQUAL, BINOP_END, false },
{ "/=", NOTEQUAL, BINOP_END, false },
+2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
+
2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.base/sect-cmd.exp: Update expected results.
set not ".NOT."
set eqv ".EQV."
set neqv ".NEQV."
+ set xor ".XOR."
set eq ".EQ."
set ne ".NE."
set le ".LE."
set not ".not."
set eqv ".eqv."
set neqv ".neqv."
+ set xor ".xor."
set eq ".eq."
set ne ".ne."
set le ".le."
gdb_test "p $false $neqv $true" " = .TRUE."
gdb_test "p $false $neqv $false" " = .FALSE."
+ # And the legacy alias for NEQV, XOR
+ gdb_test "p $true $xor $true" " = .FALSE."
+ gdb_test "p $true $xor $false" " = .TRUE."
+ gdb_test "p $false $xor $true" " = .TRUE."
+ gdb_test "p $false $xor $false" " = .FALSE."
+
# Arithmetic EQ
gdb_test "p 5 $eq 4" " = .FALSE."
gdb_test "p 4 $eq 4" " = .TRUE."