Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
18aa09d1
Commit
18aa09d1
authored
Nov 01, 2007
by
Tom Tromey
Committed by
Tom Tromey
Nov 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* print-tree.c (print_node): Print column number.
From-SVN: r129821
parent
611cd333
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
gcc/ChangeLog
+4
-0
gcc/print-tree.c
+6
-0
No files found.
gcc/ChangeLog
View file @
18aa09d1
2007
-
11
-
01
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
print
-
tree
.
c
(
print_node
):
Print
column
number
.
2007
-
11
-
01
Jakub
Jelinek
<
jakub
@
redhat
.
com
>
PR
debug
/
33537
gcc/print-tree.c
View file @
18aa09d1
...
...
@@ -443,6 +443,9 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
xloc
=
expand_location
(
DECL_SOURCE_LOCATION
(
node
));
fprintf
(
file
,
" file %s line %d"
,
xloc
.
file
,
xloc
.
line
);
#ifdef USE_MAPPED_LOCATION
fprintf
(
file
,
" col %d"
,
xloc
.
column
);
#endif
if
(
CODE_CONTAINS_STRUCT
(
code
,
TS_DECL_COMMON
))
{
...
...
@@ -932,6 +935,9 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
expanded_location
xloc
=
expand_location
(
EXPR_LOCATION
(
node
));
indent_to
(
file
,
indent
+
4
);
fprintf
(
file
,
"%s:%d"
,
xloc
.
file
,
xloc
.
line
);
#ifdef USE_MAPPED_LOCATION
fprintf
(
file
,
":%d"
,
xloc
.
column
);
#endif
}
fprintf
(
file
,
">"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment