[Bug c++/71586] New: type confusion when bitfields are accessed from templates

gnubugzilla@martin-kaesberger.de gcc-bugzilla@gcc.gnu.org
Sun Jun 19 23:11:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71586

            Bug ID: 71586
           Summary: type confusion when bitfields are accessed from
                    templates
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gnubugzilla@martin-kaesberger.de
  Target Milestone: ---

Created attachment 38727
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38727&action=edit
testcase

When enums are used as bitfields of a struct, the type of a bitfield does not
get resolved when accessed from a template, except the template member is
explicitly accessed with 'this->'.


More information about the Gcc-bugs mailing list