public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/18008] [4.0 Regression] Duplicate mask on bitfield insertion
Date: Wed, 26 Jan 2005 23:18:00 -0000	[thread overview]
Message-ID: <20050126231825.32485.qmail@sourceware.org> (raw)
In-Reply-To: <20041015091714.18008.nathan@gcc.gnu.org>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-26 23:18 -------
Subject: Bug 18008

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-01-26 23:18:15

Modified files:
	gcc            : ChangeLog c-decl.c expmed.c expr.c 

Log message:
	PR middle-end/18008
	* c-decl.c (finish_struct): Set DECL_MODE after resetting a
	field's type.
	* expmed.c (store_fixed_bit_field): Create a paradoxical subreg
	if we don't need the bits above those present in the current mode.
	* expr.c (store_field): Strip conversions to odd-bit-sized types
	if the destination field width matches.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7292&r2=2.7293
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.623&r2=1.624
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcc&r1=1.218&r2=1.219
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&r1=1.773&r2=1.774



-- 


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


  parent reply	other threads:[~2005-01-26 23:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-15  9:17 [Bug c/18008] New: " nathan at gcc dot gnu dot org
2004-10-15 12:46 ` [Bug middle-end/18008] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-15 15:03 ` bangerth at dealii dot org
2004-10-15 16:42 ` kazu at cs dot umass dot edu
2004-10-15 16:55 ` kazu at cs dot umass dot edu
2004-10-15 21:18 ` kazu at cs dot umass dot edu
2004-10-16  3:46 ` kazu at cs dot umass dot edu
2004-10-16  3:50 ` kazu at cs dot umass dot edu
2004-10-16  4:05 ` pinskia at gcc dot gnu dot org
2004-10-17 19:02 ` roger at eyesopen dot com
2004-12-23 16:05 ` pinskia at gcc dot gnu dot org
2005-01-22 10:05 ` bonzini at gcc dot gnu dot org
2005-01-26  1:55 ` steven at gcc dot gnu dot org
2005-01-26  2:13 ` steven at gcc dot gnu dot org
2005-01-26 18:11 ` rth at gcc dot gnu dot org
2005-01-26 20:30 ` cvs-commit at gcc dot gnu dot org
2005-01-26 23:18 ` cvs-commit at gcc dot gnu dot org [this message]
2005-01-27  0:08 ` cvs-commit at gcc dot gnu dot org
2005-01-27  0:13 ` rth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050126231825.32485.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).