The modified test in function-calls.exp actually passes with ifort and
ifx. The particular fail seems to be specific to gfortran. When the
test was introduced it was only tested with gfortran (actually the
whole patch was written with gfortran and the GNU Fortran argument
passing convention in mind).
Approved-by: Tom Tromey <tom@tromey.com>
# Paragraph 10: optional value arguments. There is insufficient DWARF
# information to reliably make this case work.
-setup_kfail "gdb/24305" *-*-*
+if { [test_compiler_info {gfortran-*} f90] } {
+ setup_kfail "gdb/24305" *-*-*
+}
gdb_test "p one_arg_value(10)" " = 10"
# DW_AT_artificial formal parameters must be passed manually. This