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

--- Comment #12 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2010-11-16 
02:14:06 UTC ---
The test case in http://gcc.gnu.org/bugzilla/attachment.cgi?id=16885 I believe
is wrong.

The structure type(b) has two components, j and c, where c is a single
character not initialized in the test case.  The integer value of c is 0.

The pointer ptr is of type integer and is set to point to the integer component
of the first element of myA.

Because ptr is of type integer, printing returns the integer storage locations.

I will attached a test case that illustrates this a little better.

Reply via email to