This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 04/14/2010 05:23 PM, Richard Guenther wrote:
Earlier you were arguing that storing the float into the union is ok because there's a character array member inside.
As in this testcase? Yes, I believe so. And the float-ness transfers to 'b' because union assignment is equivalent to memcpy.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |