Recent changes to the compiler (probably around July 4th) gets an assertion
failure when the Spec 2006 dealII benchmark is compiled for the powerpc
targeting either Altivec or VSX vector instruction sets.

This is due to the builtin mask for load/store builtins being passed a
reference type instead of a pointer type.  The July 4th change made changes in
how the compiler peels loops, and it exposed the bug.

The fix is to change to assertion to check for both POINTER_TYPE and
REFERENCE_TYPE.


-- 
           Summary: C++ compiler can no longer compile dealII for
                    VSX/Altivec vectorization
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: meissner at gcc dot gnu dot org
        ReportedBy: meissner at gcc dot gnu dot org
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


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

Reply via email to