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

Issue 4550064: [pph] Various Tree Fields (Closed)

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

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -11 lines) Patch
M gcc/cp/pph-streamer-in.c View 4 chunks +95 lines, -1 line 1 comment Download
M gcc/cp/pph-streamer-out.c View 4 chunks +93 lines, -2 lines 0 comments Download
A gcc/testsuite/g++.dg/pph/c1funcstatic.h View 1 chunk +7 lines, -0 lines 0 comments Download
A gcc/testsuite/g++.dg/pph/c1funcstatic.cc View 1 chunk +2 lines, -0 lines 0 comments Download
D gcc/testsuite/g++.dg/pph/x1funcstatic.h View 1 chunk +0 lines, -7 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/x1funcstatic.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
Lawrence Crowl
Split C++ test x1funcstatic.cc into a C test and a C++ test. Stream out and ...
12 years, 11 months ago (2011-05-20 21:09:04 UTC) #1
Diego Novillo
On Fri, May 20, 2011 at 17:09, Lawrence Crowl <crowl@google.com> wrote: > Split C++ test ...
12 years, 11 months ago (2011-05-20 21:55:45 UTC) #2
Diego Novillo
http://codereview.appspot.com/4550064/diff/1/gcc/cp/pph-streamer-in.c File gcc/cp/pph-streamer-in.c (right): http://codereview.appspot.com/4550064/diff/1/gcc/cp/pph-streamer-in.c#newcode251 gcc/cp/pph-streamer-in.c:251: { +static VEC(qualified_typedef_usage_t,gc) * +pph_stream_read_qual_use_vec (pph_stream *stream) +{ This ...
12 years, 11 months ago (2011-05-20 22:11:52 UTC) #3
Lawrence Crowl
12 years, 11 months ago (2011-05-24 21:41:05 UTC) #4
On 5/20/11, dnovillo@google.com <dnovillo@google.com> wrote:
>
> http://codereview.appspot.com/4550064/diff/1/gcc/cp/pph-streamer-in.c
> File gcc/cp/pph-streamer-in.c (right):
>
>
http://codereview.appspot.com/4550064/diff/1/gcc/cp/pph-streamer-in.c#newcode251
> gcc/cp/pph-streamer-in.c:251: {
> +static VEC(qualified_typedef_usage_t,gc) *
> +pph_stream_read_qual_use_vec (pph_stream *stream)
> +{
>
> This breaks bootstrap.  This function is never used.  I think you meant
> to call it from the TEMPLATE_INFO handler, right?
>
> Does this look like the right fix?
>
>
> diff --git a/gcc/cp/pph-streamer-in.c b/gcc/cp/pph-streamer-in.c
> index d40fd17..c426466 100644
> --- a/gcc/cp/pph-streamer-in.c
> +++ b/gcc/cp/pph-streamer-in.c
> @@ -904,7 +904,7 @@ pph_stream_read_tree (struct lto_input_block *ib
> ATTRIBUTE_UNUSED,
>     else if (TREE_CODE (expr) == TEMPLATE_INFO)
>       {
>         TI_TYPEDEFS_NEEDING_ACCESS_CHECKING (expr)
> -          = pph_stream_read_tree_vec (stream);
> +          = pph_stream_read_qual_use_vec (stream);
>       }
>     else if (TREE_CODE (expr) == TREE_LIST)
>       ; /* FIXME pph: already handled?  */
>
> http://codereview.appspot.com/4550064/
>

LGTM

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

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