mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 22:50:16 +08:00
semantics.c (finish_asm_stmt): Revert my 1998-09-28 change.
* semantics.c (finish_asm_stmt): Revert my 1998-09-28 change. From-SVN: r22924
This commit is contained in:
parent
dfa8a4ddfd
commit
6e9438cf7c
@ -1,3 +1,8 @@
|
|||||||
|
Thu Oct 8 15:58:30 1998 Anthony Green <green@cygnus.com>
|
||||||
|
|
||||||
|
* semantics.c (finish_asm_stmt): Revert my 1998-09-28
|
||||||
|
change.
|
||||||
|
|
||||||
Thu Oct 8 06:00:19 1998 Jeffrey A Law (law@cygnus.com)
|
Thu Oct 8 06:00:19 1998 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* typeck.c (unsigned_type): Only return TItype nodes when
|
* typeck.c (unsigned_type): Only return TItype nodes when
|
||||||
|
@ -730,19 +730,29 @@ finish_asm_stmt (cv_qualifier, string, output_operands,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
emit_line_note (input_filename, lineno);
|
emit_line_note (input_filename, lineno);
|
||||||
|
if (output_operands != NULL_TREE || input_operands != NULL_TREE
|
||||||
if (cv_qualifier != NULL_TREE
|
|| clobbers != NULL_TREE)
|
||||||
&& cv_qualifier != ridpointers[(int) RID_VOLATILE])
|
{
|
||||||
cp_warning ("%s qualifier ignored on asm",
|
if (cv_qualifier != NULL_TREE
|
||||||
IDENTIFIER_POINTER (cv_qualifier));
|
&& 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);
|
||||||
|
}
|
||||||
|
|
||||||
c_expand_asm_operands (string, output_operands,
|
|
||||||
input_operands,
|
|
||||||
clobbers,
|
|
||||||
cv_qualifier
|
|
||||||
== ridpointers[(int) RID_VOLATILE],
|
|
||||||
input_filename, lineno);
|
|
||||||
|
|
||||||
finish_stmt ();
|
finish_stmt ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user