aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.cc
diff options
context:
space:
mode:
authorNeal Frager <neal.frager@amd.com>2023-10-30 17:02:53 +0000
committerMichael J. Eager <eager@eagercon.com>2023-10-31 09:29:10 -0700
commitf694960924e6420086c8ae5809995f7d43a06b5f (patch)
tree04c81ea0b9fb76a88659acfbc2b3824e60611be6 /libcpp/line-map.cc
parent9119b008b4195e06012a485ec01a8bb0e43266be (diff)
downloadgcc-f694960924e6420086c8ae5809995f7d43a06b5f.zip
gcc-f694960924e6420086c8ae5809995f7d43a06b5f.tar.gz
gcc-f694960924e6420086c8ae5809995f7d43a06b5f.tar.bz2
gcc: config: microblaze: fix cpu version check
The MICROBLAZE_VERSION_COMPARE was incorrectly using strcasecmp instead of strverscmp to check the mcpu version against feature options. By simply changing the define to use strverscmp, the new version 10.0 is treated correctly as a higher version than previous versions. Fix incorrect warning with -mcpu=10.0: warning: '-mxl-multiply-high' can be used only with '-mcpu=v6.00.a' or greater Signed-off-by: Neal Frager <neal.frager@amd.com> Signed-off-by: Michael J. Eager <eager@eagercon.com>
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions