diff mbox series

Committed: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: xfail for cris

Message ID 20210305010351.366C0203DC@pchp3.se.axis.com
State New
Headers show
Series Committed: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: xfail for cris | expand

Commit Message

Hans-Peter Nilsson March 5, 2021, 1:03 a.m. UTC
Tested cris-elf and x86_64-linux to eliminate the edit being
fatfingered.

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 mbox series

Patch

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 efa3fa0b1f21..98ee1169e428 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-*-* } } } */