view gcc/testsuite/gcc.c-torture/compile/20070522-1.c @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +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;
}