This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53438] [4.7/4.8 Regression] Bitfield store replaced with full-byte store
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 May 2012 14:34:30 +0000
- Subject: [Bug tree-optimization/53438] [4.7/4.8 Regression] Bitfield store replaced with full-byte store
- Auto-submitted: auto-generated
- References: <bug-53438-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53438
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-28 14:34:30 UTC ---
(In reply to comment #14)
> > Anyway, would it be possible to have a testcase for the gcc testsuite too?
>
> I've been trying, but so far haven't been able to come up with anything other
> than the enormous "reduced" testcase. Seems it may require a combination of
> templates and inlining to get the bitfield access in the right form to exhibit
> the bug, but I haven't figured it out yet. Ideas welcome.
Ok, we now have a testcase in the testsuite from the dup PR:
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187931
(and r187932 for 4.7).