]> git.ipfire.org Git - thirdparty/gcc.git/commit
alias.c (get_alias_set): Add support for TYPE_REF_CAN_ALIAS_ALL.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue, 23 Mar 2004 20:43:44 +0000 (20:43 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 23 Mar 2004 20:43:44 +0000 (15:43 -0500)
commit22421b79c8da16dd6dccb2232c1da6096590e525
tree78c56d654a5d59c1b915116b930d92efc18f678e
parent95e59f1ada8f85e0aff9bff2748e5c8a763daae3
alias.c (get_alias_set): Add support for TYPE_REF_CAN_ALIAS_ALL.

* alias.c (get_alias_set): Add support for TYPE_REF_CAN_ALIAS_ALL.
* c-common.c (handle_mode_attribute): Add extra arg to
build_pointer_type_for_mode and build_reference_type_for_mode.
* c-typeck.c (build_c_cast): Only look at TREE_CONSTANT_OVERFLOW
for INTEGER_CST.
* tree.c (build_pointer_type_for_mode): Add arg CAN_ALIAS_ALL.
Chain pointers via TYPE_NEXT_PTR_TO.
(build_reference_type_for_mode): Similarly.
(build_type_no_quals): Add extra arg to build_pointer_type_for_mode
and build_reference_type_for_mode.
(tree_check4_failed): New function.
* tree.h (TREE_CHECK4, PTR_OR_REF_CHECK): New macros.
(TYPE_REF_CAN_ALIAS_ALL, TYPE_NEXT_PTR_TO, TYPE_NEXT_REF_TO): Likewise.
(TREE_NO_UNSUED_WARNING, TREE_VIA_VIRTUAL, TREE_CONSTANT_OVERFLOW):
Add check.

* cp/typeck.c (build_c_cast): Only look at TREE_CONSTANT_OVERFLOW
for INTEGER_CST.

* ada/decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value
of No_Strict_Aliasing to build_pointer_type_for_mode.
* ada/utils.c (update_pointer_to): Walk pointer and ref chains.

From-SVN: r79873
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/utils.c
gcc/alias.c
gcc/c-common.c
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/tree.c
gcc/tree.h