Hello!

Now that PR 64950 is fixed, we can safely remove PR 41089 workaround.

2015-04-21  Uros Bizjak  <ubiz...@gmail.com>

        PR tree-optimization/64950
        Revert:
        2010-08-02  Uros Bizjak  <ubiz...@gmail.com>

        PR target/41089
        * config/alpha/alpha.c (alpha_build_builtin_va_list): Mark __offset
        as volatile.

Patch was bootstrapped and regression tested on alphaev68-linux-gnu
and committed to mainline SVN.

Uros.
Index: config/alpha/alpha.c
===================================================================
--- config/alpha/alpha.c        (revision 222227)
+++ config/alpha/alpha.c        (working copy)
@@ -5957,10 +5957,6 @@ alpha_build_builtin_va_list (void)
                    integer_type_node);
   DECL_FIELD_CONTEXT (ofs) = record;
   DECL_CHAIN (ofs) = space;
-  /* ??? This is a hack, __offset is marked volatile to prevent
-     DCE that confuses stdarg optimization and results in
-     gcc.c-torture/execute/stdarg-1.c failure.  See PR 41089.  */
-  TREE_THIS_VOLATILE (ofs) = 1;
 
   base = build_decl (BUILTINS_LOCATION,
                     FIELD_DECL, get_identifier ("__base"),

Reply via email to