Commit 9a776a83 by Kai Tietz Committed by Kai Tietz

* g++.dg/torture/20121105-1.C: Adjust for LLP64 targets.

From-SVN: r197034
parent 9216baf1
2013-03-25 Kai Tietz <ktietz@redhat.com>
* g++.dg/torture/20121105-1.C: Adjust for LLP64 targets.
2013-03-24 Tobias Burnus <burnus@net-b.de> 2013-03-24 Tobias Burnus <burnus@net-b.de>
PR fortran/56696 PR fortran/56696
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
// Reported by Remi Vanicat <vanicat@debian.org> // Reported by Remi Vanicat <vanicat@debian.org>
// Reduced testcase by Markus Trippelsdorf <markus@trippelsdorf.de> // Reduced testcase by Markus Trippelsdorf <markus@trippelsdorf.de>
__extension__ typedef __INTPTR_TYPE__ intptr_t;
struct A; struct A;
struct B struct B
{ {
...@@ -25,7 +27,7 @@ struct D ...@@ -25,7 +27,7 @@ struct D
}; };
D c(0); D c(0);
const long d = (long)&c; const intptr_t d = (intptr_t)&c;
B *const e = (B *)&d; B *const e = (B *)&d;
static bool static bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment