public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/43958] FAIL: gcc.dg/ipa/ipa-pta-10.c scan-ipa-dump pta "ESCAPED = { }"
Date: Wed, 30 Jun 2010 08:28:00 -0000	[thread overview]
Message-ID: <20100630082749.31589.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43958-276@http.gcc.gnu.org/bugzilla/>



------- Comment #8 from rguenth at gcc dot gnu dot org  2010-06-30 08:27 -------
Can you, instead of

      /* Copied from va-pa.h, but we probably don't need to align to
         word size, since we generate and preserve that invariant.  */
      u = size_int (size > 4 ? -8 : -4);
      t = fold_convert (sizetype, t);
      t = build2 (BIT_AND_EXPR, sizetype, t, u);
      t = fold_convert (valist_type, t);

use

      u = build_int_cst (TREE_TYPE (t), (HOST_WIDE_INT)(size > 4 ? -8 : -4));
      t = build2 (BIT_AND_EXPR, TREE_TYPE (t), t, u);
      t = fold_convert (valist_type, t);

thus, perform the AND in pointer types?  This is what I am going to do
to replace REALIGN_INDIRECT_REF with and teach PTA about this (so to not
pessimize hppa here).

Mine for now - I'll ping you when infrastructure is ready to deal with
pointer BIT_AND_EXPRs.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-05-02 15:28:17         |2010-06-30 08:27:49
               date|                            |


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


  parent reply	other threads:[~2010-06-30  8:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-02  0:21 [Bug middle-end/43958] New: " danglin at gcc dot gnu dot org
2010-05-02 15:28 ` [Bug middle-end/43958] " rguenth at gcc dot gnu dot org
2010-05-02 15:28 ` rguenth at gcc dot gnu dot org
2010-05-04  0:27 ` dave at hiauly1 dot hia dot nrc dot ca
2010-05-05 14:24 ` rguenth at gcc dot gnu dot org
2010-05-21 10:31 ` [Bug target/43958] " rguenth at gcc dot gnu dot org
2010-06-30  0:24 ` danglin at gcc dot gnu dot org
2010-06-30  8:28 ` rguenth at gcc dot gnu dot org [this message]
2010-06-30 14:07 ` dave at hiauly1 dot hia dot nrc dot ca
2010-06-30 14:13 ` rguenth at gcc dot gnu dot org
2010-07-02 15:50 ` dave at hiauly1 dot hia dot nrc dot ca
2010-07-02 15:56 ` rguenth at gcc dot gnu dot org
2010-07-02 20:52 ` danglin at gcc dot gnu dot org
2010-07-02 20:58 ` danglin at gcc dot gnu dot org

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=20100630082749.31589.qmail@sourceware.org \
    --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).