Hi,
On Thu, 14 Apr 2011, H.J. Lu wrote:
> >> > + if (align > DECL_ALIGN (decl))
> >> > + DECL_ALIGN (decl) = align;
> >>
> >> Shouldn't this unconditionally set DECL_ALIGN in case
> >> LOCAL_DECL_ALINGMENT returns something smaller?
> >
> > Decreasing alignment of DECLs points to a problem el
On Thu, Apr 14, 2011 at 5:48 PM, H.J. Lu wrote:
> On Thu, Apr 14, 2011 at 8:26 AM, Michael Matz wrote:
>> Hi,
>>
>> On Thu, 14 Apr 2011, Richard Guenther wrote:
>>
>>> > + if (align > DECL_ALIGN (decl))
>>> > + DECL_ALIGN (decl) = align;
>>>
>>> Shouldn't this unconditionally set DECL_ALIGN i
On Thu, Apr 14, 2011 at 8:26 AM, Michael Matz wrote:
> Hi,
>
> On Thu, 14 Apr 2011, Richard Guenther wrote:
>
>> > + if (align > DECL_ALIGN (decl))
>> > + DECL_ALIGN (decl) = align;
>>
>> Shouldn't this unconditionally set DECL_ALIGN in case
>> LOCAL_DECL_ALINGMENT returns something smaller?
>
Hi,
On Thu, 14 Apr 2011, Richard Guenther wrote:
> > + if (align > DECL_ALIGN (decl))
> > + DECL_ALIGN (decl) = align;
>
> Shouldn't this unconditionally set DECL_ALIGN in case
> LOCAL_DECL_ALINGMENT returns something smaller?
Decreasing alignment of DECLs points to a problem elsewhere, so
On Thu, Apr 14, 2011 at 4:27 PM, H.J. Lu wrote:
> On Thu, Apr 14, 2011 at 7:09 AM, Richard Guenther
> wrote:
>> On Thu, Apr 14, 2011 at 4:01 PM, H.J. Lu wrote:
>>> On Thu, Apr 14, 2011 at 6:57 AM, Richard Guenther
>>> wrote:
On Thu, Apr 14, 2011 at 3:34 PM, H.J. Lu wrote:
> We have
>>
On Thu, Apr 14, 2011 at 7:09 AM, Richard Guenther
wrote:
> On Thu, Apr 14, 2011 at 4:01 PM, H.J. Lu wrote:
>> On Thu, Apr 14, 2011 at 6:57 AM, Richard Guenther
>> wrote:
>>> On Thu, Apr 14, 2011 at 3:34 PM, H.J. Lu wrote:
We have
static unsigned int
get_decl_align_unit (tree
On Thu, Apr 14, 2011 at 4:01 PM, H.J. Lu wrote:
> On Thu, Apr 14, 2011 at 6:57 AM, Richard Guenther
> wrote:
>> On Thu, Apr 14, 2011 at 3:34 PM, H.J. Lu wrote:
>>> We have
>>>
>>> static unsigned int
>>> get_decl_align_unit (tree decl)
>>> {
>>> unsigned int align = LOCAL_DECL_ALIGNMENT (decl);
On Thu, Apr 14, 2011 at 6:57 AM, Richard Guenther
wrote:
> On Thu, Apr 14, 2011 at 3:34 PM, H.J. Lu wrote:
>> We have
>>
>> static unsigned int
>> get_decl_align_unit (tree decl)
>> {
>> unsigned int align = LOCAL_DECL_ALIGNMENT (decl);
>> return align / BITS_PER_UNIT;
>> }
>>
>> LOCAL_DECL_ALI
On Thu, Apr 14, 2011 at 3:34 PM, H.J. Lu wrote:
> We have
>
> static unsigned int
> get_decl_align_unit (tree decl)
> {
> unsigned int align = LOCAL_DECL_ALIGNMENT (decl);
> return align / BITS_PER_UNIT;
> }
>
> LOCAL_DECL_ALIGNMENT may increase alignment for local variable. But it is
> never s
We have
static unsigned int
get_decl_align_unit (tree decl)
{
unsigned int align = LOCAL_DECL_ALIGNMENT (decl);
return align / BITS_PER_UNIT;
}
LOCAL_DECL_ALIGNMENT may increase alignment for local variable. But it is
never saved. DECL_ALIGN (decl) returns the old alignment. This patch
upd
10 matches
Mail list logo