The tests pr23816-1.c and vect-111.c (from gcc.dg/vect) generate an ICE when
compiled with -fno-trapping-math for rs6000:

$ gcc pr23816-1.c -fno-trapping-math -ftree-vectorize -maltivec -O2
pr23816-1.c: In function 'foo':
pr23816-1.c:9: internal compiler error: in rs6000_emit_vector_compare, at
config/rs6000/rs6000.c:11962
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gcc vect-111.c -fno-trapping-math -ftree-vectorize -maltivec -O2
vect-111.c: In function 'main1':
vect-111.c:19: internal compiler error: in rs6000_emit_vector_compare, at
config/rs6000/rs6000.c:11962
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$

I have a patch for this that I'll submit...


-- 
           Summary: ICE in rs6000_emit_vector_compare when building with -
                    fno-trapping-math
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jconner at apple dot com
  GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8


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

Reply via email to