Hi Martin, >> I am not sure why constant string is not emitted for arm-linux-gnueabihf ? >> As far as this issue is concerned, should I simply XFAIL it on arm for now ? > > This is not unique to the arm back end but affects other targets > as well, including powerpc64. There's a bug open (PR 83462) for > one of the tests I recently added with the same root cause: > a case not being handled by the strlen pass. I'm tracking this > missed optimization in PR 83543. I would expect handling it > to be fairly easy but it seems that every I think that it turns > out to be anything but. Either way, either fixing 83543 or > marking this failure (and those in PR 83462) XFAIL until it > the optimization is added should work.
I'm seeing the same failure on sparc*-sun-solaris*, and gcc-testresults shows it on mips64el-unknown-linux-gnu and powerpc-ibm-aix7.2.0.0, too. XFAILing may become unwieldly if more targets are affected. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University