[PATCH] Re: 14 GCC HEAD regressions, 5 new, with your patch on 2004-04-05T12:48:20Z.
Andrew Pinski
pinskia@physics.uc.edu
Mon Apr 5 22:29:00 GMT 2004
On Apr 5, 2004, at 18:16, GCC regression checker wrote:
> With your recent patch, GCC HEAD has some regression test failures,
> which used to pass. There are 5 new failures, and 9
> failures that existed before and after that patch; 0 failures
> have been fixed.
>
> The new failures are:
> native g++.sum g++.dg/ext/altivec-1.C
> native gcc.sum gcc.dg/altivec-2.c
> native gcc.sum gcc.dg/altivec-4.c
> native gcc.sum gcc.dg/altivec-7.c
> native gcc.sum gcc.dg/altivec-8.c
These regressions were introduced by:
+2004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * c-decl.c (build_compound_literal): Use TYPE_READONLY.
+ * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
+ * objc/objc-act.c (adorn_decl, gen_declspecs): Likewise.
+ * c-typeck.c (decl_constant_value): Don't access DECL_INITIAL of a
+ PARM_DECL.
+ * calls.c (flags_from_decl_or_type): Use TYPE_READONLY and do so only
+ for a type.
+ * print-tree.c (print_node): Properly handle side-effects, readonly,
+ and constant flags.
+ * tree.c (build1_stat, build_expr_wfl): Only look at TREE_SIDE_EFFECTS
+ and TREE_CONSTANT if not a type.
+ * tree.h (IS_NON_TYPE_CODE_CLASS): New macro.
+ (IS_EXPR_CODE_CLASS): Write 'E', not 'e'.
+ (NON_TYPE_CHECK): New macro.
+ (TREE_SIDE_EFFECT, TREE_READONLY, TREE_CONSTANT: Add check.
This patch fixes the forgotten to patch reconstruct_complex_type with
the updated macros.
Thanks,
Andrew Pinski
ChangeLog:
* tree.c (reconstruct_complex_type): Use TYPE_READONLY
and TYPE_VOLATILE.
Index: tree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.c,v
retrieving revision 1.365
diff -u -p -r1.365 tree.c
--- tree.c 5 Apr 2004 12:25:00 -0000 1.365
+++ tree.c 5 Apr 2004 22:28:16 -0000
@@ -5344,8 +5344,8 @@ reconstruct_complex_type (tree type, tre
else
return bottom;
- TREE_READONLY (outer) = TREE_READONLY (type);
- TREE_THIS_VOLATILE (outer) = TREE_THIS_VOLATILE (type);
+ TYPE_READONLY (outer) = TYPE_READONLY (type);
+ TYPE_VOLATILE (outer) = TYPE_VOLATILE (type);
return outer;
}
More information about the Gcc-patches
mailing list