[Bug tree-optimization/40425] New: [4.5 Regression]

dominiq at lps dot ens dot fr gcc-bugzilla@gcc.gnu.org
Fri Jun 12 12:08:00 GMT 2009


Compiling /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c
with -O3 gives the following ICE:

[karma] f90/bug% gcc45 -O3
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c: In function
'foo':
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c:22:1: error:
invalid conversion in gimple call
vector short unsigned int

__vector signed short

# .MEM_88 = VDEF <.MEM_86>
vect_var_.109_70 = __builtin_altivec_vmuleub (vect_var_.108_69,
vect_var_.103_64);

/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c:22:1: error:
invalid conversion in gimple call
vector short unsigned int

__vector signed short

# .MEM_89 = VDEF <.MEM_88>
vect_var_.109_71 = __builtin_altivec_vmuloub (vect_var_.108_69,
vect_var_.103_64);

/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c:22:1:
internal compiler error: verify_stmts failed

The test compiles and executes with gcc 4.4.0 and 4.4.1 (r147910).


-- 
           Summary: [4.5 Regression]
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: powerpc-apple-darwin9
  GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9


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



More information about the Gcc-bugs mailing list