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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [vector2.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/23337; caused an ICE in component_ref_field_offset
2
// { dg-options "" }
3
// { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
4
// { dg-prune-output "mangled name" }
5
typedef int vec __attribute__ ((vector_size (8)));
6
extern int bar (vec);
7
int
8
foo (int i)
9
{
10
  vec a[] = { (vec) { 0, i }, (vec) { 4, 5 } };
11
  return bar (a[0]) + bar (a[1]);
12
}

powered by: WebSVN 2.1.0

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