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

Issue 4801090: Linemap force location and remove LINEMAP_POSITION_FOR_COLUMN (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Gabriel Charette
Modified:
12 years, 8 months ago
Reviewers:
Lawrence Crowl, richard.guenther, dodji, tromey, burnus, Diego Novillo
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Linemap force location and remove LINEMAP_POSITION_FOR_COLUMN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -9 lines) Patch
M gcc/c-family/c-opts.c View 1 1 chunk +10 lines, -5 lines 0 comments Download
M gcc/fortran/cpp.c View 1 1 chunk +10 lines, -2 lines 0 comments Download
M libcpp/include/cpplib.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M libcpp/init.c View 1 1 chunk +3 lines, -0 lines 0 comments Download
M libcpp/internal.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M libcpp/lex.c View 1 2 chunks +21 lines, -2 lines 0 comments Download

Messages

Total messages: 19
Gabriel Charette
There was a bug where c_finish_options would create some builtins and assign them source_locations in ...
12 years, 8 months ago (2011-08-10 18:22:56 UTC) #1
Gabriel Charette
Tested with bootstrap and full regression testing on x64. On Wed, Aug 10, 2011 at ...
12 years, 8 months ago (2011-08-10 18:29:08 UTC) #2
richard.guenther_gmail.com
On Wed, Aug 10, 2011 at 8:22 PM, Gabriel Charette <gchare@google.com> wrote: > There was ...
12 years, 8 months ago (2011-08-11 07:27:59 UTC) #3
Diego Novillo
On Thu, Aug 11, 2011 at 03:27, Richard Guenther <richard.guenther@gmail.com> wrote: > On Wed, Aug ...
12 years, 8 months ago (2011-08-11 13:01:49 UTC) #4
richard.guenther_gmail.com
On Thu, Aug 11, 2011 at 3:01 PM, Diego Novillo <dnovillo@google.com> wrote: > On Thu, ...
12 years, 8 months ago (2011-08-11 13:32:20 UTC) #5
Diego Novillo
On Thu, Aug 11, 2011 at 09:32, Richard Guenther <richard.guenther@gmail.com> wrote: > Well, they both ...
12 years, 8 months ago (2011-08-11 13:37:30 UTC) #6
Gabriel Charette
On Thu, Aug 11, 2011 at 7:22 AM, Dodji Seketeli <dodji@seketeli.org> wrote: > Hello, > ...
12 years, 8 months ago (2011-08-11 16:52:17 UTC) #7
Gabriel Charette
On Thu, Aug 11, 2011 at 12:27 AM, Richard Guenther <richard.guenther@gmail.com> wrote: > On Wed, ...
12 years, 8 months ago (2011-08-11 16:54:24 UTC) #8
richard.guenther_gmail.com
On Thu, Aug 11, 2011 at 6:54 PM, Gabriel Charette <gchare@google.com> wrote: > On Thu, ...
12 years, 8 months ago (2011-08-11 17:14:27 UTC) #9
dodji_seketeli.org
Gabriel Charette <gchare@google.com> a écrit: > On Thu, Aug 11, 2011 at 12:27 AM, Richard ...
12 years, 8 months ago (2011-08-11 17:15:26 UTC) #10
dodji_seketeli.org
Gabriel Charette <gchare@google.com> a écrit: > That could work given _cpp_lex_direct does receive a cpp_reader ...
12 years, 8 months ago (2011-08-11 17:45:18 UTC) #11
Gabriel Charette
On Thu, Aug 11, 2011 at 10:14 AM, Richard Guenther <richard.guenther@gmail.com> wrote: > On Thu, ...
12 years, 8 months ago (2011-08-11 18:04:01 UTC) #12
Gabriel Charette
On Thu, Aug 11, 2011 at 10:45 AM, Dodji Seketeli <dodji@seketeli.org> wrote: >> As I ...
12 years, 8 months ago (2011-08-11 19:59:49 UTC) #13
Gabriel Charette
> I also removed LINEMAP_POSITION_FOR_COLUMN, it did the EXACT same thing as linemap_position_for_column, so maintaining ...
12 years, 8 months ago (2011-08-11 20:54:20 UTC) #14
Gabriel Charette
Here is the updated patch. It nows exposes two libcpp functions to force the source_location ...
12 years, 8 months ago (2011-08-16 00:37:33 UTC) #15
dodji_seketeli.org
Hello Gabriel, gchare@google.com (Gabriel Charette) a écrit: > Here is the updated patch. > > ...
12 years, 8 months ago (2011-08-17 20:04:29 UTC) #16
Gabriel Charette
Tom: ok for trunk? fortran@: The fortran change just reflects the fix from libcpp, fortran ...
12 years, 8 months ago (2011-08-18 16:47:36 UTC) #17
burnus
On 08/18/2011 06:47 PM, Gabriel Charette wrote: > Tom: ok for trunk? > > fortran@: ...
12 years, 8 months ago (2011-08-18 17:11:57 UTC) #18
tromey_redhat.com
12 years, 8 months ago (2011-08-19 16:21:32 UTC) #19
>>>>> "Gabriel" == Gabriel Charette <gchare@google.com> writes:

Gabriel> It nows exposes two libcpp functions to force the
Gabriel> source_location for tokens when desired.

I am not really a fan of this approach, but I see why you did it this
way -- anything else would be very invasive.

I can only approve the libcpp parts.

Gabriel> +void cpp_force_token_locations (cpp_reader *r, source_location *p)

Newline after "void".

Gabriel> +void cpp_stop_forcing_token_locations (cpp_reader *r)

Likewise.

The libcpp parts are ok with those changes.

Tom
Sign in to reply to this message.

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