summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/alpha.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-21 06:29:37 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-21 06:29:37 +0000
commit9c8e84c114e2130aafed9f2cc6caf8be16aae852 (patch)
treea8a55bae1a9b759bdd13fc11ce4cba76d4a3b737 /gcc/config/alpha/alpha.c
parent961843f3307e8d9e58ba1022830a43cc5b7bd35c (diff)
downloadgcc-9c8e84c114e2130aafed9f2cc6caf8be16aae852.tar.gz
PR tree-optimization/64950
Revert: 2010-08-02 Uros Bizjak <ubizjak@gmail.com> PR target/41089 * config/alpha/alpha.c (alpha_build_builtin_va_list): Mark __offset as volatile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/alpha.c')
-rw-r--r--gcc/config/alpha/alpha.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 67c15dc3368..6f797b3d688 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -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"),