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
70b16073
Commit
70b16073
authored
Sep 12, 2003
by
Mike Stump
Committed by
Per Bothner
Sep 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.
From-SVN: r71328
parent
030612a1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
gcc/ChangeLog
+4
-0
gcc/c-lex.c
+2
-4
No files found.
gcc/ChangeLog
View file @
70b16073
2003-09-11 Mike Stump <mrs@apple.com>
* c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.
2003-09-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (fold_builtin_logarithm): if N can't be truncated to
...
...
gcc/c-lex.c
View file @
70b16073
...
...
@@ -212,8 +212,6 @@ cb_dir_change (cpp_reader *pfile ATTRIBUTE_UNUSED, const char *dir)
void
fe_file_change
(
const
struct
line_map
*
new_map
)
{
unsigned
int
to_line
=
SOURCE_LINE
(
new_map
,
new_map
->
to_line
);
if
(
new_map
->
reason
==
LC_ENTER
)
{
/* Don't stack the main buffer on the input stack;
...
...
@@ -250,13 +248,13 @@ fe_file_change (const struct line_map *new_map)
#endif
pop_srcloc
();
(
*
debug_hooks
->
end_source_file
)
(
to_line
);
(
*
debug_hooks
->
end_source_file
)
(
new_map
->
to_line
);
}
update_header_times
(
new_map
->
to_file
);
in_system_header
=
new_map
->
sysp
!=
0
;
input_filename
=
new_map
->
to_file
;
input_line
=
to_line
;
input_line
=
new_map
->
to_line
;
map
=
new_map
;
/* Hook for C++. */
...
...
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