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
0daa67d1
Commit
0daa67d1
authored
Feb 02, 1999
by
Theodore Papadopoulo
Committed by
Jeff Law
Feb 02, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c (lang_decode_option): Use read_integral_parameter.
From-SVN: r24986
parent
132e01b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
26 deletions
+8
-26
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl2.c
+4
-26
No files found.
gcc/cp/ChangeLog
View file @
0daa67d1
Tue Feb 2 22:38:48 1999 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* decl2.c (lang_decode_option): Use read_integral_parameter.
1999-02-01 Mark Mitchell <mark@markmitchell.com>
1999-02-01 Mark Mitchell <mark@markmitchell.com>
* pt.c (tsubst, case TYPENAME_TYPE): Check TYPE_BEING_DEFINED
* pt.c (tsubst, case TYPENAME_TYPE): Check TYPE_BEING_DEFINED
...
...
gcc/cp/decl2.c
View file @
0daa67d1
...
@@ -601,35 +601,13 @@ lang_decode_option (argc, argv)
...
@@ -601,35 +601,13 @@ lang_decode_option (argc, argv)
}
}
else
if
(
!
strncmp
(
p
,
"template-depth-"
,
15
))
else
if
(
!
strncmp
(
p
,
"template-depth-"
,
15
))
{
{
char
*
endp
=
p
+
15
;
max_tinst_depth
=
while
(
*
endp
)
read_integral_parameter
(
p
+
15
,
p
-
2
,
max_tinst_depth
);
{
if
(
*
endp
>=
'0'
&&
*
endp
<=
'9'
)
endp
++
;
else
{
error
(
"Invalid option `%s'"
,
p
-
2
);
goto
template_depth_lose
;
}
}
max_tinst_depth
=
atoi
(
p
+
15
);
template_depth_lose:
;
}
}
else
if
(
!
strncmp
(
p
,
"name-mangling-version-"
,
22
))
else
if
(
!
strncmp
(
p
,
"name-mangling-version-"
,
22
))
{
{
char
*
endp
=
p
+
22
;
name_mangling_version
=
while
(
*
endp
)
read_integral_parameter
(
p
+
22
,
p
-
2
,
name_mangling_version
);
{
if
(
*
endp
>=
'0'
&&
*
endp
<=
'9'
)
endp
++
;
else
{
error
(
"Invalid option `%s'"
,
p
-
2
);
goto
mangling_version_lose
;
}
}
name_mangling_version
=
atoi
(
p
+
22
);
mangling_version_lose:
;
}
}
else
for
(
j
=
0
;
else
for
(
j
=
0
;
!
found
&&
j
<
sizeof
(
lang_f_options
)
/
sizeof
(
lang_f_options
[
0
]);
!
found
&&
j
<
sizeof
(
lang_f_options
)
/
sizeof
(
lang_f_options
[
0
]);
...
...
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