Test gcc.dg/memcpy-1.c, added on 2006-11-28, has always failed the "optimized"
tree dump scan on powerpc64-unknown-linux-gnu.  The contents of the scanned
file
are:

  ;; Function test (test)

  Analyzing Edge Insertions.
  test (a)
  {
    int nasty_local$a;
    struct a nasty_local;

  <bb 2>:
    nasty_local.a = nasty_local$a;
    nasty_local = a;
    return nasty_local.a;

  }

The dump from a compiler from before this test (and associated fix) were added
includes a call to __builtin_memcpy.  Should the test check for that string
instead of looking for "nasty_local", or is there a real problem that needs to
be fixed?

The same failure also shows up in archived test results for these targets:

  arm-non-eabi
  mipsel-unknown-linux-gnu
  powerpc-apple-darwin8.5.0
  powerpc-ibm-aix5.2.0.0
  s390-ibm-linux-gnu
  sh4-unknown-linux-gnu


-- 
           Summary: gcc.dg/memcpy-1.c tree dump scan fails on several
                    targets
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31677

Reply via email to