aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorNils-Christian Kempke <nils-christian.kempke@intel.com>2023-01-09 09:44:22 +0100
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2023-01-09 09:50:08 +0100
commit0046ff60684eb16dcfafac350d37f4dc56c368e3 (patch)
tree5ab2a7a7fa84a95f60246d51e345a1ad21230881 /Makefile.tpl
parent6d3945f172733cabb52c93141c248cf47ac95336 (diff)
downloadgdb-0046ff60684eb16dcfafac350d37f4dc56c368e3.zip
gdb-0046ff60684eb16dcfafac350d37f4dc56c368e3.tar.gz
gdb-0046ff60684eb16dcfafac350d37f4dc56c368e3.tar.bz2
testsuite: handle icc and icpc deprecated remarks
Starting with icc/icpc version 2021.7.0 and higher both compilers emit a deprecation remark when used. E.g. >> icc --version icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message. icc (ICC) 2021.7.0 20220713 Copyright (C) 1985-2022 Intel Corporation. All rights reserved. >> icpc --version icpc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated ... icpc (ICC) 2021.7.0 20220720 Copyright (C) 1985-2022 Intel Corporation. All rights reserved. As the testsuite compile fails when unexpected output by the compiler is seen this change in the compiler breaks all existing icc and icpc tests. This patch makes the gdb testsuite more forgiving by a) allowing the output of the remark when trying to figure out the compiler version and by b) adding '-diag-disable=10441' to the compile command whenever gdb_compile is called without the intention to detect the compiler. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'Makefile.tpl')
0 files changed, 0 insertions, 0 deletions