From 8d240b3f0615a890d8bdd9319842601a48292522 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 5 Mar 2021 01:44:05 +0100 Subject: [PATCH] gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: xfail for cris The test is still failing and is a regression on master for cris-elf: the remedy for (all) other targets wasn't sufficient. I'm not myself going to put any effort into it (debug-information being different enough for a test to fail, is not a priority) and apparently not anyone else in the last 5 years, so I'm just going to xfail it. gcc/testsuite: PR debug/66668 * gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: xfail for cris-*-* --- gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c b/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c index efa3fa0b1f2..98ee1169e42 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c @@ -31,4 +31,5 @@ char * _Atomic restrict h; char * _Atomic i; char * restrict j; -/* { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type" 8 } } */ +/* The xfail is due to PR66668. */ +/* { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type" 8 { xfail cris-*-* } } } */