pr31579.C: Cast pointer via __SIZE_TYPE__ instead of 'unsigned long'.
2009-06-10 Kai Tietz <kai.tietz@onevision.com> * g++.dg/torture/pr31579.C: Cast pointer via __SIZE_TYPE__ instead of 'unsigned long'. From-SVN: r148342
This commit is contained in:
parent
412ac8d55e
commit
c9edd8f4cf
@ -1,3 +1,8 @@
|
||||
2009-06-10 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* g++.dg/torture/pr31579.C: Cast pointer
|
||||
via __SIZE_TYPE__ instead of 'unsigned long'.
|
||||
|
||||
2009-06-10 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* testsuite/lib/target-supports.exp (check_profiling_available):
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user