[Bug c++/31579] ICE when compiling attached code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 16 06:56:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-16 07:56 -------
Reduced testcase:
struct Industry {
unsigned char produced_cargo[2];
};
unsigned int a = (((unsigned long)&reinterpret_cast<const volatile
char&>((((Industry*)(char*)8)->produced_cargo[0]))) - 8);
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31579
More information about the Gcc-bugs
mailing list