This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48358] New: TREE_ADDRESSABLE overloading issues
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 09:17:16 +0000
- Subject: [Bug middle-end/48358] New: TREE_ADDRESSABLE overloading issues
- Auto-submitted: auto-generated
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.