aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-01-26 07:20:53 -0800
committerRichard Henderson <rth@gcc.gnu.org>2005-01-26 07:20:53 -0800
commit6f642f985272e36ec5bac248a65e912605727337 (patch)
tree2bf5d70375fa0bc54fd1069c76adcd376923ad97 /gcc/tree.h
parentead553a1d9f9206c1f5a3b1a6799ea877fc9a845 (diff)
downloadgcc-6f642f985272e36ec5bac248a65e912605727337.zip
gcc-6f642f985272e36ec5bac248a65e912605727337.tar.gz
gcc-6f642f985272e36ec5bac248a65e912605727337.tar.bz2
re PR middle-end/19515 (Violation of C99 6.7.8 ยง21 for unions)
PR middle-end/19515 * expr.c (categorize_ctor_elements): New argument p_must_clear. (categorize_ctor_elements_1): Likewise. Detect a union that isn't fully initialized. (mostly_zeros_p): Update for new categorize_ctor_elements argument. * gimplify.c (gimplify_init_constructor): Likewise. Only shove objects into static storage if they have more than one non-zero value. * tree.h (categorize_ctor_elements): Update decl. From-SVN: r94266
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 884f2c4..65e660f 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3235,8 +3235,8 @@ extern int fields_length (tree);
extern bool initializer_zerop (tree);
-extern void categorize_ctor_elements (tree, HOST_WIDE_INT *,
- HOST_WIDE_INT *, HOST_WIDE_INT *);
+extern void categorize_ctor_elements (tree, HOST_WIDE_INT *, HOST_WIDE_INT *,
+ HOST_WIDE_INT *, bool *);
extern HOST_WIDE_INT count_type_elements (tree);
/* add_var_to_bind_expr (bind_expr, var) binds var to bind_expr. */