[Bug c/42927] New: type mismatch in shift expression produces ice with -O3

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 1 19:38:00 GMT 2010


I just tried to compile the package scsires-0.7-4.7 with the GNU
C compiler version 4.5 snapshot 20100128 and the compiler said

scsires.c: In function 'scsires_issue_reservation':
scsires.c:911:1: error: type mismatch in shift expression
vector unsigned int
vector <unnamed type>
int
vect_var_.289_442 = vect_perm_odd.250_390 >> 16;

then

scsires.c:911:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O3 required.
It compiles fine with -O2.


-- 
           Summary: type mismatch in shift expression produces ice with -O3
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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



More information about the Gcc-bugs mailing list