[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Tue May 23 21:43:00 GMT 2006



------- Comment #7 from pinskia at physics dot uc dot edu  2006-05-23 21:42 -------
Subject: Re:  [4.1/4.2 Regression] internal compiler error: no-op convert from
4 to 8 bytes in initializer

> 
> 
> 
> ------- Comment #6 from bero at arklinux dot org  2006-05-23 21:41 -------
> It is creative offsetof indeed -- this a "explanation" from a bit of code
> referenced to this one [while it isn't free yet, its license does allow posting
> bits of it online]:
> Looks like someone was desperate to get his stuff to compile with -Werror
> without having to fix the cause.

Well it is undefined for non-PODs to do offsetof which is why GCC warns.

-- Pinski


-- 


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



More information about the Gcc-bugs mailing list