On Fedora 26, "g++ -dumpversion" displays "7", instead of "7.1.1". Update selective.exp to support single digit GCC version. Also remove duplicated [4-9] version check. * testsuite/ld-selective/selective.exp: Support single digit GCC version. |
||
---|---|---|
.. | ||
1.c | ||
2.c | ||
3.cc | ||
4.cc | ||
5.cc | ||
keepdot.d | ||
keepdot.ld | ||
keepdot.s | ||
keepdot0.d | ||
keepdot0.ld | ||
sel-dump.exp | ||
selective.exp |