Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(916)

Issue 4444051: Allow union variables to share stack slots wwith -fno-strict-aliasing

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by eraman
Modified:
13 years, 8 months ago
Reviewers:
richard.guenther, ebotcazou
CC:
Diego Novillo, gcc-patches_gcc.gnu.org
Base URL:
svn://gcc.gnu.org/svn/gcc/trunk/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -2 lines) Patch
M gcc/cfgexpand.c View 1 chunk +3 lines, -2 lines 0 comments Download
A gcc/testsuite/gcc.dg/stack-layout-1.c View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 4
eraman
Hi, This patch allows variables whose type transitively contains a union to share stack slots ...
13 years, 8 months ago (2011-04-20 00:42:13 UTC) #1
richard.guenther_gmail.com
On Wed, Apr 20, 2011 at 2:42 AM, Easwaran Raman <eraman@google.com> wrote: > Hi, > ...
13 years, 8 months ago (2011-04-20 09:07:04 UTC) #2
ebotcazou_adacore.com
> 2011-04-19 Easwaran Raman <eraman@google.com> > > * gcc/testsuite/gcc.dg/stack-layout-1.c: New > * gcc/cfgexpand.c (add_alias_set_conflicts): Add ...
13 years, 8 months ago (2011-04-20 09:18:40 UTC) #3
eraman
13 years, 8 months ago (2011-04-20 18:36:19 UTC) #4
On Wed, Apr 20, 2011 at 2:12 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> 2011-04-19  Easwaran Raman  <eraman@google.com>
>>
>>       * gcc/testsuite/gcc.dg/stack-layout-1.c: New
>>       * gcc/cfgexpand.c (add_alias_set_conflicts): Add conflicts
>>       with a variable containing union type only with
>>       -fstrict-aliasing.
>
> You need an entry for each relevant ChangeLog, without prefixes:
>
>
> 2011-04-20  Easwaran Raman  <eraman@google.com>
>
>        * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable
>        containing union type only with -fstrict-aliasing.
>
>
> 2011-04-20  Easwaran Raman  <eraman@google.com>
>
>        * gcc.dg/stack-layout-1.c: New test.
>
>
> --
> Eric Botcazou
>

Thanks. I've added them to the respective Changelog files and
committed the patch.

-Easwaran
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b