Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/opt/asm1.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 // 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 } |