[Bug fortran/95918] gfortran.dg/char4-subscript.f90 fails for BE architectures

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 27 19:26:30 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95918

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Or even just  { target le }  yes.  You can put that as the selector on just
the scan tests, and even do a separate BE version as well.

You can quote regexps with {} instead of "", that makes them much more
readable.  The regexps seem to use . where they mean a literal dot, too?
Won't matter too much of course.

! { dg-final { scan-tree-dump "  \\(\\*var\\.str2\\)\\\[1\\\]{lb: 1 sz: 4} =
.d\\\\x00\\\\x00.\\\[1\\\]{lb: 1 sz: 4};" "original" } }

can become

! { dg-final { scan-tree-dump {  \(\*var\.str2\)\[1\]{lb: 1 sz: 4} =
.d\\x00\\x00.\[1\]{lb: 1 sz: 4};} "original" { target le } } }

and whatever BE needs.


More information about the Gcc-bugs mailing list