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 tree-optimization/50902] [4.7 Regression] intVar/dinternal.cc ICEs at -O2 -ftree-vectorize


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

Ira Rosen <irar at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-11-01
                 CC|                            |irar at il dot ibm.com
     Ever Confirmed|0                           |1

--- Comment #7 from Ira Rosen <irar at il dot ibm.com> 2011-11-01 08:25:08 UTC ---
Reduced testcase:

_Bool data[128];
void foo (_Bool *init)
{
 int i;
 for (i = 0; i < 128; i++)
   data[i] = *init;
}


gcc_checking_assert (types_compatible_p (TYPE_MAIN_VARIANT (TREE_TYPE (sc)),
                                           TREE_TYPE (vectype)));

fails since VECTYPE is vector(16) <unnamed-unsigned:8>
and the scalar type is _Bool


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