From 76ee6ef25ed246ce903c8a9bd5448d73992a103f Mon Sep 17 00:00:00 2001 From: dnovillo Date: Fri, 16 May 2008 13:40:25 +0000 Subject: [PATCH] 2008-05-16 Nathan Froyd * doc/gty.texi (Source Files Containing Type Information): Note that headers should appear first in the gtfiles list. 2008-05-16 Kenneth Zadeck * tree.def (COND_EXEC): Properly documented this code. 2008-05-16 Diego Novillo * dwarf2asm.c (dw2_assemble_integer): Clarify comment. * tree-nested.c (get_trampoline_type): Set DECL_CONTEXT for the new field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135420 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 15 +++++++++++++++ gcc/doc/gty.texi | 1 + gcc/dwarf2asm.c | 2 +- gcc/tree-nested.c | 1 + gcc/tree.def | 5 ++++- 5 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9208cc6888f..93ff3b70cf2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,18 @@ +2008-05-16 Nathan Froyd + + * doc/gty.texi (Source Files Containing Type Information): Note + that headers should appear first in the gtfiles list. + +2008-05-16 Kenneth Zadeck + + * tree.def (COND_EXEC): Properly documented this code. + +2008-05-16 Diego Novillo + + * dwarf2asm.c (dw2_assemble_integer): Clarify comment. + * tree-nested.c (get_trampoline_type): Set DECL_CONTEXT for + the new field. + 2008-05-16 Kenneth Zadeck * tree-ssa-dse (max_stmt_uid): Removed. diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index c063d0184e3..624408fc556 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -416,6 +416,7 @@ For files shared by all front ends, add the filename to the For files that are part of one front end, add the filename to the @code{gtfiles} variable defined in the appropriate @file{config-lang.in}. For C, the file is @file{c-config-lang.in}. +Headers should appear before non-headers in this list. @item For files that are part of some but not all front ends, add the diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index 552bf170218..a6ed8740a59 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -62,7 +62,7 @@ dw2_assemble_integer (int size, rtx x) } -/* Output an immediate constant in a given size. */ +/* Output an immediate constant in a given SIZE in bytes. */ void dw2_asm_output_data (int size, unsigned HOST_WIDE_INT value, diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index 8588e303d28..e3330032c03 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -433,6 +433,7 @@ get_trampoline_type (void) TYPE_NAME (trampoline_type) = get_identifier ("__builtin_trampoline"); TYPE_FIELDS (trampoline_type) = t; layout_type (trampoline_type); + DECL_CONTEXT (t) = trampoline_type; return trampoline_type; } diff --git a/gcc/tree.def b/gcc/tree.def index 7eb55b647b5..73bf70904c9 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -493,7 +493,10 @@ DEFTREECODE (TARGET_EXPR, "target_expr", tcc_expression, 4) Operand 1 must have the same type as the entire expression, unless it unconditionally throws an exception, in which case it should have VOID_TYPE. The same constraints apply to operand 2. The - condition in operand 0 must be of integral type. */ + condition in operand 0 must be of integral type. + + In cfg gimple, if you do not have a selection expression, operands + 1 and 2 are NULL. The operands are then taken from the cfg edges. */ DEFTREECODE (COND_EXPR, "cond_expr", tcc_expression, 3) /* Vector conditional expression. It is like COND_EXPR, but with -- 2.11.4.GIT