https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101283
--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Indu Bhagat <ibha...@gcc.gnu.org>: https://gcc.gnu.org/g:97bcacfb5ac49afa4e305489dd110cc446451549 commit r12-2093-g97bcacfb5ac49afa4e305489dd110cc446451549 Author: Indu Bhagat <indu.bha...@oracle.com> Date: Tue Jul 6 16:02:38 2021 -0700 CTF testsuite: Remove explicit check on ctv_typeidx The value of ctv_typeidx is the CTF type ID of the data type of the associated variable. The order in which the CTF types are added can change across platforms and also as the code evolves, hence changing the CTF type ID. As there is no direct and portable method of testing that the data type of a CTF variable is of a specific kind, remove the check on ctv_typeidx. This also fixes a subset of failures as seen on Darwin. 2021-07-06 Indu Bhagat <indu.bha...@oracle.com> gcc/testsuite/ChangeLog: PR debug/101283 * gcc.dg/debug/ctf/ctf-attr-mode-1.c: Remove the check for ctv_typeidx.