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
29cb1e1f
Commit
29cb1e1f
authored
27 years ago
by
Nick Clifton
Committed by
Nick Clifton
27 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent going into an infinite loop upon encountering an enuterminated comment.
From-SVN: r19082
parent
3f518020
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+5
-0
gcc/rtl.c
+3
-2
No files found.
gcc/ChangeLog
View file @
29cb1e1f
Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
* rtl.c (read_skip_spaces): Prevent infinite loops upon
encountering unterminated comments.
Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
* emit-rtl.c (operand_subword): Properly handle CONST_INTs for
...
...
This diff is collapsed.
Click to expand it.
gcc/rtl.c
View file @
29cb1e1f
...
...
@@ -496,7 +496,8 @@ read_skip_spaces (infile)
;
else
if
(
c
==
';'
)
{
while
((
c
=
getc
(
infile
))
&&
c
!=
'\n'
)
;
while
((
c
=
getc
(
infile
))
&&
c
!=
'\n'
&&
c
!=
EOF
)
;
}
else
if
(
c
==
'/'
)
{
...
...
@@ -506,7 +507,7 @@ read_skip_spaces (infile)
dump_and_abort
(
'*'
,
c
,
infile
);
prevc
=
0
;
while
((
c
=
getc
(
infile
)))
while
((
c
=
getc
(
infile
))
&&
c
!=
EOF
)
{
if
(
prevc
==
'*'
&&
c
==
'/'
)
break
;
...
...
This diff is collapsed.
Click to expand it.
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