Comment 0 for bug 1013209

Revision history for this message
Ken Werner (kwerner) wrote :

The current Linaro GCC 4.6 has an ICE when compilint Qt in case neon support is enabled:
  gcc -fpreprocessed -c testcase.i -march=armv7-a -mfloat-abi=hard -mfpu=neon -O1
  testcase.i: In function 'foo':
  testcase.i:7:29: internal compiler error: in expand_expr_real_1, at expr.c:8936
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <http://gcc.gnu.org/bugs.html> for instructions.

Here's a reduced testcase (thanks Uli):
  $ cat testcase.i
  void foo (void)
  {
    __builtin_neon_hi buffer[2048];
    int f;

    for (f = 0; f < 128; f += 8)
      __builtin_neon_vst1v8hi (&buffer[f], (__builtin_neon_hi __attribute__ ((__vector_size__ (16)))) {0});
  }