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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr31579.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
// middle-end/31579
3
// Expand was crashing while expanding the tree for the initializer
4
 
5
struct Industry {
6
 unsigned char produced_cargo[2];
7
};
8
unsigned int a = (((__SIZE_TYPE__)&reinterpret_cast
9
char&>((((Industry*)(char*)8)->produced_cargo[0]))) - 8);
10
 

powered by: WebSVN 2.1.0

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