public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/37248] [4.4 Regression] regression transformation bitfield to individual bytes Date: Fri, 05 Dec 2008 17:02:00 -0000 [thread overview] Message-ID: <20081205170105.19235.qmail@sourceware.org> (raw) In-Reply-To: <bug-37248-1034@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from jakub at gcc dot gnu dot org 2008-12-05 17:01 ------- Subject: Bug 37248 Author: jakub Date: Fri Dec 5 16:59:34 2008 New Revision: 142484 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142484 Log: PR middle-end/37248 * fold-const.c (make_bit_field_ref): Change bitpos and bitsize arguments to HOST_WIDE_INT. If type has different signedness than unsignedp or different precision from bitsize, create the right type for BIT_FIELD_REF and cast to type. (fold_truthop): Change first_bit and end_bit to HOST_WIDE_INT. Revert: 2008-03-05 Richard Guenther <rguenther@suse.de> PR c++/35336 * fold-const.c (fold_truthop): Remove code generating BIT_FIELD_REFs of structure bases. (fold_binary): Likewise. (make_bit_field_ref): Remove. (optimize_bit_field_compare): Remove. (all_ones_mask_p): Remove. * gcc.target/i386/pr37248-1.c: New test. * gcc.target/i386/pr37248-2.c: New test. * gcc.target/i386/pr37248-3.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr37248-1.c trunk/gcc/testsuite/gcc.target/i386/pr37248-2.c trunk/gcc/testsuite/gcc.target/i386/pr37248-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37248
next prev parent reply other threads:[~2008-12-05 17:02 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-08-26 22:47 [Bug middle-end/37248] New: regression 4.3.1 -> 4.3.2-rc " etienne_lorrain at yahoo dot fr 2008-08-26 22:51 ` [Bug middle-end/37248] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org 2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org 2008-08-28 16:30 ` jakub at gcc dot gnu dot org 2008-09-01 7:18 ` jakub at gcc dot gnu dot org 2008-09-01 11:20 ` rguenth at gcc dot gnu dot org 2008-09-01 11:35 ` jakub at gcc dot gnu dot org 2008-09-01 20:30 ` [Bug middle-end/37248] [4.4 " etienne_lorrain at yahoo dot fr 2008-09-09 20:25 ` [Bug middle-end/37248] [4.4 Regression] regression " jsm28 at gcc dot gnu dot org 2008-12-05 17:02 ` jakub at gcc dot gnu dot org [this message] 2008-12-05 17:03 ` jakub at gcc dot gnu dot org 2008-12-27 5:32 ` pinskia 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=20081205170105.19235.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: linkBe 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).