view gcc/testsuite/gcc.c-torture/compile/20070522-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-options "-Wno-psabi" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */

/* This was PR 31606, we were trying to use TImode to expand the
   struct copy in SRA but TImode is not support on ia32. */

struct Collision {
   int edge;
   int triangle;
  float _M_instance[3] __attribute__((__aligned__));
};
void  get_collisions(struct Collision a) {
  struct Collision b = a;
}