]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-alias.c
c-common.c (struct c_common_attributes): Add fnspec attribute.
authorRichard Guenther <rguenther@suse.de>
Mon, 10 May 2010 09:43:17 +0000 (09:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 10 May 2010 09:43:17 +0000 (09:43 +0000)
commit0b7b376d89fcaf1abccf11da606d612d9f4cc378
treedf80e1fff82251162890e6945cab6479837e953a
parent1755aad0945c2f55a23ae98f5f2e19bdce3ed4e7
c-common.c (struct c_common_attributes): Add fnspec attribute.

2010-05-10  Richard Guenther  <rguenther@suse.de>

* c-common.c (struct c_common_attributes): Add fnspec attribute.
(handle_fnspec_attribute): New function.
* gimple.h (gimple_call_return_flags): Declare.
(gimple_call_arg_flags): Likewise.
* gimple.c (gimple_call_arg_flags): New function.
(gimple_call_return_flags): Likewise.
* tree.h (EAF_DIRECT, EAF_NOCLOBBER, EAF_NOESCAPE, EAF_UNUSED):
New argument flags.
(ERF_RETURN_ARG_MASK, ERF_RETURNS_ARG, ERF_NOALIAS): New function
return value flags.
* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Skip unused args.
* tree-ssa-structalias.c (make_constraint_from_heapvar): Split
main work to ...
(make_heapvar_for): ... this new function.
(handle_rhs_call): Handle fnspec attribute argument specifiers.
(handle_lhs_call): Likewise.
(find_func_aliases): Adjust.

fortran/
* trans-decl.c (gfc_build_library_function_decl): Split out
worker to ...
(build_library_function_decl_1): ... this new function.
Set a fnspec attribute if a specification was provided.
(gfc_build_library_function_decl_with_spec): New function.
(gfc_build_intrinsic_function_decls): Annotate internal_pack
and internal_unpack.

From-SVN: r159215
gcc/ChangeLog
gcc/c-common.c
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/gimple.c
gcc/gimple.h
gcc/tree-ssa-alias.c
gcc/tree-ssa-structalias.c
gcc/tree.h