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
a64c757e
Commit
a64c757e
authored
Sep 28, 1998
by
Anthony Green
Committed by
Anthony Green
Sep 28, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* semantics.c (finish_asm_stmt): Always permit volatile asms.
From-SVN: r22632
parent
630962bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
22 deletions
+16
-22
gcc/cp/ChangeLog
+4
-0
gcc/cp/semantics.c
+12
-22
No files found.
gcc/cp/ChangeLog
View file @
a64c757e
1998-09-28 Anthony Green <green@cygnus.com>
* semantics.c (finish_asm_stmt): Always permit volatile asms.
1998-09-28 Mark Mitchell <mark@markmitchell.com>
* decl.c (grokdeclarator): Tighten checks for invalid
...
...
gcc/cp/semantics.c
View file @
a64c757e
...
...
@@ -730,28 +730,18 @@ finish_asm_stmt (cv_qualifier, string, output_operands,
else
{
emit_line_note
(
input_filename
,
lineno
);
if
(
output_operands
!=
NULL_TREE
||
input_operands
!=
NULL_TREE
||
clobbers
!=
NULL_TREE
)
{
if
(
cv_qualifier
!=
NULL_TREE
&&
cv_qualifier
!=
ridpointers
[(
int
)
RID_VOLATILE
])
cp_warning
(
"%s qualifier ignored on asm"
,
IDENTIFIER_POINTER
(
cv_qualifier
));
c_expand_asm_operands
(
string
,
output_operands
,
input_operands
,
clobbers
,
cv_qualifier
==
ridpointers
[(
int
)
RID_VOLATILE
],
input_filename
,
lineno
);
}
else
{
if
(
cv_qualifier
!=
NULL_TREE
)
cp_warning
(
"%s qualifier ignored on asm"
,
IDENTIFIER_POINTER
(
cv_qualifier
));
expand_asm
(
string
);
}
if
(
cv_qualifier
!=
NULL_TREE
&&
cv_qualifier
!=
ridpointers
[(
int
)
RID_VOLATILE
])
cp_warning
(
"%s qualifier ignored on asm"
,
IDENTIFIER_POINTER
(
cv_qualifier
));
c_expand_asm_operands
(
string
,
output_operands
,
input_operands
,
clobbers
,
cv_qualifier
==
ridpointers
[(
int
)
RID_VOLATILE
],
input_filename
,
lineno
);
finish_stmt
();
}
...
...
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