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 middle-end/51428] New: Some code after SSA expand does nothing


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51428

             Bug #: 51428
           Summary: Some code after SSA expand does nothing
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pinskia@gcc.gnu.org


While looking into PR 45416, I came across:
    /* Check for |= or &= of a bitfield of size one into another bitfield
       of size 1.  In this case, (unless we need the result of the
       assignment) we can do this more efficiently with a
       test followed by an assignment, if necessary.

>From what I am reading, this code does nothing any more as TREE_CODE (rhs) will
never be BIT_IOR_EXPR or BIT_AND_EXPR.


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