OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [pr48226.c] - Rev 691

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O3 -mcpu=power7" } */
 
/* The bug shows up if you compile with -maltivec or -mcpu=power7, due to one
   of the vector's being eliminated due to rs6000_macro_to_expand being called
   recursively.  */
 
struct vector {
  float v[4];
};
 
struct vector vector = { 1.0, 2.0, 3.0, 4.0 };
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.