[Bug c/17384] [3.4/4.0 Regression] ICE with mode attribute on structures
rth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 13 18:13:00 GMT 2004
------- Additional Comments From rth at gcc dot gnu dot org 2004-10-13 18:13 -------
Working on a fix for the ICE, but I'll warn you that this construct is
erroneous. You don't get to choose the mode for a structure; that's
determined by the layout routines.
As for your hardware registers, no there's no way to do this with a
structure. You'll need to explicitly read these registers with an
integer type. You might look into the transparent union extension
that would let you cast between integer and structure types.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17384
More information about the Gcc-bugs
mailing list