From be97d4b6c7cb17863a36b86d933a1d6cf52bb919 Mon Sep 17 00:00:00 2001 From: rguenth Date: Fri, 14 Jan 2011 15:02:20 +0000 Subject: 2011-01-14 Richard Guenther PR tree-optimization/47179 * target.def (ref_may_alias_errno): New target hook. * targhooks.h (default_ref_may_alias_errno): Declare. * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. (default_ref_may_alias_errno): New function. * target.h (struct ao_ref_s): Declare. * tree-ssa-alias.c: Include target.h. (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. * Makefile.in (tree-ssa-alias.o): Adjust dependencies. (targhooks.o): Likewise. * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168788 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/target.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/target.h') diff --git a/gcc/target.h b/gcc/target.h index f93699ffb1b..eaf7aadd707 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -100,6 +100,9 @@ struct ddg; /* This is defined in cfgloop.h . */ struct loop; +/* This is defined in tree-ssa-alias.h. */ +struct ao_ref_s; + /* Assembler instructions for creating various kinds of integer object. */ struct asm_int_op -- cgit v1.2.1