public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/50527] inconsistent vla align
Date: Thu, 13 Oct 2011 11:18:00 -0000	[thread overview]
Message-ID: <bug-50527-4-QCMTMnTnRb@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50527-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50527

--- Comment #13 from vries at gcc dot gnu.org 2011-10-13 11:18:14 UTC ---
Author: vries
Revision: 179655
Modified property: svn:log

Modified: svn:log at Thu Oct 13 11:18:09 2011
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu Oct 13 11:18:09 2011
@@ -2,16 +2,33 @@

     PR middle-end/50527
     * tree.c (build_common_builtin_nodes): Add local_define_builtin for
+    BUILT_IN_ALLOCA_WITH_ALIGN.  Mark that BUILT_IN_ALLOCA_WITH_ALIGN can
+    throw.
     * builtins.c (expand_builtin_alloca): Handle BUILT_IN_ALLOCA_WITH_ALIGN
+    arglist.  Set align for    BUILT_IN_ALLOCA_WITH_ALIGN.
+    (expand_builtin): Handle BUILT_IN_ALLOCA_WITH_ALIGN.
+    (is_inexpensive_builtin): Handle BUILT_IN_ALLOCA_WITH_ALIGN.
     * tree-ssa-ccp.c (evaluate_stmt): Set align for
+    BUILT_IN_ALLOCA_WITH_ALIGN.
+    (fold_builtin_alloca_for_var): Rename to ...
+    (fold_builtin_alloca_with_align): Set DECL_ALIGN from 2nd
+    BUILT_IN_ALLOCA_WITH_ALIGN argument.
+    (ccp_fold_stmt): Try folding BUILT_IN_ALLOCA_WITH_ALIGN using
+    fold_builtin_alloca_with_align.
+    (optimize_stack_restore): Handle BUILT_IN_ALLOCA_WITH_ALIGN.
     * builtins.def (BUILT_IN_ALLOCA_WITH_ALIGN): Declare using
+    DEF_BUILTIN_STUB.
     * ipa-pure-const.c (special_builtin_state): Handle
+    BUILT_IN_ALLOCA_WITH_ALIGN.
     * tree-ssa-alias.c (ref_maybe_used_by_call_p_1)
+    (call_may_clobber_ref_p_1): Same.
     * function.c (gimplify_parameters): Lower vla to
+    BUILT_IN_ALLOCA_WITH_ALIGN.
     * gimplify.c (gimplify_vla_decl): Same.
     * cfgexpand.c (expand_call_stmt): Handle BUILT_IN_ALLOCA_WITH_ALIGN.
     * tree-mudflap.c (mf_xform_statements): Same.
     * tree-ssa-dce.c (mark_stmt_if_obviously_necessary)
+    (mark_all_reaching_defs_necessary_1, propagate_necessity): Same.
     * varasm.c (incorporeal_function_p): Same.
     * tree-object-size.c (alloc_object_size): Same.
     * gimple.c (gimple_build_call_from_tree): Same.


      parent reply	other threads:[~2011-10-13 11:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26 14:48 [Bug middle-end/50527] New: " vries at gcc dot gnu.org
2011-09-26 15:13 ` [Bug middle-end/50527] " rguenth at gcc dot gnu.org
2011-09-26 15:30 ` rguenth at gcc dot gnu.org
2011-09-27  9:29 ` vries at gcc dot gnu.org
2011-09-27 10:06 ` vries at gcc dot gnu.org
2011-09-27 10:08 ` rguenther at suse dot de
2011-09-27 11:11 ` vries at gcc dot gnu.org
2011-09-27 11:25 ` rguenther at suse dot de
2011-09-27 13:47 ` vries at gcc dot gnu.org
2011-10-07 12:50 ` vries at gcc dot gnu.org
2011-10-07 12:51 ` vries at gcc dot gnu.org
2011-10-07 13:38 ` vries at gcc dot gnu.org
2011-10-13 11:10 ` vries at gcc dot gnu.org
2011-10-13 11:18 ` vries at gcc dot gnu.org [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-50527-4-QCMTMnTnRb@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).