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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [opt/] [asm1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/6747
2
// { dg-do compile }
3
// { dg-options "-O" }
4
 
5
void foo()
6
{
7
  union { double d; char c[sizeof(double)]; } tmp;
8
  __asm__ ("" : "=m" (tmp.d));  // { dg-bogus "not directly addressable" "double sized union element should be addressible" { xfail xstormy16-*-* } }
9
}

powered by: WebSVN 2.1.0

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