This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/53438] [4.7/4.8 Regression] Bitfield store replaced with full-byte store


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]