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
7113a160
Commit
7113a160
authored
Feb 16, 2000
by
Alexandre Oliva
Committed by
Alexandre Oliva
Feb 16, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cpplib.c (do_line): Pedwarn for #line > 32767.
From-SVN: r32006
parent
4082292a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/ChangeLog
+2
-0
gcc/cpplib.c
+1
-1
No files found.
gcc/ChangeLog
View file @
7113a160
2000
-
02
-
16
Alexandre
Oliva
<
oliva
@lsd
.
ic
.
unicamp
.
br
>
*
cpplib
.
c
(
do_line
)
:
Pedwarn
for
#
line
>
32767
.
*
c
-
lex
.
c
(
readescape
)
:
Warn
about
'\x'
,
but
do
not
reject
it
.
2000
-
02
-
15
Jonathan
Larmour
<
jlarmour
@redhat
.
co
.
uk
>
...
...
gcc/cpplib.c
View file @
7113a160
...
...
@@ -1346,7 +1346,7 @@ do_line (pfile, keyword)
}
CPP_SET_WRITTEN
(
pfile
,
old_written
);
if
(
CPP_PEDANTIC
(
pfile
)
&&
new_lineno
<=
0
)
if
(
CPP_PEDANTIC
(
pfile
)
&&
(
new_lineno
<=
0
||
new_lineno
>
32767
)
)
cpp_pedwarn
(
pfile
,
"line number out of range in `#line' command"
);
token
=
get_directive_token
(
pfile
);
...
...
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