This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bitfield initialization
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Macleod <amacleod at cygnus dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 17 Nov 2001 20:33:28 -0800
- Subject: Re: bitfield initialization
- References: <200111161541.HAA29613@rtl.cygnus.com>
[Get raw message]
On Fri, Nov 16, 2001 at 07:41:00AM -0800, Andrew Macleod wrote:
> This will result in the NaT bit being incorrectly propagated. Presumably
> this can be an issue on PA as well... ?
Nope, just ia64.
> ! /* Clear the destination before we move anything into it. */
> ! emit_insn (gen_rtx_SET (VOIDmode, dst,
> ! CONST0_RTX (GET_MODE (dst))));
Use emit_move_insn. Otherwise ok.
r~