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/48358] New: TREE_ADDRESSABLE overloading issues


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

           Summary: TREE_ADDRESSABLE overloading issues
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: middle-end
        AssignedTo: rguenth@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org


/* Do not change TREE_ADDRESSABLE if we need to preserve var as
         a non-register.  Otherwise we are confused and forget to
         add virtual operands for it.  */
      && (!is_gimple_reg_type (TREE_TYPE (var))
          || !bitmap_bit_p (not_reg_needs, DECL_UID (var))))

is causing alias analysis issues.  We overload "address-taken" and
"lives-in-memory" with a single flag.  Also causes issues like PR48335.

We should finally split this flag.


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