[Bug tree-optimization/67199] New: ICE with compile bug related to vector_size

zhongyunde at huawei dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 13 02:30:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67199

            Bug ID: 67199
           Summary: ICE with compile bug related to vector_size
           Product: gcc
           Version: 4.9.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhongyunde at huawei dot com
  Target Milestone: ---

testcase:

__attribute__ ((vector_size (16))) g_73 = {0x15FE687EL, 0x5827DF98L,
0xF8411272L, 0x235E695EL};
__attribute__ ((vector_size (16))) g_1124;

int func_1(void)
{  
    __attribute__ ((vector_size (16))) l_1117 = {0x15FE688EL, 0x5827DF98L,
0xF8411272L, 0x235E695EL};
    __attribute__ ((vector_size (16))) zhong = ( g_73 <= g_73);
         g_1124 = (((g_73 < l_1117) == (zhong)) << 9)    ;

    return 0;
}

the following issue can be reproduced  with -O2 when the gcc built on 64 bits
system.

internal compiler error: in fold_convert_loc, at fold-const.c:1974
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions



More information about the Gcc-bugs mailing list