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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr47968.c] - Blame information for rev 754

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-w -Wno-psabi" } */
3
 
4
typedef __attribute__ ((vector_size (16))) float float4;
5
typedef __attribute__ ((vector_size (16))) double double2;
6
 
7
float foo (double2 d2)
8
{
9
  float4 f4 = (float4) d2;
10
  return *(float *) &f4;
11
}

powered by: WebSVN 2.1.0

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