This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/25737] [4.1/4.2 Regression] ACATS tests c974001 and c974013 do not terminate with struct aliasing
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2006 18:24:24 -0000
- Subject: [Bug tree-optimization/25737] [4.1/4.2 Regression] ACATS tests c974001 and c974013 do not terminate with struct aliasing
- References: <bug-25737-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from ebotcazou at gcc dot gnu dot org 2006-03-23 18:24 -------
> The tree aliasing machinery appears to totally overlook the flag
>
> /* Used in a FIELD_DECL to indicate that we cannot form the address of
> this component. */
> #define DECL_NONADDRESSABLE_P(NODE) \
> (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_3)
Another one. :-)
/* For an ARRAY_TYPE, indicates that it is not permitted to
take the address of a component of the type. */
#define TYPE_NONALIASED_COMPONENT(NODE) \
(ARRAY_TYPE_CHECK (NODE)->type.transparent_union_flag)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25737