Tom de Vries pointed out that my recent change to fixed_points.exp
failed with older versions of GCC. This patch fixes the problem by
skipping the new test in this situation.
gdb_test "print fp5_var" " = 3e-19"
}
- gdb_test "p Float(Another_Fixed) = Float(Another_Delta * 5)" "true" \
- "value of another_fixed"
+ # This failed before GCC 10.
+ if {$scenario == "all" && [test_compiler_info {gcc-10-*}]} {
+ gdb_test "p Float(Another_Fixed) = Float(Another_Delta * 5)" "true" \
+ "value of another_fixed"
+ }
}