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

Issue 4379044: [pph] Macro Validation (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by Lawrence Crowl
Modified:
11 years, 11 months ago
Reviewers:
tromey, 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 (+30 lines, -39 lines) Patch
M gcc/cp/pph.c View 0 chunks +20 lines, -7 lines 0 comments Download
A gcc/testsuite/g++.dg/pph/c1chained.cc View 0 chunks +2 lines, -1 line 0 comments Download
D gcc/testsuite/g++.dg/pph/d1chained.cc View 0 chunks +-1 lines, -4 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/d1symnotinc.cc View 0 chunks +-1 lines, -2 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/p1mean.cc View 0 chunks +-1 lines, -1 line 0 comments Download
M gcc/testsuite/g++.dg/pph/p1stdlib.cc View 0 chunks +-1 lines, -1 line 0 comments Download
M libcpp/directives.c View 0 chunks +5 lines, -5 lines 0 comments Download
M libcpp/expr.c View 0 chunks +1 line, -2 lines 0 comments Download
M libcpp/include/cpplib.h View 0 chunks +1 line, -1 line 0 comments Download
M libcpp/include/symtab.h View 0 chunks +5 lines, -4 lines 0 comments Download
M libcpp/internal.h View 0 chunks +-1 lines, -1 line 0 comments Download
M libcpp/macro.c View 0 chunks +2 lines, -2 lines 0 comments Download
M libcpp/symtab.c View 0 chunks +-1 lines, -8 lines 0 comments Download

Messages

Total messages: 4
Lawrence Crowl
In my last PPH change, I eliminated the redundancy in the preprocessor identifier lookaside table ...
13 years, 1 month ago (2011-04-07 17:54:12 UTC) #1
Diego Novillo
On Thu, Apr 7, 2011 at 13:54, Lawrence Crowl <crowl@google.com> wrote: > *************** pth_save_token_cache (cp_token_cache ...
13 years, 1 month ago (2011-04-08 13:36:49 UTC) #2
Lawrence Crowl
On 4/8/11, Diego Novillo <dnovillo@google.com> wrote: > On Thu, Apr 7, 2011 at 13:54, Lawrence ...
13 years, 1 month ago (2011-04-08 18:20:13 UTC) #3
tromey_redhat.com
13 years, 1 month ago (2011-04-08 19:36:24 UTC) #4
>>>>> "Lawrence" == Lawrence Crowl <crowl@google.com> writes:

Diego> Hm, and 5 bits are still enough for directive_index?

Lawrence> Yes there are enough.  I added a comment at the table definition
Lawrence> to ensure that future changes keep it so.

I suggest a static assertion of some kind.  Or in lieu of that, maybe
the field's can be made an enum somehow, and then gcc will do the
checking.

Tom
Sign in to reply to this message.

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