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 c/14924] New: Compiler ICE on valid code


There is a problem with NE rtl handling for powerpc e500 target on the latest
3.4 pre-release.
This little program, seg faults the compiler:
#include <spe.h>

__ev64_u16__ * g_vp_u16 ;
__ev64_u16__ g_v_u16 ;

void
test___ev_stdd (void)
{
  __ev_stdd (g_v_u16,g_vp_u16,31U);
}

Command line was:
gcc-3.4-20040406/bin/gcc -O1 -S x.c -save-temps

Here is the output:
x.c: In function `test___ev_stdd':
x.c:9: internal compiler error: in copy_to_mode_reg, at explow.c:667
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Several benchmarks in spec2k have problems. Perlbmk also ICE:
op.c: In function `list_assignment':
op.c:2552: error: unrecognizable insn:
(insn:HI 257 256 258 18 (set (reg:CCEQ 212)
       (compare:CCEQ (gtu:SI (reg:CCUNS 211)
               (const_int 0 [0x0]))
           (const_int 0 [0x0]))) -1 (nil)
   (expr_list:REG_DEAD (reg:CCUNS 211)
       (nil)))
op.c:2552: internal compiler error: in extract_insn, at recog.c:2083

-- 
           Summary: Compiler ICE on valid code
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: edmar at motorola dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnuspe


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


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