This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PATCH for Re: cp/semantics.c is broken.
- To: hjl at lucon dot org
- Subject: PATCH for Re: cp/semantics.c is broken.
- From: Mark Mitchell <mmitchell at usa dot net>
- Date: Thu, 19 Mar 1998 18:54:14 -0800
- CC: egcs at cygnus dot com
- References: <m0yFkMr-00058iC@ocean.lucon.org>
- Reply-to: mmitchell at usa dot net
Here's a patch. Jason, is this OK?
--
Mark Mitchell <mmitchell@usa.net>
http://home.earthlink.net/~mbmitchell
Consulting Services Available
Thu Mar 19 18:52:38 1998 Mark Mitchell <mmitchell@usa.net>
* semantics.c (finish_asm_stmt): Correct mishandling of asm's with
some omitted fields.
Index: semantics.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/semantics.c,v
retrieving revision 1.1
diff -c -p -r1.1 semantics.c
*** semantics.c 1998/03/18 10:51:59 1.1
--- semantics.c 1998/03/20 02:50:43
*************** finish_asm_stmt (cv_qualifier, string, o
*** 721,727 ****
else
{
emit_line_note (input_filename, lineno);
! if (output_operands != NULL_TREE)
{
if (cv_qualifier != NULL_TREE
&& cv_qualifier != ridpointers[(int) RID_VOLATILE])
--- 721,729 ----
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])