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