public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Eric Botcazou <ebotcazou@adacore.com>
To: Richard Biener <rguenther@suse.de>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Fix PR55882
Date: Wed, 09 Jan 2013 20:47:00 -0000	[thread overview]
Message-ID: <1676133.ox1dRSafXZ@polaris> (raw)
In-Reply-To: <alpine.LNX.2.00.1301091254470.6889@zhemvz.fhfr.qr>

> This fixes PR55882 - set_mem_attributes_minus_bitpos misses to
> account for the to-be applied bitpos when computing MEM_ALIGN.
> It extracts alignment from 't' instead of &t - bitpos.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu, bootstrap
> and regtest running on mips.
> 
> Does this look sensible?

I'm not sure, bitpos isn't taken into account in the other cases when the 
alignment is computed.  adjust_address_1 is supposed to properly adjust the 
alignment by the time the offset is applied.

-- 
Eric Botcazou

  reply	other threads:[~2013-01-09 20:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09 12:00 Richard Biener
2013-01-09 20:47 ` Eric Botcazou [this message]
2013-01-10  9:18   ` Richard Biener
2013-01-10 10:05     ` Richard Biener
2013-01-10 10:54       ` Richard Biener
2013-01-10 12:23       ` Eric Botcazou
2013-01-10 13:24         ` Michael Matz
2013-01-10 13:55           ` Richard Biener
2013-01-10 18:53           ` Eric Botcazou
2013-01-11 10:25             ` Richard Biener
2013-01-15 12:49               ` Richard Biener
2013-01-15 14:44                 ` Eric Botcazou
2013-01-15 14:50                   ` Richard Biener
2013-01-15 23:35                     ` Eric Botcazou
2013-01-16  9:27                       ` Richard Biener

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=1676133.ox1dRSafXZ@polaris \
    --to=ebotcazou@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rguenther@suse.de \
    /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).