[Bug c++/23799] [4.1 regression] ICE: no-op convert from 8 to 4 bytes in initializer

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 14 17:45:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-14 17:45 -------
Caused by:
http://gcc.gnu.org/ml/gcc-cvs/2005-09/msg00040.html



Reduced testcase:
struct Track {
  char soundName[15];
};
int foobar = ((long) (& ((Track *) 42)->soundName[0])) - 42;

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|*64-*-*                     |64bit targets


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23799



More information about the Gcc-bugs mailing list