[Bug rtl-optimization/33846] [4.3 Regression] ICE in trunc_int_for_mode, at explow.c:55

irar at il dot ibm dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 21 11:02:00 GMT 2007



------- Comment #4 from irar at il dot ibm dot com  2007-10-21 11:02 -------
The problem is with vector shift with scalar shift argument. 
For the code created by the vectorizer:
  vect_var_.49_103 = ~vect_var_.47_101;
  vect_var_.50_105 = vect_var_.49_103 >> 31;

(ashiftrt:V4SI (not:V4SI (reg:V4SI 100))
    (const_int 31 [0x1f]))
is created.

The failure is in
explow.c:55  gcc_assert (SCALAR_INT_MODE_P (mode)); 
since MODE is V4SImode.

Ira


-- 

irar at il dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-10-21 11:02:08
               date|                            |


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



More information about the Gcc-bugs mailing list