diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-24 16:25:44 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-24 16:25:44 +0000 |
commit | 4644b59321661f7641c3d2a3816c811d8cb1de2f (patch) | |
tree | ddaa06506f828f6ab35f493e688951e5b042fbdf /gcc/tree.def | |
parent | c4d85af9120b0f854cf24f7124c0b5c82d939c71 (diff) | |
download | linaro-gcc-4644b59321661f7641c3d2a3816c811d8cb1de2f.tar.gz linaro-gcc-4644b59321661f7641c3d2a3816c811d8cb1de2f.tar.bz2 linaro-gcc-4644b59321661f7641c3d2a3816c811d8cb1de2f.zip |
2013-08-24 Tobias Burnus <burnus@net-b.de>
PR other/33426
* c-pragma.c (init_pragma) Add #pragma ivdep handling.
* c-pragma.h (pragma_kind): Add PRAGMA_IVDEP.
PR other/33426
* c-parser.c (c_parser_pragma, c_parser_for_statement):
Handle PRAGMA_IVDEP.
(c_parser_statement_after_labels): Update call.
PR other/33426
* tree-cfg.c (replace_loop_annotate): New function.
(execute_build_cfg): Call it.
* gimplify.c (gimple_boolify, gimplify_expr): Handle
* ANNOTATE_EXPR.
* internal-fn.c (expand_ANNOTATE): New function.
* internal-fn.def (ANNOTATE): Define as new internal function.
* tree-core.h (tree_node_kind): Add annot_expr_ivdep_kind.
* tree-pretty-print.c (dump_generic_node): Handle ANNOTATE_EXPR.
* tree.def (ANNOTATE_EXPR): New DEFTREECODE.
* doc/extend.texi (Pragmas): Document #pragma ivdep.
* doc/generic.texi (Expressions): Document ANNOTATE_EXPR.
PR other/33426
* testsuite/gcc.dg/ivdep.c: New.
* testsuite/gcc.dg/vect/vect-ivdep-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204021 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index 88c850af120..9bd1b3d21c2 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -1261,6 +1261,12 @@ DEFTREECODE (OPTIMIZATION_NODE, "optimization_node", tcc_exceptional, 0) /* TARGET_OPTION_NODE. Node to store the target specific options. */ DEFTREECODE (TARGET_OPTION_NODE, "target_option_node", tcc_exceptional, 0) +/* ANNOTATE_EXPR. + Operand 0 is the expression to be annotated. + Operand 1 is the annotation id. */ +DEFTREECODE (ANNOTATE_EXPR, "annotate_expr", tcc_expression, 2) + + /* Local variables: mode:c |