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

            Bug ID: 66931
           Summary: ICE in convert_move, at expr.c:316
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan.sm...@alcatel-lucent.com
  Target Milestone: ---

Compile with -xc++ -w   -m32 -gdwarf-4 -mno-sse test.cpp
Likely related/identical to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66920


typedef long v2di __attribute__((vector_size(16)));
struct tcounter;
int table;
void __attribute__((__always_inline__))
counter(tcounter *self, long, long) {
  *(v2di *)self + v2di{};
}

typedef struct { short total_len; } t_ing;
bool __attribute__((target("sse4.2"))) test_sp() {
  t_ing var;
  counter((tcounter *)table, 1,
                  var.total_len);
}

Reply via email to