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

Issue 4441079: [pph] Save/restore PARM_DECL DECL_ARG_TYPE (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Lawrence Crowl
Modified:
11 years, 11 months ago
Reviewers:
richard.guenther, Diego Novillo
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/pph/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M gcc/cp/pph-streamer-in.c View 1 chunk +2 lines, -0 lines 0 comments Download
M gcc/cp/pph-streamer-out.c View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4
Lawrence Crowl
This patch saves and restores the PARM_DECL DECL_ARG_TYPE in the PPH file. Index: gcc/cp/ChangeLog.pph 2011-04-28 ...
13 years ago (2011-04-29 01:10:56 UTC) #1
richard.guenther_gmail.com
On Fri, Apr 29, 2011 at 3:10 AM, Lawrence Crowl <crowl@google.com> wrote: > This patch ...
13 years ago (2011-04-29 08:29:56 UTC) #2
Diego Novillo
On Fri, Apr 29, 2011 at 04:29, Richard Guenther <richard.guenther@gmail.com> wrote: > On Fri, Apr ...
13 years ago (2011-04-29 13:01:21 UTC) #3
Lawrence Crowl
13 years ago (2011-04-29 21:34:04 UTC) #4
On 4/29/11, Diego Novillo <dnovillo@google.com> wrote:
> On Apr 29, 2011 Richard Guenther <richard.guenther@gmail.com> wrote:
> > On Apr 29, 2011 Lawrence Crowl <crowl@google.com> wrote:
> > > This patch saves and restores the PARM_DECL DECL_ARG_TYPE in the
> > > PPH file.
> >
> > Should be already streamed via lto_output_ts_decl_common_tree_pointers
> > as it is aliased to DECL_INITIAL.
>
> No, I moved the streaming of DECL_INITIAL to a streamer hook because
> in the gimple case we do more than streaming the initial value.  We
> get the varpool node for the symbol and only stream the initial value
> if we can find it.
>
> Lawrence, I think we should just simply stream DECL_INITIAL in the
> DECL_P case.  We are missing initializer expressions in every
> variable, otherwise.

Done.  It seems to have fixed one more unexpected failure.

-- 
Lawrence Crowl
Sign in to reply to this message.

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