This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/24095] New: use of garbage-collected memory with -ftree-vectorize


GCC mainline for powerpc-linux segfaults when compiling several of the
SPEC CPU2000 tests with "-ftree-vectorize -maltivec -mabi=altivec".
For most of them this happens with both -m32 and -m64.

The minimized test case (to be attached) causes the failure when
compiled with "-O2 -ftree-vectorize -maltivec --param ggc-min-expand=0
--param ggc-min-heapsize=0".  The segfault is in fold_convert with
orig having the value 0xa5a5a5a5.

A reghunt identified the following patch from rth@gcc.gnu.org:

  http://gcc.gnu.org/ml/gcc-cvs/2005-09/msg00635.html

This could be a latent bug, since on one of the systems I use regularly
I was not able to reproduce the failure.

-- 
           Summary: use of garbage-collected memory with -ftree-vectorize
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis187 at us dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
                    org
GCC target triplet: powerpc-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]