Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1857)

Unified Diff: gcc/gcc/testsuite/g++.dg/torture/pr31579.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/typedef20.C ('k') | gcc/gcc/testsuite/g++.dg/torture/pr36191.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.dg/torture/pr31579.C
diff --git a/gcc/gcc/testsuite/g++.dg/torture/pr31579.C b/gcc/gcc/testsuite/g++.dg/torture/pr31579.C
index 1effa66d25ca519b4d5fe61c1439c22fbdf1dd23..131532e63604826811ea31396b60f1819e2ad7ef 100644
--- a/gcc/gcc/testsuite/g++.dg/torture/pr31579.C
+++ b/gcc/gcc/testsuite/g++.dg/torture/pr31579.C
@@ -5,6 +5,6 @@
struct Industry {
unsigned char produced_cargo[2];
};
-unsigned int a = (((unsigned long)&reinterpret_cast<const volatile
+unsigned int a = (((__SIZE_TYPE__)&reinterpret_cast<const volatile
char&>((((Industry*)(char*)8)->produced_cargo[0]))) - 8);
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/typedef20.C ('k') | gcc/gcc/testsuite/g++.dg/torture/pr36191.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698